DeqingSun / ch55xduino

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

Error Verifying Chip after writing #74

Closed Kaitoukid93 closed 2 years ago

Kaitoukid93 commented 2 years ago

I ran into a problem when uploading using CMD ( WCHISP worked fine). I got CH552G chip with 2.4.0 bootloader version I checked the VNproCh55x tool repository but I can't find any clue thanks

E:\>vnproCH55x AHR1g.hex
------------------------------------------------------------------
CH55x Programmer by VNPro
------------------------------------------------------------------
Load file as hex
   Loaded 8048 bytes between: 0000 to 1FA2
ch375Version 35
CH375GetUsbID 55e04348
CH375 open OK
MCU ID: 52 11
Found Device CH552
Bootloader: 2.4.0
ID: DA B5 45 BC
XOR Mask: 90 90 90 90 90 90 90 E2
Write 8099 bytes from bin file.
..................................................
Write complete!!!
Verify chip

Packet 0 doesn't match.
Kaitoukid93 commented 2 years ago

I don't know what cause this but resoldering the chip fixed the problem, one thing to notice is this CH552 is plugged in to a nested MAO8608 USB hub chip (MAO8608 1x4---->MAO8608 1x4 at port A----->CH552 USB at port C)

Kaitoukid93 commented 2 years ago

After some successful upload, the error show up again, I use a CH551 to replace the CH552 on the board and it uploaded just fine