You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CH55x-based picoAVR is an ISPand UPDI combo programmer for AVR microcontrollers compatible with the USBtinyISP and SerialUPDI. It works fine with the Arduino IDE (Tools -> Programmer -> USBtinyISP / Tools -> Programmer -> SerialUPDI). This combo programmer includes a target voltage selection switch that allows users to choose between 5V and 3.3V for their project needs.
The CH55x-based picoAVR is an ISP, TPI, and UPDI combo programmer for AVR microcontrollers compatible with the USBasp and SerialUPDI. It works fine with the Arduino IDE (Tools -> Programmer -> USBasp / Tools -> Programmer -> SerialUPDI). This combo programmer includes a target voltage selection switch that allows users to choose between 5V and 3.3V for their project needs.
Copy file name to clipboardExpand all lines: picoAVR_Programmer/README.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
# picoAVR ISP and UPDI Combo Programmer for AVR MCU based on CH552G
2
-
The CH55x-based picoAVR is an ISPand UPDI combo programmer for AVR microcontrollers compatible with the USBtinyISP and SerialUPDI. It works fine with the Arduino IDE (Tools -> Programmer -> USBtinyISP / Tools -> Programmer -> SerialUPDI). This combo programmer includes a target voltage selection switch that allows users to choose between 5V and 3.3V for their project needs. The USBtinyISP part of the firmware is based on Dick Streefland's and Ladyada's original implementation and DeqingSun's CH55x conversion.
1
+
# picoAVR - ISP / TPI / UPDI Combo Programmer for AVR MCU based on CH552G
2
+
The CH55x-based picoAVR is an ISP, TPI, and UPDI combo programmer for AVR microcontrollers compatible with the USBasp and SerialUPDI. It works fine with the Arduino IDE (Tools -> Programmer -> USBasp / Tools -> Programmer -> SerialUPDI). This combo programmer includes a target voltage selection switch that allows users to choose between 5V and 3.3V for their project needs.
Install the [Arduino IDE](https://www.arduino.cc/en/software) if you haven't already. Install the [CH55xduino](https://github.com/DeqingSun/ch55xduino) package by following the instructions on the website.
50
50
51
51
### Compiling and Uploading Firmware
52
+
- Adjust the firmware parameters in src/config.h if necessary.
52
53
- Copy the .ino and .c files as well as the /src folder together into one folder and name it picoavr.
53
54
- Open the .ino file in the Arduino IDE.
54
55
- Go to **Tools -> Board -> CH55x Boards** and select **CH552 Board**.
55
56
- Go to **Tools** and choose the following board options:
56
57
-**Clock Source:** 16 MHz (internal)
57
58
-**Upload Method:** USB
58
-
-**USB Settings:** USER CODE /w 266B USB RAM
59
+
-**USB Settings:** USER CODE /w 0B USB RAM
59
60
- Connect the board and make sure the CH55x is in bootloader mode.
60
61
- Click **Upload**.
61
62
62
63
## Installing Drivers for the picoAVR
63
-
On Linux, you don't need to install a driver. Windows users may need to install the [usbtiny driver](https://learn.adafruit.com/usbtinyisp). For Windows 10/11, you can also use the [Zadig Tool](https://zadig.akeo.ie/) to install the correct driver. Click on "Options" -> "List all devices" and select the USBtiny. Then install the libusb-win32 driver. To do this, the picoAVR must be connected to your PC. You can also use the Zadig Tool to install the CDC driver for the CDC Serial Interface.
64
+
On Linux, you don't need to install a driver. The implementation includes Windows Compatible ID (WCID) code for automated driver installation on Windows. If this doesn't work, Windows users may need to install a driver manually using the Zadig tool (https://zadig.akeo.ie/). Click on "Options" -> "List all devices" and select the USBasp. Then install the libusb-win32 driver. Now select the SerialUPDI and install the CDC driver. To do this, the picoAVR must be connected to your PC.
64
65
65
66
# Operating Instructions
66
67
- Select the programming voltage (3.3V or 5V) with the voltage selection switch.
67
-
- Plug the picoAVR into a USB port on your PC, it should be identified as a USBtinyISP with an additional CDC serial interface.
68
+
- Plug the picoAVR into a USB port on your PC, it should be identified as a USBasp with an additional CDC COM port.
68
69
- Connect the picoAVR to the target board via the 6-pin ICSP connector or the 3-pin UPDI connector.
69
-
- The picoAVR should work with any IDE or programming software that supports the USBtinyISP and/or SerialUPDI programmer.
70
+
- The picoAVR should work with any IDE or programming software that supports the USBasp and/or SerialUPDI programmer.
0 commit comments