MQX-RTOS

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

MQX-RTOS

1,449 Views
icc
Contributor I

Hello everyone!!

i'm learning the MCF5208EVB board to use it in biometric system. But my effort is to copy all my C(the main program) file in the SD RAM, cause i dont want to waste the limited copies of Flash memory.

What should i do? I already read aabout the S -record file, but i dont find anything related with. I think the answer is in the binary files in the MQX and in the .S19 file. If someone can help me i will be thankful. 

0 Kudos
4 Replies

413 Views
DavidS
NXP Employee
NXP Employee

Hi icc,

Not certain I understand your issue.  Do you want to copy the software code from flash and run it our of SDRAM?

If yes, then it is a matter of setting up the linker file and ensuring your code (or CodeWarrior library) are used at bootup to copy the code from flash to SDRAM and then jump to SDRAM to execute.

Regards,

David

0 Kudos

413 Views
icc
Contributor I

DavidS, your help was very important. But i have more one question:

 Using MQX to made the program and compiling it, i want to know where is the bin file and what is its extension ?

  Thanks for the help anyway... 

0 Kudos

413 Views
CarlFST60L
Senior Contributor II

I think you are looking for:

{project}\output\*.elf.s19

0 Kudos

413 Views
LeoPucci
Contributor III

Yes CarlFST60L, might be on output folder.

 

Working with 52259evb, my output is:

 

/projectname/m52259evb.cw/

 

with the files:

 

 intflash

 intflash.elf.bin

intflash.elf.S19

intflash.elf

 

Remebering that to generate the .bin file I had to go menu:

 

Edit >> Int Flash Release Settings

or

Edit >> Ext MRAM Debug

or 

Edit >> Int Flash Debug

 

Then in the Left menu:

 

Linker

  |----ColdFire Linker

 

Marked => Generate Binary Image

 

0 Kudos