librech551 icon indicating copy to clipboard operation
librech551 copied to clipboard

CH551 Changed?

Open pangus45 opened this issue 4 years ago • 2 comments

Using http://www.electronics-lab.com/ch551-1-80-usb-mini-development-board-based-8-bit-c51-micro-controller/

lsusb shows

idVendor 0x4348 WinChip Head
idProduct 0x55e0

Flashing example code - https://github.com/mogenson/ch551

First attempt gives...

[ 66%] Built target ch551_blinky
[100%] Flashing ch551_blinky.bin to CH551 using wchisptool
Error while bulking in: LIBUSB_ERROR_OVERFLOW
Libre CH551 Flasher 2018
The chip id 0xFFFFFFA2 is currently not support in this program
[100%] Built target flash

I change the code to force the CH551...

 //		if(inbuffer[0] == 0x51)
		if(1)

I then get...

[ 66%] Built target ch551_blinky
[100%] Flashing ch551_blinky.bin to CH551 using wchisptool
Error while bulking in: LIBUSB_ERROR_OVERFLOW
Libre CH551 Flasher 2018
Detected device CH551
Device rom capacity 10240, data flash capacity 128
Binary length 144
Error while bulking in: LIBUSB_ERROR_OVERFLOW
Device bootloader version: -5.11

Error while bulking in: LIBUSB_ERROR_OVERFLOW
Now performing erase...
Error while bulking in: LIBUSB_ERROR_OVERFLOW
Erase failed!
[100%] Built target flash

Any ideas?

pangus45 avatar Aug 10 '19 20:08 pangus45

Yes, now bootloader version is 2.3.1

NgoHungCuong avatar Aug 18 '19 04:08 NgoHungCuong

https://github.com/NgoHungCuong/vnproch551/

NgoHungCuong avatar Aug 18 '19 08:08 NgoHungCuong