Author Topic: ABOUT the SPI_SW_UPLOAD and the undefined identifier 'uFILE_START'  (Read 9672 times)

Offline tr111

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
ABOUT the SPI_SW_UPLOAD and the undefined identifier 'uFILE_START'
« 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)); 


Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: ABOUT the SPI_SW_UPLOAD and the undefined identifier 'uFILE_START'
« Reply #1 on: September 20, 2007, 11:15:16 AM »
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

Offline tr111

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: ABOUT the SPI_SW_UPLOAD and the undefined identifier 'uFILE_START'
« Reply #2 on: September 20, 2007, 01:21:08 PM »
thank you!