1

I have ARM-USB-OCD created by OLIMEX. I am interested in can I use this to burn a bootloader to Arduino Uno. As I know Atmega 328P can be programmed using JTAG protocol which has also ARM-USB-ODC, so if it really can anyone give the circuit or something like this. Here is my device (ARM-USB-ODC) manual.

AltAir
5424 silver badges15 bronze badges
asked Jan 10, 2018 at 7:27
2
  • 1
    Where did you get that information the Atmega328 supports JTAG? There is only the DebugWire interface. And as far as I remember, the AVR JTAG might be kinda incompatible with anything else. However the programmer is FTDI based, so it might be possible to use it as clasic serial programmer. Commented Jan 10, 2018 at 8:24
  • Atmega328P does not have JTAG pins. Commented Nov 7, 2018 at 13:22

1 Answer 1

1

Probably, but likely not easily

To program an AVR chip you likely want to use the AVR ISP protocol, which is not JTAG, but like JTAG is a synchronous serial protocol with a clock, a data line in each direction, and one additional control pin compared to the several mode/status pins of JTAG.

According to your link, the ARM-USB-OCD is based on an FT2232C USB interface chip.

avrdude documentation indicates that this is an interface it knows how to use, though it will likely take some study to figure out how.

The final question would be wiring - you'll need to figure out which JTAG-style signal names map to which FTDI functional pins, and how those should best be connected to AVR ISP pins in a way which avrdude can use. Additionally, you'd have to make sure that any buffering between the FTDI chip and the pins is compatible with your needs, both in terms of data direction and voltage level.

Note that you can easily use any ATmega328-based Arduino as an ISP programmer for a same-voltage target - not really production worthy, but if you just need to move your project along today it's a handy option.

answered Jan 10, 2018 at 16:35

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.