Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

avr attiny 2313 program burning

Status
Not open for further replies.

thannara123

Advanced Member level 5
Advanced Member level 5
Joined
Jan 7, 2010
Messages
1,602
Helped
122
Reputation
244
Reaction score
116
Trophy points
1,353
Visit site
Activity points
10,626
which file i burn to the avr Attiny2313 ?
have to both file with extension .he and .elf ? if yes please tell me how ?
thanks
i have made a lcd interfacing project and burn its hex file .that is working in Proteus .but not in practically .... i dint connected in any crystal to ?
 

yes burned hex file only but not working connection checked ......lcd nothing displayed . may i need to attach any crystal to the attiny2313.
i think it has an internal crystal is it ?
 

what crystal speed you defined in the code ?

- - - Updated - - -

yes it has got internal oscillators up to 8Mhz

- - - Updated - - -

yes it has got internal oscillators up to 8Mhz

- - - Updated - - -

did you check preset attached to 3 pin of lcd adjust it
 

i didnt connetced pin 3 .
i not defined clock speed in my code .
now the clocke declered as #define F_CPU 4000000UL// is it correct ?
 

Only hex file ?
I have used eeprom file also in my program ?
 
Last edited:

dont know about the fuse setting please tell me more ?

The AVR fuse settings are similar to the PIC configuration register settings.

The are both used to properly configure the powerup state of the device, before the execution of the code contained in flash.



BigDog
 
I didnt get about the fuse setting .what i have to do in my case ....?
Or
Is it has a default value ?
what will happen when i not set the fuse bit ?
 
Last edited:

I didnt get about the fuse setting .what i have to do in my case ....?

Depending on your compiler toolset, if properly configured the resulting ELF file can include the require fuse settings.

Or

You can manually set them when programming the device using the programming utility like PonyProg, etc.

Programming AVR fuse bits – oscillator settings

Is it has a default value ?
what will happen when i not set the fuse bit ?

Not ensuring the device fuses are properly configured in a known state can easily produce unexpected results, in the case of AVRs some of these unexpected results can be a hassle to circumvent.

I've always chosen to configure all configuration/fuse settings to a known and desire state regardless of the device family I'm current using in a design.

The minimal amount of time required to properly configure a device, can save a considerable amount of time later debugging.

BigDog
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top