November 24, 2024, 01:31:50 PM

JTAG Setup?

Started by RiceKernel, July 06, 2014, 07:12:50 PM

Previous topic - Next topic

RiceKernel

Hi , I'm very new to this aspect of hardware engineering and was wondering , what do I need to read/write an ARM chip or others to my computer using OpenOCD. I've seen a lot of combos such as Bus Blaster/Pirate with a dev.board such as Arduino or the Raspberry Pi but couldn't we just use the JTAG debugger itself and connect it directly to the 4-5 jtag pins on the chip and then to the computer?

Much thanks!

LubOlimex

You just need an OpenOCD-compatible debugger (preferably with ready configuration file in OpenOCD) and you are good to go.

There is nothing fancy hardware-wise - plug one side of the debugger to your PC, plug the other to the JTAG interface of your target. Install OS drivers for the debugger, so it gets recognized properly and that's it. The harder part of using OpenOCD is the software setup of the system - it requires time but if you manage to do it couple of times then you will never have to pay for ARM IDE again in your life.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex