Part Number: TMS320F28335
Tool/software: Code Composer Studio
Hello,
I have a similar problem like reported about the ramfuncs feature at my firmware project. I'm using a tms320f28335 device and I moved the project from CCS v6 to CCS v9. During first built I immediately recognized the compiler warning on declared ramfuncs. I'm loading dedicated functions into ram after start of the program. Declaration under CCS v6 were done via #pragma CODE-SECTION directives and ramfuncs section in the project cmd-file. Now I'm in trouble to get the functions loaded into ram under CCS v9. Declaration of the defined functions within the project I changed to __attribute(ramfunc) as mentioned on the wiki page "how to load code from flash into ram". Also I adapted the linker command file with the section qualifier .TI.ramfunc. Compilation of project works so far, but I'm getting an error message while loading the program into the flash. Adress error: 0x4000@Program
When reverting all ramfunc related changes back to CCS v6 version everything works fine, except that no function will be loaded into ram from flash, which loads timing on some of my interrupt tasks. Therefore I need to place some of the functions into the ram.
Thanks for support!
BR, Juergen