Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE
I have difficulties with running my application from flash. I followed the instructions of Frank Bormann in this topic.
“… To change your F28377D-project to run from FLASH, there is another option. If you inspect the code in file "F2837x_SysCtrl.c" (function InitSysCtrl()), you will find a conditional Compiler - statement "#ifdef _FLASH". You can define "_FLASH" as a predefined symbol (properties => C2000 Compiler => Advanced Options => Predefined Symbols => Pre-Define NAME). If _FLASH is defined, function "InitSysCtrl" will also call memcpy and InitFlash(). All what is left to do for you is to replace the linker command file "2837x_RAM_lnk_cpu1.cmd" by "2837x_FLASH_lnk_cpu1.cmd". …”
After I did the above changes (_FLASH symbol defined, 2837x_FLASH_lnk_cpu1.cmd us) when I compile the code (Workshop, Lab2) I got the following warning:
Building target: "Lab2_cpu01.out" Invoking: C2000 Linker <Linking> warning #10247-D: creating output section "ramfuncs" without a SECTIONS specification Finished building target: "Lab2_cpu01.out"
When I try to debug it then I got error messages what I do not understand.
C28xx_CPU1: GEL Output: Memory Map Initialization Complete C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device. C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map. C28xx_CPU1: File Loader: Verification failed: Values at address 0x082000@Program do not match Please verify target memory and memory map. C28xx_CPU1: GEL: File: C:\Users\lbala\ccs\workspace_v11\Lab2_cpu01\Debug\Lab2_cpu01.out: a data verification error occurred, file load failed.
What do I do wrong?
Thanks,
Louis
