This shows you the differences between two versions of the page.
Both sides previous revision Previous revision 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:59] Ilias Iliopoulos [Step 3. Prepare the USB-ISP] |
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?400 | 10-pin header connector }} | {{ :arduino:usb-isp-connector.jpg?400 | 10-pin header connector }} | ||
Line 141: | Line 141: | ||
{{ :arduino:usb-isp-extract.jpg?400 | 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 the source of our troubles. | + | 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 }} | {{ :arduino:usb-isp-pcb-top.jpg?400 | PCB top side }} | ||
Line 580: | 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... |