Last year, WCH (Nanjing QinHeng Corp.)’s launched a CH55x family of microcontroller based on an 8-bit C51 core with a USB interface, and extra I/Os depending on the selected part number
- MCU – WCH CH551 8-bit C51 micro-controller
- USB – 1x USB type A port
- I/Os – 18 through holes exposing all I/Os from the MCU including GPIOs, USB, 3.3V, 5V GND
- Misc – On-board power led, user LED (P3.0)
- Power – 5V via USB port (or pin?)
You won’t need an external hardware – such as a USB to TTL board – to program the boards since the MCU supports USB. To enter into programming mode, short connect the two pins in the middle of the board (DL) with tweezers.
Electrodragon has documentation on their Wiki, not only for CH551, but also for the other 8-bit CH55x MCUs namely CH552, CH554, CH558, and CH559, and we can see the differences in the comparison table below.
Later on, the company will launch other USB boards based on the other SKUs listed above.
Programming can be done with WCHISPTool Windows utility, or the open source LibreCH551 flashing tool working in both Linux and Windows. Note there’s apparently a bug in the chip that prevent it from being flashed more than 200 times.
WCH has released some documentation and tools in Chinese, but the chip can also be worked on with an open source Software Development Kit (SDK) for SDCC compiler usable in either Linux or Windows.
Thanks to Zoobab for the tip.
|Support CNX Software - Donate via PayPal or become a Patron on Patreon|