реализовывать в openocd все прибамбасы для отладки обломился, тк оладка подразумевает генерацию, загрузку и исполнение кода на самом проце.. слишком много работы, чисто для себя это делать не стоит.
сделал только простой прошивальщик флешек и читалку/писалку во все адресное пространство. мне для отладки этого хватит, да и привык я отлаживать printf-ом через uart

для более серьезной отладки хочу купить avr dragon. кто-то имеет опыт отладки UC3A кирпичей с ним? есть ли ограничение на размер отлаживаемого кода или еще какие-то камни?
в хелпе студии нашел такое:
Цитата
AVR Dragon User Guide > Preface
Firmware Release History
October 15th, 2009 - Sw: 0x0604 0x0604
Removed 32kB programming limit
Added debug support for all AVR devices
Added full part support for ATmega169PA, ATmega649P, ATtiny461A, ATmega64HVE, AT32UC3L064, AT32UC3B0512revC, AT32UC3C0512, AT32UC3C0512, AT32UC3C2512
October 17th, 2008 - Sw: 0x0101 0x0200
Added full part support for ATmega32HVB
February 20th, 2008 - Sw: 0x0101 0x0200
Added full part support for ATmega16U4, ATtiny13A, ATmega8A, ATmega16A, ATmega32A
Added programming support for ATmega64A and ATmega128A
February 20th, 2008 - Sw: 0x0101 0x0200
Added full part support for ATtiny88, ATtiny167, ATmega32C1, ATmega32M1 and ATmega32U4
November 21st, 2007 - Sw: 0x0101 0x0200
Added programming support for support for ATmega1284P
Added full part support for ATtiny43U, ATtiny48 and ATmega32HVB
July 5th, 2007 - Sw: 0x0101 0x010A
Added part support for AT90USB82, AT90USB162,AT90PWM216, AT90PWM316 and ATmega16HVA
Fixed in FW troubles with enabling debugWIRE mode in debug-projects
February 26th, 2007 - Sw: 0x0101 0x0109
Added part support for ATmega88P and ATmega168P
January 4th, 2007 - Sw: 0x0101 0x0109
Added part support for all AVR devices. (no debugging on parts with 64kB or more Flash)
Fixed timing problems on High Voltage Interface
Made more robust ISP programming to handle skew on ISP lines
September 18th, 2006 - Sw: 0x0101 0x0103
Fixed problem with programming more than 10 bytes of data to EEPROM in debugWIRE mode
Fixed problems with reading and storing ISP programming frequency
Fixed that PP/HVSP is automatically selected as programming interface if it was used last time.
Fixed USB reenumeration issue, caused when disconnect/connecting the AVR Dragon
When target voltage is below 1.8V, the AVR Dragon now reports the actual voltage, not only "Could not find target voltage"
August 3rd, 2006 - Sw: 0x0100 0x0102
Full Support for: ATmega16, ATmega169, ATmega325P, ATmega3250P, ATmega329P and ATmega3290P
June 29, 2006 - Sw: 0x0100 0x0102
Fixed bug causing slow ISP programming
June 12, 2006 - Sw: 0x0100 0x0101
Full Support for: ATmega48/88/168, ATmega8, ATmega32, ATmega128, ATtiny13, ATtiny25/45/85 and ATtiny2313
про AT32UC3A ни слова....