ST意法半导体
直播中

李帅

7年用户 178经验值
私信 关注
[问答]

在STM8S003上调试应用程序时,如何保留EEPROM内容?

在STM8S003上调试应用程序时,如何保留EEPROM内容?


我使用STVD和STLink / V2或RLink。

以上来自于谷歌翻译


以下为原文




How can I preserve the EEPROM contents when debugging my application on the STM8S003?


I use STVD and either the STLink/V2 or the RLink.

回帖(1)

谭齐慧

2019-1-2 17:33:13
什么编译器?
 你想做什么?
 如果您需要在闪存程序时不写eeprom(以便新刷新的应用程序使用上一个会话/执行中的eeprom值),则可以在链接器文件(Cosmic编译器)的eeprom段上使用-c选项。
 
 希望能帮助到你。

以上来自于谷歌翻译


以下为原文







What compiler?
What do you want to do exactly?
If your need is to not write the eeprom when flashing your program (so that your newly flashed application uses eeprom values from the previous session/execution) you can use the -c option on the eeprom segment in the linker file (Cosmic compiler).

Hope it helps.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分