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.

Programming related query with ATmega64

Status
Not open for further replies.

movie_freak

Member level 5
Joined
Mar 20, 2007
Messages
89
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,943
I wanna know what is the role played by the crystal clock, during or soon after programming fuses..


Cause this happend with me:
I used a brand new controller and programmed it with only fuse bits, soon after programming the fuse bits, i clicked on other tab it showed me an error, I know the correct fuse bits were being programmed. only thing missing was the crystal, I forgot to solder crystal on the pcb. after this whatever i tried to do the programming window showed the error.

Then i connected the crystal, and the same controller was ready to program and use it.




Can anyone explain

Many Thanks,
Surya
 

There are 5 different clock options in AVR controller
you have to choose one according to the application and speed of operation

the different modes are given because the AVR controllers have internal oscillators of upto 4MHz and also they are having internal filters for different oscillators
so depending on your hardware you have to select the correct fuse bits
 

Hi,


By mistake if the fuse bits of ATmega64 are programmed to 0x00,0x00,0x00 (this happens when connect and click start in the auto programming tab with a fresh controller, without setting the fuses tab). I am using ISP programming. The controller becomes unusable, it starts giving error whenever we connect the programmer.

I have searched about this and found that we can now program fuses only through a parallel programmer, I wanna know why can't ISP do this? or may be some kind of a hardware reset(shorting all the pins or some other thing?)



Many Thanks,
Surya
 

You can do that with parallel programming.

Use stk500 like boards for this

Nandhu
 

If you read the Configuration and Security bits carefully you will find a bit SPIEN
which stands for SPIEN = Serial programming enable
so if you have write it to 1 i.e. Unprogrammed then you cannot use the ISP programming mode again untill you have enable this mode programming

so now yo need a parallel programmer to enable this
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top