I'd like to develop my own dev/debug app to load on the debug K20 on the FRDM-LK25Z. What's the memory map for image files loaded by the debug bootstrap code?
Specifically, I'm looking for the information needed to make a loadable debug app:
Back in Oct someone asked about the source code to make a loadable app (see: OpenSDA Source code), with the a release planned "in the next couple of weeks". Short of getting the source code, is this information documented anywhere?
Thanks!
-andy
Solved! Go to Solution.
I heard back from P&E Micro (they were very helpful, and responded quickly):
In short, the memory map available is from $8000-$1ffff. The bootloader expects
the loaded application to have it's vector table at address $8000 which is
where we fetch the "reset vector" for your application. You have full control
of everything on the processor (including all ram and peripherals) with the
exception of flash ranges $0000-$7FFF. One of the first operations your
application should perform if you want to use interrupts is to set the SCB_VTOR
register to point to your vector table (presumably at address $8000).
So, an SREC origin'd at 0x8000 should do the trick.
Update:
I opened a support ticket with Freescale (1-996057826), they replied:
"Please accept my apologies for the late response. Unfortunately the firmware that is loaded on the K20 of the freedom board was develop by P&E micro, because of this is property of P&E."
...and referred me to P&E. I opened a support request with P&E.