I want to do on-chip-debugging on an Arduino Mega. According to its datasheet, the ATmega2560 chip supports JTAG. (IEEE 1149.1 compliant)

Can I use a generic FT2232H interface to do on-chip-debugging on this?

How would a OpenOCD config file look like for this purpose?

Thanks in advance!

migrated from electronics.stackexchange.com Jul 4 '18 at 2:05

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.


The chip seems to support it:

Multi-Protocol Synchronous Serial Engine (MPSSE) to simplify synchronous serial protocol (USB to JTAG, I2C, SPI or bit-bang) design.

You'll have to play with the drivers,
and check to see that Arduino brought all the JTAG pins out to header pins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy