PowerSwitch on Attiny2313A
-
- Posts: 3
- Joined: Sun Sep 07, 2014 8:30 pm
PowerSwitch on Attiny2313A
Welcome.
I built a system "PowerSwitch" based the ATTINY2313 by the example of http://blog.ok1cdj.com/2012/05/univerza ... y2313.html. The system works perfectly
Then I built another two layouts for my friends, but mistakenly bought ATtiny2313A (instead ATtiny2313).
After uploading the original file * hex unfortunately system "PowerSwitch" does not work.
I have absolutely no programming experience so my question is: Is it possible to run "PowerSwitch" onATtiny2313A microcontroller? Is the honorable forum members are able to help me with this?
I greet
Tom
I built a system "PowerSwitch" based the ATTINY2313 by the example of http://blog.ok1cdj.com/2012/05/univerza ... y2313.html. The system works perfectly
Then I built another two layouts for my friends, but mistakenly bought ATtiny2313A (instead ATtiny2313).
After uploading the original file * hex unfortunately system "PowerSwitch" does not work.
I have absolutely no programming experience so my question is: Is it possible to run "PowerSwitch" onATtiny2313A microcontroller? Is the honorable forum members are able to help me with this?
I greet
Tom
Re: PowerSwitch on Attiny2313A
Hey
I have no experience with the A variant of the 2313 but I did a few things on the ATTiny2313 (without A).
Just had a look at http://www.atmel.com/images/doc8261.pdf which outlines the differences between the two and judging from that it should just run right out of the box. Did you try?
Good luck!
I have no experience with the A variant of the 2313 but I did a few things on the ATTiny2313 (without A).
Just had a look at http://www.atmel.com/images/doc8261.pdf which outlines the differences between the two and judging from that it should just run right out of the box. Did you try?
Good luck!
Re: PowerSwitch on Attiny2313A
Meh... should have read all of your post, obviously you've tried it... sorry for that
Well thing is the chips are virtually identical. Did you double-check the circuitry? I'd still say the code should run right out of the box.
Well thing is the chips are virtually identical. Did you double-check the circuitry? I'd still say the code should run right out of the box.
-
- Posts: 3
- Joined: Sun Sep 07, 2014 8:30 pm
Re: PowerSwitch on Attiny2313A
Mr Onak wrote:Meh... should have read all of your post, obviously you've tried it... sorry for that
Well thing is the chips are virtually identical. Did you double-check the circuitry? I'd still say the code should run right out of the box.
I tested ATtiny2313A microcontrollers programmed on the proven operating the printed circuit board (equipped with a stand under microprocessor) so any error in the PCB is absolutely excluded - the same PCB is working correctly with the AT2313.
Ive loaded up the program (* .hex) using the software AVR-OSPII. Today ive loaded program (* .hex) using the software "mkAVR Calculator" but this change did not bring improvement.
In both cases, after installing the microcontroller, PowerSwitch does not work (Windows does not recognize the USB device)
My programmer is "USB AVR PROG", which certainly supports ATTINY2313 but I have no information about his collaboration with ATtiny2313 .
Please further suggestions
Tom
Re: PowerSwitch on Attiny2313A
Did you program all the fuses the same as on the attiny2313a? (and not rely on any defaults, i.e. not write some of the fuse bytes)
-
- Posts: 3
- Joined: Sun Sep 07, 2014 8:30 pm
Re: PowerSwitch on Attiny2313A
blargg wrote:Did you program all the fuses the same as on the attiny2313a? (and not rely on any defaults, i.e. not write some of the fuse bytes)
The AVR-OSPII despite choosing the option of programming fusebits, none of them programmed. In the "mkAVR Calculator" pointed fusebits programming, and achieved success. . The system has been programmed ATtiny2313 and an operating system works.
In conclusion, my mistake was not programmed fusebits.
Thank you for your help
Regards
Re: PowerSwitch on Attiny2313A
Fuses are always the thing I forget. It's sort of like having two apparently identical PCs, where one has some problem, and you eventually track it down to some obscure CMOS setting that differed. Fuses/CMOS are great but easily overlooked.