AnsweredAssumed Answered

SREC Output Missing a Line

Question asked by pk2 on Jun 17, 2014
Latest reply on Jul 10, 2014 by Erich Styger

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?




Outcomes