I am using CW 10.4 but this problem seems to be common to previous versions I have tried too.
When producing a .srec output file there is a section of the output with a line missing. For example:
S2140003F09D0500009D0500009D0500009D05000070
S214000400FFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFF8
S21400042001DF704701DFFFF7FEBFD148006872B6F4
S214000430018B39B9416AC269D369994200F00280DA
Careful examination of the above shows that the line that should begin with S214000410... is missing.
Generating a binary out produces this:
0003F0: 9D 05 00 00 9D 05 00 00 9D 05 00 00 9D 05 00 00
000400: FF FF FF FF FF FF FF FF FF FF FF FF FE FF FF FF
000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000420: 01 DF 70 47 01 DF FF F7 FE BF D1 48 00 68 72 B6
Note that the missing line should be all zeros.
Why is this missing in the .srec output file? I have to edit the srec file to add the missing line so when using the KwikStik - EZ port programmer described in AN4406 the part programs correctly.
Is there a way to make CW produce the correct output file?
Solved! Go to Solution.
about the extension: this is problem of some GNU tool integration (including the one used in CodeWarrior).
The GNU ARM Eclipse plugins in KDS or the ones which you can use with stock Eclipse (e.g. Kepler) do not have this issue.
I hope this helps,
Erich
The latest version is v10.6, could you please check whether the same problem also exists on v10.6? CW 10.6 can be downloaded from:
If the problem also exists on CW10.6, please attach a simple project to help us reproduce the problem, thanks!
I tried ti install CW10.6 but my virus software reported a problem with it. Can you try it in CW10.6? The "Hello" example for a tower can be used to see the problem.
Also... when selecting output file formats.. wy are all the extenisons .hex rather than what the file actually is. I.E. when I select a binary file out I would expect a .bin extension.
about the extension: this is problem of some GNU tool integration (including the one used in CodeWarrior).
The GNU ARM Eclipse plugins in KDS or the ones which you can use with stock Eclipse (e.g. Kepler) do not have this issue.
I hope this helps,
Erich