Include S-File in Project?

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

Include S-File in Project?

1,725 Views
Kopone
Contributor IV
Hi,

is it possible, on CW 6.2 for Coldfire V1, to include an S-Record file into an existing project?
E.g. I got a block of data, say a startupscreen or whatever, which is to be stored at a certain address in the Flash memory and I already got that stored in an S-Record file (including the target address of course).

Can I somehow include this file into my project so that it gets flashed along with the program when I call the debugger?

If not, what would be the alternatives?

Regards,
 Sven
Labels (1)
0 Kudos
2 Replies

324 Views
stanish
NXP Employee
NXP Employee
Hi Kopone,

You could try to use sequence of debugger commands below placed into *_Postload.cmd command file.
Each time a code is loaded into MCU this script is executed. This cmd file is usually located here:
 {Project directory}\cmd\CFV1_BDM_P&E_Multilink_CyclonePro_Postload.cmd

// After load the commands written below will be executed

flash
flash select 0
flash arm
srec MyData.s19   // replace "MyData.s19" by your s-record
flash disarm
flash unselect
reset



Stanish
0 Kudos

325 Views
Kopone
Contributor IV
Thank you very much, works perfectly well :smileyhappy:


Regards,
 Sven
0 Kudos