How I write the S0 record from a S19 File?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How I write the S0 record from a S19 File?

ソリューションへジャンプ
2,228件の閲覧回数
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
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,357件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,358件の閲覧回数
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 件の賞賛
返信
1,357件の閲覧回数
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 件の賞賛
返信