Other Parts Discussed in Thread: MOTORWARE,
Hi
I am trying to port my program that runs well in a RAM configuration to a Flash configuration
So I exclude from compilation the
f28069F_ram_lnk.cmd file and replace it with
F28069M.cmd
I still have the
F2806x_Headers_nonBIOS.cmd
in my project for the Peripheral registers
In the beginning of the code I have the
#ifdef _FLASH // Copy time critical code and Flash setup code to RAM // The RamfuncsLoadStart, RamfuncsLoadEnd, and RamfuncsRunStart // symbols are created by the linker. Refer to the linker files. memCopy((uint16_t *)&RamfuncsLoadStart,(uint16_t *)&RamfuncsLoadEnd,(uint16_t *)&RamfuncsRunStart);
now, It compiles and runs (with the debugger)
do I have to replace the lib
IQmath_fpu32.lib
with 2806x_IQmath_BootROMSymbols_fpu32.lib
?
but if I unplug the USB then replug it, it doesn't boot, What is the configuration of the JP BOOT ? J1 J2 J3
Can I still use GUI with FLASH activated ?
Any clue appart from reading the
Running_from_Flash_spra958l.pdf
Thanks