Author Topic: Fuse bits configuration for ceramic resonators in Avr studio 5  (Read 1591 times)

0 Members and 1 Guest are viewing this topic.

Offline liyaTopic starter

  • Newbie
  • Posts: 1
  • Country: in
Fuse bits configuration for ceramic resonators in Avr studio 5
« on: September 01, 2016, 09:07:27 am »
Hi Guys,
                 I am totally new to Programming world.I recently tried to flash my ATmega328P with USBasp programmer.I encountered a error on flashing on programmer ststing my device signature doen't match wih that of IC.I crosschecked my connections of ICSP Header.But it sounds good.I am a bit suspicious of the clock  frequency configurtion which I am totally unaware.I need to program chip with 12MHz ceramic resonator.I am totally stuck.Plz anyone help me :( :-[
 

Offline Xenoamor

  • Regular Contributor
  • *
  • Posts: 83
  • Country: wales
Re: Fuse bits configuration for ceramic resonators in Avr studio 5
« Reply #1 on: September 01, 2016, 12:11:57 pm »
Are you sure you have an ATmega328p and not a ATmega328?
 

Offline rfleming

  • Regular Contributor
  • *
  • Posts: 73
  • Country: au
Re: Fuse bits configuration for ceramic resonators in Avr studio 5
« Reply #2 on: September 02, 2016, 02:18:07 am »
Few things to also check. 12Mhz+ only works on devices that run > 4Volts (ish). Make sure you're powering our device from above 4volts.

Also, new avr's have fuses set to use internal oscillator that runs after the ckdiv fuse at 1Mhz. Thus your programmer must be lower than 400kHz when doing the first fuse read. I would typically recommend about 128kHz until you set the fuses to use the external oscillator. Also if you set it to use the external oscillator and the crystal doesn't work, you have to wait till your crystal works before you will be able to use the chip again.

Finally what Xenoamor said, check your device for what one you have exactly. What is the signature you read out? Is it all 0's or F's or...?
 

Offline arlipscomb

  • Contributor
  • Posts: 17
  • Country: us
Re: Fuse bits configuration for ceramic resonators in Avr studio 5
« Reply #3 on: September 08, 2016, 02:12:54 am »
I think that if your crystal is not working you can drive it with an external oscillator.
---
Al Lipscomb
AA4YU CISSP
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf