vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
403 stars 183 forks source link

Not able to dump flash from stm8s003f3 successfully #106

Open DaleMitchell opened 6 years ago

DaleMitchell commented 6 years ago
C:\Users\User\Downloads>stm8flash.exe -c stlinkv2 -p stm8s003?3 -s flash -r dump-7-21-18.bin
Determine FLASH area
Reading 8192 bytes at 0x8000... OK
Bytes received: 8192
C:\Users\User\Downloads>stm8flash.exe -c stlinkv2 -p stm8s003?3 -s flash -v dump-7-21-18.bin
Determine FLASH area
Verifing 8192 bytes at 0x8000... FAILED

Dump file: https://pixeldra.in/api/download/mgh5w3

Here is an attempt of disassembling the code: https://pixeldra.in/u/NqmY_k

spth commented 2 years ago

It works for me (I used stlink instead of stlikv2, since I used the STM8SCL-DISCOVERY board). Can you check with current stm8flash?