Yahoo Groups archive

AVR-Chat

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

Message

RE: [AVR-Chat] Re: ATMega16 remains "FF" after programming via AVR Studio & JTAG Ice-Cube

2010-09-16 by Chuck Hackett

> From: ecros_technology
> 
> > Why can't AVR Studio/JTAG Ice-Cube
> > tell that there is no clock ...
> > ... I guess the ATMega16 can be
> > programmed via JTAG even when
> > there is no clock present?
> 
> Atmel documents all this.  The JTAG programming interface has its own clock
> and can, indeed, work when there is no main clock.  Thus, you can rescue
> devices with mal-programmed clock fuses (one of the reasons that I personally
> prefer JTAG).  However, this doesn't work for debugging, which does require a
> main clock.  I would guess that verification is skipped because it would
> lengthen the code/compile/run cycle.  One could hope for the option, but I
> don't think its is there.
> 
> Graham.

Hi Graham,

All true, my only complaint was that (assuming that it's possible) AVR Studio should
have said that it couldn't show me the contents of memory rather than showing me
incorrect data (all 'FF's) without an error message of any kind.  

(As a software developer of banking systems) this strikes me as bad design - If an
ATM can't access your bank balance should it tell you that your balance is
$999,999,999.99, $0.00? :-)
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck

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.