Include S-File in Project?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Include S-File in Project?

2,386件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

985件の閲覧回数
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 件の賞賛
返信

986件の閲覧回数
Kopone
Contributor IV
Thank you very much, works perfectly well :smileyhappy:


Regards,
 Sven
0 件の賞賛
返信