Please send a note to the AVRFreaks list! Jim Wagner On Tue, 17 Jul 2007 14:52:33 +0100 "Tim Mitchell" <tim@sabretechnology.co.uk> wrote: > Tim Mitchell wrote: > > Clark, Andy wrote: > >> Are you sure you're using the correct cpu include > file/vector table ? > >> > >> Andy > > > > Yes.. It's actually part of an Atmel demo app which > does the USB part. > > > > > Mystery solved - Atmel had mis-defined the cpu register > include file > (eek!!!) > > Writing to MCUSR actually wrote to SMCR (sleep mode > register). You can > do without that kind of thing, especially from the device > manufacturer... > > > > > >> > >> ________________________________ > >> > >> From: AVR-Chat@yahoogroups.com > [mailto:AVR-Chat@yahoogroups.com] On > >> Behalf Of Tim Mitchell Sent: 16 July 2007 14:40 > >> To: AVR-Chat@yahoogroups.com > >> Subject: [AVR-Chat] AVR 90USB1287 software reset > >> > >> > >> > >> I'm trying to do a software restart on an > AVR90USB1287. (basically a > >> mega128 with USB). > >> > >> I am disabling interrupts, turning on the watchdog > timer and going > >> into an endless loop. When the watchdog times out, it > resets, but > >> does not run my software (I am not sure what it is > doing, or how to > >> tell). The hardware boot flag is disabled and bootrst > is disabled so > >> it should not be jumping to the bootloader. > >> > >> It starts up fine into the software on power up. > >> > >> Anyone got any advice on what it might be doing? > > > > -- > Tim Mitchell > tim@sabretechnology.co.uk > http://www.sabretechnology.co.uk > Sabre Technology (Hull) Ltd, 3a Newlands Science Park, > Hull HU6 7TQ > Registered in England and Wales no.3131504 > t:01482 801003 f:01482 801078 --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear ---------------------------------------------------------------
Message
Re: [AVR-Chat] AVR 90USB1287 software reset
2007-07-17 by Jim Wagner
Attachments
- No local attachments were found for this message.