DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
449 stars 87 forks source link

fail to write #62

Closed bamboo-master closed 2 years ago

bamboo-master commented 2 years ago

I get error when try load scetch from arduino ide.

libusb-win32 driver

Load file as hex Loaded 5899 bytes between: 0000 to 1738 Found Device CH552 Bootloader: 2.3.1 ID: C8 68 B4 44 XOR Mask: 28 28 28 28 28 28 28 7A Read ID: Fail

or

Load file as hex Loaded 5899 bytes between: 0000 to 1738 Read Detect: Fail

CH375 driver

Load file as hex Loaded 5899 bytes between: 0000 to 1738 Found no CH55x USB

Also in WCHISPTool with CH375 driver i get error Device is started BTVER 02.31 Erasing... 99%

if i manualy set dfu made i get 75% erase dataflash error failure

Initially, everything worked.

I think the read-only mode has turned on.

Tried other computers the result is the same What can be done?

DeqingSun commented 2 years ago

Test another chip. Also this is a question better asked at the WCH customer service place.