Du brauchst eine neue Version von openocd.
Der GD32E103CBT6 ist noch recht neu und wird mit den alten openocd Versionen nicht richtig unterstützt.
Hier Infos zu dem Mikrocontroller:
Um Links zu sehen, melde dich bitte an
OpenOCD arbeitet schon daran diesen Mikrocontroller zu unterstützen.
Um Links zu sehen, melde dich bitte an
Aber Achtung!
Der GD32E103CBT6 hat anscheinend einen ähnlichen Schutz wie der STM32.
Es wird der komplette Flash gelöscht!
Hier ein Auszug aus dem Datenblatt. (
Quelle)
Security protection
The FMC provides a security protection function to prevent illegal code/data access to the
Flash memory. This function is useful for protecting the software/firmware from illegal users.
No protection: when setting SPC byte and its complement value to 0x5AA5, no protection
performed. The main flash and option bytes block are accessible by all operations.
Under protection: when setting SPC byte and its complement value to any value except
0x5AA5, the security protection is performed. Note that a power reset should be followed
instead of a system reset if the SPC modification has been performed while the debug module
is still connected to JTAG/SWD device. Under the security protection, the main flash can only
be accessed by user code and the first 4KB flash is under erase/program protection. In debug
mode, boot from SRAM or boot loader mode, all operations to main flash is forbidden. If a
read operation to main flash in debug mode, boot from SRAM or boot loader mode, a bus
error will be generated. If a program/erase operation to main flash in debug mode, boot from
SRAM or boot from boot loader mode, the WPERR bit in the FMC_STAT register will be set.
Option bytes block are accessible by all operations, which can be used to disable the security
protection. Back to no protection level by setting SPC byte and its complement value to
0x5AA5, then a mass erase for main flash will be perform
Bist du dir sicher
L
leelt das es auch eine orginal Firmware drauf ist?
Weil auf deinen Bildern steht dort Spoof 822 DRV Version 422.
Das ist eine mir total unbekannte Version.
Habe ich noch nie gesehen.
Wenn das wirklich eine original Firmware ist, dann unterscheidet die sich von den uns bekannten Firmwares.
Und wenn du dann mit OpenOCD doch schreiben kannst, dann hast du keine Firmware die darauf funktioniert!!!!
Schreibe mir bitte mal deine Seriennummer per Privater Nachricht.
Dann kann ich schauen ob ich an die Firmware dran komme.
Edit:
Habe gerade nochmal deinen ersten post gelesen.
Du hattest mit Xiaoflasher die DRV von 248 auf diese merkwürdige 822 geflasht.
Dann musst du zuerst mit Xiaoflasher wieder eine original Firmware flashen.
Erst danach kannst du wieder ganz normal mit Downg firmwares flashen.
LG
VooDoo