My project uses a 350K binary file that my K60 loads into another device. I currently have that file stored in the flash memory as an array of hex values. (not pretty but it works)
I have a basic CW license and is restricted to 512K. Other system changes have pushed me over the 512K boundary and inot a 1MB K60. However, if the binary file is not counted, the code is less than 512K.
Is it possible to link the binary file into the upper 512K of the K60 and have the code in the lower 512K access it? Will the linker and my license support this? Are examples available?
Hello,
are you using the gcc compiler in CodeWarrior? There the compiler/linker is not restricted for sure :-).
And here is how to create an S19 (or other file) with it:
S-Record Generation with gcc for ARM/Kinetis | MCU on Eclipse
And here is how you can download/flash a binary file:
http://mcuoneclipse.com/2012/04/30/flashing-with-a-button-and-a-magic-wand/
I hope this helps.
according to
http://cache.freescale.com/files/soft_dev_tools/doc/fact_sheet/950-00437.pdf
this restriction is for C compiler and C source-level debugger–code. not for linker. you can try it. please let us know the result