Hello.
I am working with Kinetis K21FN120 MCU.
I wrote a C Sharp language program to create .srec files. This is a necessity for our project. All conditions, such as file format, checksum calculation, addressing, were complied with according to the technical documentation of the Motorola file. Nevertheless, when I tried to write the .srec file built by my program through Freescale "Flash File To Target", Freescale cannot determine it as a Motorola S-Record file but sees it as Binary/Raw format.
I even tried to get the file generated by my program and copy it to a file generated from IAR, which was previously detected as Motorola S-Record file. After copying, the result is the same as with my file: it is seen as Binary/Raw, not Motorola S-Record. So I thought there was some kind of problem with encoding.
Please tell me, this is an ordinary text file with the extension .srec, encoded as UTF8. Where to look for an error?
Thanks
Evgeni
