Hi!
Just made the mistake to update the IDE.
For some reason, I cannot programm any CH32V307.
It seems that only the first page (0x0-0xFFF) get written. the rest of the memory seems empty.
The generated hex is non-empty, tested with my project, a new template and even a new template in a new workspace!
Anyone having the same problem?
Regards!
My open-ocd cfg:
#interface wlink
adapter driver wlinke
adapter speed 6000
transport select sdi
#wlink_set_address 0x00000000
wlink_set_address 0x08000000
set _CHIPNAME wch_riscv
sdi newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x00001
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME.0 wch_riscv -chain-position $_TARGETNAME
$_TARGETNAME.0 configure -work-area-phys 0x20000000 -work-area-size 10000 -work-area-backup 1
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME wch_riscv 0x00000000 0 0 0 $_TARGETNAME.0
echo "Ready for Remote Connections"
Edit: After hours of hair pulling, I now just pulled the old 1.5 and it works again... it really seems to be an issue with the openocd supplied.