Debugging an AVR under Linux using the JTAG ICE mkII and gdb.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,511
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 31, 2009

Demonstrates in-system-debugging of an ATmega128 with a simple example program (a running light). Notice that this is not a simulation, it's the real thing. The used tools are: The JTAG ICE mkII (connected via USB), avarice and avr-gdb. The GUI frontend to gdb seen on the video is ddd.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (linuxgeek81)

  • This would have been so useful to me a while back. Haven't done any AVRing since then. This should help you out a bunch

  • Yes, I'm sure it'll become quite handy. Actually debugging AVRs is quite cool ;)

  • nice vid! I really want a jtag ice mk2, but its so expensive.

  • Odin :D How's the art? I hope you do well?

    Yes it's expensive but I got it rather inexpensive on the second hand market ;)

  • A very interesting room/workshop

  • You mean my living room? *jokingly ;)

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • nice video, where did you get that JTAG ICE MKII? and how much?

  • You didn't get this from ebay?

  • i'd like to know more about the details on the jatgice mkii + avarice setup....

    currently i'm struggling with avarice to talk with the OnChip Debug feature. how can i get in touch with you

  • Nice video! Thanks! Is it possible to set port pins / registers (e.g. PORTB, DDRB, etc...) using the debugger (so you could set an LED on directly rather than setting a variable that is then written to the port?

  • Hi..

    I think you don't need a 16-bit int..

    You can change your if to:

    if((status <<= 1) == 0))

    { status=1;

    }

    because when status is 0xff and you shift it, it will become 0x00

  • great video, thanks for sharing!!!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more