Not recommended for new design: replaced by ATtiny2313A
How to set up the fuse bytes Properly ?Yes you can use Attiny2313 as a replacement of a AT90s2313.
But you must set-up the fuse bytes properly, because ATtiny work originally with internal RC oscillator.
http://www.atmel.com/dyn/resources/prod_documents/doc4298.pdf
$regfile = "attiny2313.dat"
$crystal = 10000000
Hello ,I don't know with software you use.
I only use BASCOM AVR but all software for AVR must have fuse selection.
And you, only need to disable "divided internal clock by 8" (CKDIV8) and enable external oscillator (CKSEL3, CKSEL2, CKSEL1, CKSEL0 to 1100).
And in BASCOM you need to add at the beginning of the program such command
Hello , Thank you for your Quote & noted your points ,By using table 4 from this pdf
http://www.atmel.com/dyn/resources/prod_documents/doc4298.pdf
You will set appropriate fuse bite in Code Vision AVR
If a Fuse Bit check box is checked, then the corresponding fuse bit will be set to 0.
If a Fuse Bits check box is not checked, then the corresponding fuse bit will be set to 1.
so, i sould be able to open the LedDisp.hex in codevision AVR & simply write the same in the chip , am i correct ?The LedDisp.hex is a file ready to upload to flash memory.
LedDisp.c is a main program that you can compile.
Yes, but you can open LedDisp.c to in codevision AVR and compile the file and then program chip.so, i sould be able to open the LedDisp.hex in codevision AVR & simply write the same in the chip , am i correct ?
Thank you for your reply ,Yes, but you can open LedDisp.c to in codevision AVR and compile the file and then program chip.
This is what you should do.All i will do is, open the leddisp.c file in Codevision & set the fuses correctly & program the chip .
Ok, Will go ahead & will keep you posted about the progress.This is what you should do.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
Replacement of potentiometer using resistor network | Test & Measurement | 3 | ||
Possible replacement | Power Electronics | 2 | ||
Looking for replacement micro switch | Datasheets, Manuals & Parts Identification | 2 | ||
AT90S2313 code not working | Microcontrollers | 1 | ||
AT90S2313-10 Programming Crystal | Microcontrollers | 2 |
by Duane Benson
by Aaron Carman
by Duane Benson