µTasker Forum
µTasker Forum => µTasker general => Topic started by: tr111 on September 20, 2007, 08:50:46 AM
-
HELLO:
when I #define SPI_SW_UPLOAD and undef FLASH_FILE_SYSTEM,
it is ERROR!
Error : undefined identifier 'uFILE_START'
M5223X.c line 2089 ptrSector -= (uFILE_START + FILE_SYSTEM_SIZE); // location relative to the start of the SPI FLASH chi
Error : undefined identifier 'uFILE_START'
M5223X.c line 2683 if ((ParLocation >= ((unsigned char *)(uFILE_START + FILE_SYSTEM_SIZE))) && (ParLocation < ((unsigned char *)(uFILE_START +
Error : undefined identifier 'uFILE_START'
M5223X.c line 2716 fnGetParsFile((unsigned char*)(uFILE_START), (unsigned char *)ucValidUse, sizeof(ucValidUse));
Error : undefined identifier 'uFILE_START'
M5223X.c line 2730 fnGetParsFile((unsigned char*)(uFILE_START), (unsigned char *)ucValidUse, sizeof(ucValidUse));
-
Hi
This is normal.
The SPI_SW_UPLOAD doesn't replace the file system and must be used together with FLASH_FILE_SYSTEM.
FLASH_FILE_SYSTEM is required to allow the parameter and file system to operate in internal FLASH. This is (also) needed when SPI_SW_UPLOAD is activated.
If SPI_SW_UPLOAD is not used it is possible to chose between FLASH_FILE_SYSTEM and SPI_FILE_SYSTEM.
Regards
Mark
-
thank you!