Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CH551 Changed? #11

Open
pangus45 opened this issue Aug 10, 2019 · 2 comments
Open

CH551 Changed? #11

pangus45 opened this issue Aug 10, 2019 · 2 comments

Comments

@pangus45
Copy link

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?

@NgoHungCuong
Copy link

Yes, now bootloader version is 2.3.1

@NgoHungCuong
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants