Other Parts Discussed in Thread: C2000WARE
Hello,
I am trying to use the Flash API to program the flash over CAN. I can get to the point where it starts erasing Flash and then it erases some code that it needs. I suspect it is some of the function calls in the library. Here is a clip from the memory map.
MODULE SUMMARY
Module code initialized data uninitialized data
------ ---- ---------------- ------------------
C:/ti/C2000Ware_3_04_00_00_Software/libraries/flash_api/f2837xd/lib/F021_API_F2837xD_FPU32.lib
FlashStateMachine.obj 727 0 0
Program.obj 413 0 0
Utilities.obj 114 0 0
Init.obj 52 0 12
Async.obj 32 0 0
+--+--------------------------------+-------+------------------+--------------------+
Total: 1338 0 12
Although I can't seem to find where these are called. Nevertheless, the linker obviously thinks they are needed.
I've tried a couple of different approaches to get these to load into RAM without any success. I've been through spra958l, spraau8a, and spru513v and not sure I've found a way to put these functions in RAM (I'm probably missing something)
So I have basically 2 questions. The first is do you think these library functions should be in RAM? and second, if so, how would one do that?
Thanks
Dave
