CodeWorrior generated binary image

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

CodeWorrior generated binary image

1,609 Views
forums_frank
Contributor I

Hi,

 

I'm using CodeWorrior 7.1 for our MCF54452 based product development. In CodeWorrior we can generate binary image if we choose "Generate Binary Image" option. I tried to program this binary image into our target's flash and it could not work properly.

 

Note If I programe the S19 file to the target, it worked fine. So my questions are:

 

1. Can the binary image CodeWorrir generated  be programmed to the flash as the application software? 

 

2. If it can be, why it was not working in my case?

 

Cheers,

Labels (1)
0 Kudos
2 Replies

420 Views
forums_frank
Contributor I

Hi,

 

I've just used a HEX viwer/editor "HEX workshop" to see the binary genrated by CodeWorrior. It looks some extra information added by CodeWorrior.

 

Does anybody know why? Do we have to convert it if want to use it?

 

Cheers,

0 Kudos

420 Views
CrasyCat
Specialist III

Hello

 

According to the table 4.7 in the manual {Install}\Help\PDF\Targeting_ColdFire.pdf, chapter "Target  Settings" section "Coldfire Settings Panels" -> "ColdFire Linker", binary file generated by the linker has following format:

 

"Binary file format is address (4 bytes), byte count (4 bytes), and data bytes (variable length)."

 

CrasyCat

0 Kudos