CW8.0 - How to get image of code in program flash MC56F8323

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

CW8.0 - How to get image of code in program flash MC56F8323

2,318件の閲覧回数
jgjulli
Contributor I
I want to compute a CRC on the program flash in our application as part of a self test.  I believe the .tgt file contains the binary representation of the program loaded to program flash, but it looks like there is additional build data in this file that I do not want.  How do I get an exact image of code?
 
Thanks!
 
P.S. Using CodeWarrior Development Studio for DSC56800/E version 8.0.


Message Edited by jgjulli on 2007-09-10 02:25 PM

Message Edited by Alban on 2007-09-12 12:05 AM
ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

753件の閲覧回数
stanish
NXP Employee
NXP Employee
I'd suggest you to see linker feature CRC16 ("CodeWarrior home dir.\Help\PDF\56800x_Build_Tools_Reference.pdf", page 112-115) that allows you to calculate 16 bit CRC over  selected  range of  memory. You might find it useful in your application.
0 件の賞賛
返信

753件の閲覧回数
J2MEJediMaster
Specialist I
Your output file should have an extension of .elf. Go to the project's settings panels, and look at the M568000 Target settings panel. The name in the Output File Name item will be the name of the file generated with your program's code in it. While you're there, make sure the Project Type item is set to Application. You can find out more information on this panel and other project settings in the CodeWarrior Development Studio for FreescaleTM 56800/E  Targeting Manual.

I don't not familiar enough with the DSP tools to know if there's a facility to calculate a checksum.

---Tom
0 件の賞賛
返信