John It sounds to me as though you're saying that you _can_ program through DW - and re-reading the data-sheet it appears this should be the case - something I must look into further - thanks for the prod. It seems there has been a deal of discussion on AVRFreaks about possible problems with JtagICE II and DW. Perhaps my DW experience has been tainted by the fact that my setup simply doesn't do what it doesn't say on the tin. As far as enabling the DW fuse goes, the JtagICE II section on the DW interface says: "AVR devices with debugWIRE interface are shipped with the DWEN fuse un-programmed from the factory. The debugWIRE interface itself cannot enable this fuse." Is this wrong? Thanks, Mark John Samperi wrote: > At 09:41 PM 26/01/2007, you wrote: > >> you can't program with DW and can't have both ISP and DW enabled at >> the same time, >> so the program/debug cycle isn't exactly seamless. >> > > True, but why would you want to both program and debug at the same time > on the same chip that has DW enabled? Set the fuses BEFORE you start a DW > session, then simply "Build and run" from then on. The new code will be > automatically download into the chip each time you have a successful build. > > You don't even have to program the DW fuse as many people mistakenly do, > this will also be done automatically the first time you start a debugging > session. Once you finish debugging simply disable DW from within a DW > session and your chip is as good as new....well minus a few hundred write > lives :) > >
Message
Re: [AVR-Chat] I Need A Compiler
2007-01-30 by Mark Nowell
Attachments
- No local attachments were found for this message.