Draper, > Setting mode and device parameters.. OK! > Entering programming mode.. FAILED! > Leaving programming mode.. OK! As another poster (Jim) remarked this looks most like a problem with the clock or your connections to the programmer. If you are not using the internal clock and are using the external 7.3728 Mhz crystal, then you may have botched the fuses. Luckily you have a STK500 and might be able to use the XT1 to rescue the tiny2313. The fuses for the tiny2313 AVR910-based programmer are: EFUSE 0xff HFUSE 0xdf LFUSE 0xed > The 2313 does have external power and the jumper on the reset line > is on. I did check to make sure the reset line is being pulled low. That sounds all ok. Double-check all SPI, power and crystal connections to the tiny2313. > there anything obvious that I am missing? Here is the reference > design I was trying to copy. > > http://home.austin.rr.com/perks/micros/Projects/AVR%20ISP/AVR%20ISP% > 20Programmer.htm This is from my hobby project website. It is an AVR910-based programmer. When you read the article you will notice that I also give credit to Klaus Leidinger (and team) who originated the design and software. I just made a few simple updates and showed how it could be made on inexpensive stripboard. In my latest version I replaced the 6 pin SIL socket with a regular 10-pin AVR. Total cost is still less than $9 if you build it yourself. If you are still having trouble, contact me offline (mikep at oakmicros dot com) and I can sell you an already programmed tiny2313 from my Oak Micros website. The cost would be less than $3 not including first class postage. If there is sufficient interest I can make more available or even a kit of parts. You may also be interested in browsing some of the other AVR-based devices I have for sale. Mike http://oakmicros.com
Message
Re: programmer troubles
2007-11-14 by Mike Perks
Attachments
- No local attachments were found for this message.