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!
1 Answer 1
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.