JTAG debugging some Atmega microcontrollers with JTAG ICE (avarice, avr-gdb, avrdude)

preview_player
Показать описание
#arduino #atmega #linux #foss #embeddedsystems

In today video I want to show you how to use the JTAG ICE debugger to debug some Atmega microcontrollers with avr-gdb. I will maybe use an Atmega32u4 controller for my USB tutorials, this is why I came across this topic.

Content:
00:00 Intro
00:36 Supported Devices (atmega32u4 can't be debugged with the jtag ice but with other jtag debuggers)
01:44 Connections
02:40 Required Software
03:28 Build avarice
04:53 Fuse settings for On-Chip Debugging
06:43 Sample program
07:02 Program the controller
07:24 Start gdb server
08:23 Starting avr-gdb
10:33 Outro

Resources for this video:
Рекомендации по теме
Комментарии
Автор

Unfortunately Atmel didn't make their JTAG instructions public and so you can only use JTAG with their SW/dongle and not with openocd. Bummer.

xThirdOpsx
Автор

Hi!
How to compiled your code? I use the same software tool, but when i set a breakpoint the gdb never stop at. Have you any idea? Thanks

danielnyiri