Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Debugging Bootloaders

2007-07-09 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Dave VanHorn" <microbrix@...> 
wrote:
> Anyone have tips/experience to share on debugging
> bootloaders with the Jtag ice on a M128?

I've done it - not particularly difficult.  I combined the 
bootloader and main application .hex files into a single file and 
had AVR Studio download that to the device.

Generally, you'll want to temporarily disable the timeout detecting 
mechanism on, if such exists, on both ends of the comm channel.  
With that done, you're free to set breakpoints, single step, etc. on 
either or both ends.

You may also want to employ a serial channel "monitor" - either a 
standalone instrument or software running on a PC.  I've used the 
free HHD Serial Port Monitor (http://www.serial-port-
monitor.com/index.html) on a Windows box.  There may be something 
similar for Linux.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.