Three months ago I modified OpenOCD re131 with changes to support the new Atmel AT91SAM7X512. Just last week I finally received my sample AT91SAM7X512 chips from Atmel and upgraded my AT91SAM7X-EK board to use it.
My changes appear to work fine in release 131 and have been tested with the Amontec JTAGKEY. I have tested using YAGARTO and have successfully programmed the FLASH and debugged at the source level using the Eclipse debugger. FLASH programming is done using a make target (thanks to Jim Lynch for his helpful tutorials).
Only one OpenOCD source file needs to be modified to support the X512 chip, however building the openocd-ftd2xx.exe file from source is quite a project. My first attempt at incorporating my changes into the re141 source code created an executable that crashed. Hmm. I haven’t looked into why just yet.
However, if anyone is interested in obtaining a pre-built executable (openocd-ftd2xx.exe) and sample configuration files for the AT91SAM7X512 and the Amontec JTAGKEY, please email me at dsquires@squires-eng.com.
I’ve also created at91sam7x512.h and ioat91sam7x512.h files for the new chip.
Dave Squires