How I write the S0 record from a S19 File?

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

How I write the S0 record from a S19 File?

Jump to solution
1,567 Views
colduser
Contributor I
Hello
 
I want write the S0 record with Name, Version and Revision ("mname", "ver" and "rev")  from a S19 file direct with information from my code, when the project is linked. 
 
Is there a possibility to do that?
 
Thank you for your help.
 
Regards,
 
Dieter
Labels (1)
Tags (1)
0 Kudos
1 Solution
696 Views
CrasyCat
Specialist III
Hello
No.
The S0 record is initialized with the full name of the executable file you have generated (full path + file name).
You cannot change the content of the S0 record. 
 
Any way I am not sure I understand why you would do that.
Data in teh S0 record will not be loaded into target board memory, so you cannot use taht info to verify version number of th esoftware loaded in a MCU.
 
Usually customer are defining constants in their application to store the version and revision number.
 
CasyCat

View solution in original post

0 Kudos
2 Replies
697 Views
CrasyCat
Specialist III
Hello
No.
The S0 record is initialized with the full name of the executable file you have generated (full path + file name).
You cannot change the content of the S0 record. 
 
Any way I am not sure I understand why you would do that.
Data in teh S0 record will not be loaded into target board memory, so you cannot use taht info to verify version number of th esoftware loaded in a MCU.
 
Usually customer are defining constants in their application to store the version and revision number.
 
CasyCat
0 Kudos
696 Views
colduser
Contributor I
Hello
 
Thank you for your fast reply. In our system we store some S19 files on the target. From this files we update the firmware of all connected periphery.
The information in the S0 record can help me to identify the S19 file and store the file in the right place.
 
Regards,
 
colduser
 
 
 
0 Kudos