MQX-RTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX-RTOS

1,450 次查看
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 项奖励
4 回复数

414 次查看
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 项奖励

414 次查看
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 项奖励

414 次查看
CarlFST60L
Senior Contributor II

I think you are looking for:

{project}\output\*.elf.s19

0 项奖励

414 次查看
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 项奖励