bohumilfulin said:Ctownsend excellent idea!!! All my AVRs unlocked!!! Bottle of whisky is reday for you in Prague!
ScOe said:So you say i can use any crystal for chip i'm going to program ? 4Mhz will be ok ? Well i have 4mhz oscillator as it came few weeks ago so basically i just connect output of oscillator to xtal1 or xtal2 ? or is it the same ?
Firstly, my grammar indicated a recognition that ScOe's programmer was not working. Secondly, I was throwing an idea into the ring. As far as I am aware, I was trying to be helpful by suggesting another alternative to buying an oscillator. I did not make a demand that an ATtiny24 be bought. Also, I noted that ScOe has other AVRs available to him/her, as the other posts have indicated. Maybe programming an AVR to act as an oscillator would be overly complex, but if a spare AVR happens to exist in ones component trays, then it saves buying something and be burdened with P&P charges.ctownsend said:how is he going to program the attiny24 if his programmer is not working?
If you are going to order an attiny24 and pay shipping costs, you may as well just order the oscillator and be done with it. I think for some people writing the code to simulate an oscillator would a great deal more difficult than just buying the right part.
And besides you can always pull one off an old junk electronic device for free.
Also do you not think a simple exe program for dos is easier than whatever you posted above? Forgive me for sounding stupid, but how do you run this? Does it need to be compiled?
Is that easier?
cant resync
Reset pin released
The reset is brought low and then high very fast, so you cannot measure it with a voltmeter.ScOe said:Ive meassured voltage on reset pin and it always stay high. There is no low period while reseting avr.
Any avr ISP programmer can reprogram fuses as long as you have an oscillator connected to xtal1 on your avr. (provided you did not disable the SPIEN fuse, in which case you need a high voltage parallel programmer.)ScOe said:Can atmel original stk500 or mkii repair fuses? Im going mad with homemade programmers that doesnt work...
ScOe said:All is working well ... so port is ok and cable is ok ..
I was able to read device ID via parallel port clock, but while using external oscillator on xtal1 than it fail's. So than i tried fuse reset with xtal1 on parallel pin 5 and succeed. All locked avrs are now unlocked and ready for business!! Thanx !!The signature bytes for an atmega8 are 1E 93 07. Even though FBPRG16 cannot read & write an avr that uses page read & write(most newer avr's) it will still be able to read the device ID.
Try unplugging the parallel cable, disconnect the power to the programmer, plug it all in and try again. Try it a few times. I think sometimes the reset may not be released or one of the data lines. The straight cable is not a very good design, but it is easy for people to use as an emergency (NOT IN WINDOWS!, with no drivers to worry about)ScOe said:But now i dont understand why it failed to read chip with external oscillator ?
I re-did the avr910 programming disk for the attiny2313.ScOe said:Also, i would like to make that Avr910 programmer. Would it be possible to program Attiny2313 with that DOS proggy you uploaded ? It is hard to find 90s2313 (well at least with reasonable price. It is around 10$ here and tiny is 2$)
ScOe said:P.S. you deserved helped points
Here's a schematic for a stupidly simple (but occasionally dangerous) programmer cable that uses the parallel port (Also Here). I use this one myself and it works fine (sometimes it kills an AVR due to it being an unbuffered design). Although a buffered cable is advisable
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?