Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE
Hello,
I add FLASH api library(F021_API_F28004x_FPU32.lib) in the pfc1ph3ilttpl_F28004x project, the device is TMS320F280049C, the whole project code( APP cde) is allocated in sector 1~ sector 5 of bank1, and will change the contents in sector15 of bank1 once the change condition meets. now, I found that, the APP code is run away when call the Fapi_setActiveFlashBank(), this function has not be returned. So, I need your help, tks!
see the details as bellow:
1.the FLASH api operation is referred to TI examples: first call the initFlashSectors(), then call FLASH_Erase(0x9000,0x1000), and last call FLASH_Program(0x9FFE8,8) to write data to the address 0x9FFE8.
2. the CMD file as below:
3. initFlashSectors(), FLASH_Erase() and FLASH_Program() are all copy to RAM during running:
4. the out file map as bellow: the RAMM1 has full, does it affect the flash issue?
look forward to your reply, tks






