[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Jtag ice
From: |
Steve @ Franks Development, LLC |
Subject: |
RE: [avr-gcc-list] Jtag ice |
Date: |
Mon, 12 Jul 2004 10:05:51 -0700 |
> Was your project using the watchdog reset? That kinda makes
> it tough to do ICE debugging when the watchdog reset's the system.
No watchdog; As I mentioned, it *only* happens when the jtagice dongle is
plugged in. Unplug it, the program executes normally.
> I've seen my systems mysteriously reset quite often. Every
> time it's been because of a bad pointer in my code.
No pointers (this is a good tip to remember though); just a PORTA = blah
statement...
Thanks,
Steve
Steve Franks
Staff Engineer & General Manager
Franks Development, LLC
(520) 312-0089 voice
(360) 368-8006 fax
http://www.franks-development.com
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of Theodore A. Roth
> Sent: Monday, July 12, 2004 8:15 AM
> Cc: AVR GCC List
> Subject: RE: [avr-gcc-list] Jtag ice
>
> On Sun, 11 Jul 2004, James Dabbs wrote:
>
> > > Anyone have problems with the jtagice and the avr butterfly board?
> > With jtag ice
> > > plugged in (either in debug or run) about 6 lines of the program
> > execute (down to
> > > an PORTB=, I think), then the device resets; if I unplug jtagice,
> > everything
> > > *appears* to work normally...
> >
> > For what it's worth..
> >
> > I used the JTAG ICE on an ATMega169 board (our own board) and never
> > could get it working. I could single-step through code AS
> LONG AS I
> > NEVER PAUSED more than 5 seconds or so between lines;
> otherwise, the
> > part would just start executing and the ICE would lock up.
> I diddled
> > with termination resistors, ICE speeds, bypass capacitors,
> versions of
> > software, GDB, Avrstudio, IAR tools.. Nothing. Getting the ICE
> > working with this part was beyond my capability. I finally got the
> > s/w working by diddling and probing I/O lines, and finished the
> > project 5 weeks late. For the subsequent version, we
> replaced the AVR
> > with a Phillips
> > LPC2104 (ARM), and we bought a Nohau JTAG, and this worked
> OK. With
> > AVR projects these days, I don't even attempt using the
> ICE. It's on
> > a shelf in the lab.
>
> Was your project using the watchdog reset? That kinda makes
> it tough to do ICE debugging when the watchdog reset's the system.
>
> I've seen my systems mysteriously reset quite often. Every
> time it's been because of a bad pointer in my code.
>
> ---
> Ted Roth
> PGP Key ID: 0x18F846E9
> Jabber ID: address@hidden
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>
>
>