stm8flash icon indicating copy to clipboard operation
stm8flash copied to clipboard

Read all the memory

Open 9ser opened this issue 3 months ago • 8 comments

Is it possible to add a function to read the entire controller memory area into one file? I checked the reading of the STM8S207RB, it reads and writes.

9ser avatar Oct 12 '25 18:10 9ser

You might be able to use my fork of stm8flash for that.

./stm8flash -p stm8s207rb -r ram output.ihex

You can also set the memory area you want to read explicitly.

./stm8flash -p stm8s207rb -r [0x0000:+256] output.ihex

please let me know if it works.

schneidersoft avatar Oct 15 '25 18:10 schneidersoft

The commands above do not work.   I can't read the full dump with one command. It only reads flash or EEPROM. I'll give you the full dump for this controller in 160 KB bin format. The files I read separately are attached. The full dump I need is also attached.   C уважением Александр    

9ser avatar Oct 16 '25 10:10 9ser

I don't have the stm8s207rb to test. however I have tested this with the stm8l050j3.

stm8flash-0.1.0-aa9786e5.exe -p stm8l050j3 -f -r [0x0000:0xa000] dump.bin

Note that you must use my fork: https://github.com/schneidersoft/stm8flash I have a convenient windows release for you. I have tested on both windows and linux using an stlinkv2 and also and stlinkv2 clone.

  • also tested this on an stlux385

schneidersoft avatar Oct 16 '25 19:10 schneidersoft

 

Пятница, 17 октября 2025, 00:27 +05:00 от schneidersoft < @.*** >:   schneidersoft left a comment (vdudouyt/stm8flash#184) I don't have the stm8s207rb to test. however I have tested this with the stm8l050j3. stm8flash -g -p stm8l050j3 -f -r [0x0000:0xa000] dump.bin Note that you must use my fork: https://github.com/schneidersoft/stm8flash I have a convenient windows release for you. I have tested on both windows and linux using an stlinkv2 and also and stlinkv2 clone. — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <vdudouyt/stm8flash/issues/184/3412542146 @ github . com> C уважением Александр

9ser avatar Oct 17 '25 08:10 9ser

Please send me the latest release for Windows, I may have an old version.  

Пятница, 17 октября 2025, 00:27 +05:00 от schneidersoft < @.*** >:   schneidersoft оставил комментарий (vdudouyt/stm8flash#184) У меня нет stm8s207rb для тестирования. Однако я протестировал это с stm8l050j3. stm8flash -g -p stm8l050j3 -f -r [0x0000:0xa000] dump.bin Обратите внимание, что вам необходимо использовать мой форк: https://github.com/schneidersoft/stm8flash . У меня есть удобный релиз для Windows. Я тестировал его как на Windows, так и на Linux, используя stlinkv2 и его клон. — Ответьте на это письмо напрямую, просмотрите его на GitHub или отпишитесь . Вы получаете это письмо, потому что вы создали эту ветку. Идентификатор сообщения: <vdudouyt/stm8flash/issues/184/3412542146 @ github . com> C уважением Александр

9ser avatar Oct 18 '25 11:10 9ser

You can download it from my GitHub page

schneidersoft avatar Oct 18 '25 17:10 schneidersoft

Please compile the project for Windows in the /replace directory. Thanks in advance.

9ser avatar Oct 20 '25 01:10 9ser

Open an issue on my forks' page and explain what the problem is please.

schneidersoft avatar Oct 20 '25 04:10 schneidersoft