This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
arduino:how-to-fix-a-usb-isp-programmer-and-make-it-work-with-arduino-ide-on-linux [2020/02/09 16:05] Ilias Iliopoulos created |
arduino:how-to-fix-a-usb-isp-programmer-and-make-it-work-with-arduino-ide-on-linux [2020/02/09 17:12] Ilias Iliopoulos [Step 3. Prepare the USB-ISP] |
||
---|---|---|---|
Line 21: | Line 21: | ||
</code> | </code> | ||
- | Googling the name of the manufacturer **"zhifengsoft"** as well as **"usb-isp"**, a ton of information came through, regarding the case. It seems that the device is working along with the Windows program [[https://www.electrodragon.com/w/8051 | ProgISP]] and is not recognized by ''avrdude'', the program which uploads code to Arduino and other Atmel micro-controllers. | + | Googling the name of the manufacturer **"zhifengsoft"** as well as **"usb-isp"**, a ton of information came through. It seems that the device is working along with the Windows program [[https://www.electrodragon.com/w/8051 | ProgISP]] and is not recognized by ''avrdude'', the program which uploads code to Arduino and other Atmel micro-controllers. |
Luckily, I did not have to re-invent the wheel because there has been a lot of excellent work. I decided to publish this article because: | Luckily, I did not have to re-invent the wheel because there has been a lot of excellent work. I decided to publish this article because: | ||
Line 126: | Line 126: | ||
</code> | </code> | ||
- | Be extra cautious about the numbering of the connector pins. Usually, there will be an arrow imprinted on the connector that will mark pin number 1. This photo will help: | + | Be extra cautious about the numbering of the connector pins. Usually, there will be an arrow or a triangle marker imprinted on the connector that will mark pin number 1. This photo will help: |
- | {{ :arduino:usb-isp-connector.jpg?200 | 10-pin header connector }} | + | {{ :arduino:usb-isp-connector.jpg?400 | 10-pin header connector }} |
Note the location of pin 1 in respect to the notch. | Note the location of pin 1 in respect to the notch. | ||
Line 136: | Line 136: | ||
===== Step 3. Prepare the USB-ISP ===== | ===== Step 3. Prepare the USB-ISP ===== | ||
- | Push the USB connector and the PCB will come out from the box header side. After taking it out, I noticed that It has an ATMega88 and the PCB states that it is **MX-U2BLSP-V5.00**, probably mimicking MX-USBISP-V5.00 of another manufacturer. | + | Push the USB connector and the PCB will come out from the box header side. |
- | {{ :arduino:usb-isp-extract.jpg?200 | Extract the PCB from the metal case }} | + | |
+ | {{ :arduino:usb-isp-extract.jpg?400 | Extract the PCB from the metal case }} | ||
+ | |||
+ | After taking it out, I noticed that it contains an ATMega88 running at a 12 MHz crystal and the PCB states that it is **MX-U2BLSP-V5.00**, probably mimicking MX-USBISP-V5.00 of another manufacturer. Notice also a 0 Ohm resistor, which is one of the source of our troubles, according to [[http://irq5.io/2017/07/25/making-usbasp-chinese-clones-usable/ | Making USBasp Chinese Clones Usable by Darell Tan]]. | ||
+ | |||
+ | {{ :arduino:usb-isp-pcb-top.jpg?400 | PCB top side }} | ||
Using a very thin wire, solder the two pins on the USB-ISP PCB that are marked as "-> UP <-" | Using a very thin wire, solder the two pins on the USB-ISP PCB that are marked as "-> UP <-" | ||
- | {{ :arduino:usb-isp-wire-bridge.jpg?200 | Wire bridge }} | + | {{ :arduino:usb-isp-wire-bridge.jpg?400 | Wire bridge }} |
Do not connect any cable yet and leave the USB connector unconnected. | Do not connect any cable yet and leave the USB connector unconnected. | ||
Line 575: | Line 580: | ||
The original purpose was to purchase a cheap programmer to avoid the clutter of having an Arduino Nano and a bunch of cables, and to avoid wiring manually every time I wished to program an MCU. The result was that I really needed the Nano in order to re-flash the firmware of the USB-ISP and additionally, I have spent a couple of days figuring out how to deal with the situation. | The original purpose was to purchase a cheap programmer to avoid the clutter of having an Arduino Nano and a bunch of cables, and to avoid wiring manually every time I wished to program an MCU. The result was that I really needed the Nano in order to re-flash the firmware of the USB-ISP and additionally, I have spent a couple of days figuring out how to deal with the situation. | ||
- | In spite of the fact that now I am the proud owner of a USBasp programmer, which along with a ZIF socket will allow me to make easier my programming process, I have decided to keep my bare-bones Nano programmer with its bunch of wires in a drawer, just in case. | + | In spite of the fact that now I am the //proud// owner of a USBasp programmer, which along with a ZIF socket will allow me to make my programming process easier (alas only in particular cases because it is not a professional programmer), I have decided to keep my bare-bones Nano programmer with its bunch of wires in a drawer, just in case. As I said at the beginning of this article, this is just for hobbyist fun. Did not expect anything more at a price of less than two euros. |
Have fun... | Have fun... |