Closed karlp closed 1 year ago
Flashing fails too, at least on my board...
(wchisp-info as above, freshly replugged then...)
karlp@beros:~/src/wch-ch552tool (master)$ wchisp flash /home/karlp/src/wch-ch583.git/EVT/EXAM/UART1/lolicats.bin
22:18:00 [INFO] Found USB Device Bus 001 Device 040: ID 4348:55e0
22:18:00 [DEBUG] (1) wchisp::transport: => a11200 00004d4355204953502026205743482e434e
times out here...
Fixed by increasing USB packet timeout.
> cargo run -- eeprom ./data.bin
....
> hexdump -C data.bin
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ||
*
00000020 ff 32 33 34 32 33 35 31 33 35 34 31 32 33 34 ff |23423513541234|
00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ||
*
00000080 ff ff ff ff 61 73 64 66 61 73 64 66 61 73 64 66 |asdfasdfasdf|
00000090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ||
*
00008000
(presumably crashes the bootloader too, no other commands work until it's power cycled