Closed mveplus closed 3 months ago
Okay, you can disregard all the above.
I manage to overwrite the boot-loader initially with the program data {} [ not flashing the binary starting from the correct address boundaries for the program data]. All fixed now ;)**
I can flash both the original and the radpro with J-Link. Looking at the flashtoo.sh I realized I have two binaries to flash:
bootloader.bin 0x08000000
and the radpro.bin[program] 0x08004000
I also found my original binary provided by to the manufacturer, it has the same md5 hash as the one of the origiaal recover versions in the repo:
54efd3ec9995e948db7c8ddae235a2c7 GC01_V0.3.bin
54efd3ec9995e948db7c8ddae235a2c7 fnirsi-gc01-ch32f103r8t6-v0.3.bin
Thanks for providing all the files, and specially the bootloader binary ;)
I'm glad you managed to sort things out!
FNIRSI GC-01_V0.2 with a CH32F103R8T6 (WCH) processor. Unable to flash with rc4 or rc5. Initially the device was showing up as mass storage, but was not reacting after successfully copy of the binary. I did a few sequential test and variations:
ok/power
device shows as mass storageGC01 BOOT
, with single empty Readme.txt, dragging and droppingradpro-fnirsi-gc01-ch32f103r8-2.0rc4.bin
file copied successfully but device did not reboot.ok/power
device shows as mass storageGC01 BOOT
, with single empty Readme.txt, dragging and droppingradpro-fnirsi-gc01-ch32f103r8-2.0rc4.bin
file copied successfully but device did not reboot. After releasing button mass storage disconnects but the firmware was not flashed.ok/power
device shows as mass storageGC01 BOOT
, with single empty Readme.txt, holding right arrow[cogwheel] and key dragging and droppingradpro-fnirsi-gc01-ch32f103r8-2.0rc4.bin
file copied successfully but device did not reboot, releasing the arrow there was no change.fnirsi-gc01-ch32f103r8t6-v0.3.bin
andfnirsi-gc01-ch32f103r8t6-v1.5.bin
no response.At that stage the original firmware was still fully functional.
Then I moved to the alternative flash instructions. As I did no have ST-LINK I used my J-LINK that supports SWD. Set-up and the JLink software recognised the chip. I flashed the
radpro-fnirsi-gc01-ch32f103r8-2.0rc4.bin
it did flashed successfully but after that the device was not starting anymore, or showing as mass-storage device.Unfortunately I did not save the original, before overriting it, not the only thing that still works is the bootloader, and the mass-storage is showing up as a drive, but cant power up.
I have tied flashing all binaries and test with each one, but no change from the above. Example log output from the J-LInk:
Any advice or help would be appreciated, I do not want to run the original firmware but radpro one instead, mainly as I want to be able to read the data form the sensor via USB. Some photos