Are there license restrictions with the linker?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Are there license restrictions with the linker?

822 Views
pk2
Contributor III

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?

Labels (1)
0 Kudos
3 Replies

668 Views
BlackNight
NXP Employee
NXP Employee

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.

0 Kudos

668 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos

668 Views
pk2
Contributor III

Thank you for the response.  Do you have an example of how to modify the code and linker file to access the binary file?

0 Kudos