My application is/will be too large to fit into the internal flash of a K70 and want to load/boot the application (via some small boot-loader) in DDR and execute it from there. To ease/speed development I want to allow loading/debugging the application in DDR using KDS.
How can I run a script after the target is connected and before the .elf is loaded - to setup the MCG and DDR registers that initialize DDR?
Thanks in advance!
Hello Peter Barada,
Sorry in KDS I haven't find the debugger configure file like "init_kinetis.tcl",
so I think we can initlialize the DDR on application code.
There is a guide about "Debugging out of External RAM":
Relocating Code and Data Using the CW GCC Linker File for Kinetis
->7) Debugging out of External RAM
Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------