Other Parts Discussed in Thread: C2000WARE
Hello,
I am using the eZdsp F28335 and have a working application in RAM that I am trying to run from FLASH. I believe I am close to making this happen, however when I power cycle the DSP, it seems that the code does not run. I have some CAN messages being sent to a laptop from the DSP upon booting and they don't send after I power cycle the FLASH loaded project.
I've done three things in attempt to convert the project from RAM to FLASH.
1. Change the SW1 Boot switches to 0000 = Jump to FLASH
2. Added the following commands in my main function:
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);
InitFlash();
3. Used the stock F28335.cmd file used in the FLASH examples.
All of the FLASH sectors are erased/reporgrammed and the code runs fine after debugging. But when I power cycle the device, I don't see my CAN messages being sent to the computer from the DSP and it appears the program isn't running. Is there something I am missing?