Hi Ivan, I just fumbled my way to full functionality. Apparently, I had to read and write the ISP clock frequency before reading or writing flash or EEPROM even though everything else worked... Thanks for the quick response. You were an excellent 'sounding board'. :-) Regards, Les. On 24 Mar 2006 at 13:32, Ivan Vernot wrote: > Hi Les, > A couple of thing to try > - Check hat the ISP freq is < 1/4 Xtal freq (Under 'Board' Tab the > ISP freq > combo box)\ It says the attainable frequency is 1.049kHz (yes, kHz). The board has a 14.7456MHz crystal and the oscillator is enabled and running. > - in the 'advanced' tab try to read the signature bytes (does not > solve anything but interesting.. This works. "Signature matches selected device" > - Try to manual erase the device (in 'Program' tab) before trying to > program flash (this resets the fuses as well) It erased ok. > An the some 'simple' ones (Ok, sorry to insult you ;-) ) but ... > - in the 'Program' tab - check that the 'Programming mode' settings > are > - 'Erase Device before programming' checkbox set > - 'ISP' checkbox set You will have to do better than that before I will consider myself insulted! :-) Cheers, Les. > ----- Original Message ----- > From: "Les Grant" <LesGrant@grantronics.com.au> > To: <AVR-Chat@yahoogroups.com> > Sent: Friday, March 24, 2006 12:52 PM > Subject: [AVR-Chat] AVRISP Mk2 problem > > > > Hi everyone, > > > > I have an AVRISP Mk2 here. I can read and write fuses, I can read > > the chip ID (mega32) but I can't read or write the flash. I have > > tried it running from a powered USB hub and the USB port on the > > front of the PC. Has anyone had any similar experiences? Any clues > > please? > > > > Regards, > > Les Grant. > > > > ------------------------------------------------------------- > > Les Grant. VK2KYJ. Phone: 02 9896 7150 Fax: 02 9896 7153 > > Grantronics Pty Ltd Int'l: +612 9896 7150, +612 9896 7153 > > ABN 46 070 123 643 > > PO Box 275, Wentworthville. NSW. 2145. Australia. > > http://www.grantronics.com.au mailto:info@grantronics.com.au > > Microcontroller Hardware and Software development: > > Atmel AVR - C, ASM, Digital and analogue > > ------------------------------------------------------------- > > o ImageCraft AVR, TI, Motorola and ARM Windows-hosted C compilers o > > ELNEC Device Programmers (E)EPROMs, Flash, Micros, PLDs o CAN-BUS > > Hardware and Software from LAWICEL o Logical Systems Programming, > > Prototyping & Production Adaptors o Cleverscope USB oscilloscopes > > ------------------------------------------------------------- > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > ------------------------------------------------------------- Les Grant. VK2KYJ. Phone: 02 9896 7150 Fax: 02 9896 7153 Grantronics Pty Ltd Int'l: +612 9896 7150, +612 9896 7153 ABN 46 070 123 643 PO Box 275, Wentworthville. NSW. 2145. Australia. http://www.grantronics.com.au mailto:info@grantronics.com.au Microcontroller Hardware and Software development: Atmel AVR - C, ASM, Digital and analogue ------------------------------------------------------------- o ImageCraft AVR, TI, Motorola and ARM Windows-hosted C compilers o ELNEC Device Programmers (E)EPROMs, Flash, Micros, PLDs o CAN-BUS Hardware and Software from LAWICEL o Logical Systems Programming, Prototyping & Production Adaptors o Cleverscope USB oscilloscopes -------------------------------------------------------------
Message
Re: [AVR-Chat] AVRISP Mk2 problem
2006-03-24 by Les Grant
Attachments
- No local attachments were found for this message.