This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HERCULES-F021FLASHAPI: Algorithm to erase or program on-chip flash of TMS570LS3137

Part Number: HERCULES-F021FLASHAPI

Hello,

i am using below listed tools/software in development of flash Erase/program application:

CCS version  : 8.0.0

F021 API       : 02.01.01

Emulator        : XDS100 emulator.

PC OS           : Windows 7

below are sequence of steps is used for programming 0x00180000 flash memory:

Fapi_setActiveFlashBank(Fapi_FlashBank1);
Fapi_enableMainBankSectors(0xFFFF);
Fapi_enableEepromBankSectors(0xFFFFFFFF, 0xFFFFFFFF);

Fapi_issueAsyncCommandWithAddress(Fapi_EraseBank,(uint32 *) 0x00180000);

Fapi_issueAsyncCommandWithAddress - autoeccgeneration mode for programming.

i am able to program the memory.

Since i am performing erase/program operation on Bank1, i do not require to enable EEPROM ban sectors so excluded "Fapi_enableEepromBankSectors" line from above mentioned sequence. i am not able see the program data in memory browser. what could be the reason for this?

 

thanks in advance.

Regards,

Kalyan