2021-05-23 11:29 PM
Hi,
I am developing with STM8S003F3.
I want to store user-specific information somewhere in the flash and read only that area with ST-LINK.
Is there such a way?
Regards,
Gotoda
Solved! Go to Solution.
2021-05-25 12:01 AM
Hello,
I agree with your remark.
STVP command line tool is dedicated to device programming automation.
You should use the windows visual version of STVP to read specifically a desired memory area.
Regards,
Simon
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-05-24 01:51 AM
Hello Gotoda,
STM8 data memory is dedicated for this usage.
You can refer to programming manual PM0051 (How to program STM8S and STM8A Flash program memory and data EEPROM).
You should find relevant information in chapter 4 Programming STM8 Flash microcontrollers.
Regards,
Simon
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-05-24 07:59 PM
Hello Simon,
Thank you, I can now write to a specific area of PROGRAM MEMORY.
Moreover I want to read this via SWIM. I tried using STVP_CmdLine.exe, but I don't know how to get the value of a specific area. Isn't it the -readProg command?
Regards,
Gotoda
2021-05-25 12:01 AM
Hello,
I agree with your remark.
STVP command line tool is dedicated to device programming automation.
You should use the windows visual version of STVP to read specifically a desired memory area.
Regards,
Simon
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-05-25 11:39 PM
Hello,
I understand that it is difficult to automatically read the values of PROGRAM/DATA MEMORY on the production line.
Thank you.