+ Reply to Thread
Results 1 to 9 of 9

Thread: calibration byte for programming atmega-8L

  1. #1
    kasser Newbie
    Join Date
    Feb 2007
    Posts
    42

    Default calibration byte for programming atmega-8L

    please I am beginner ..
    when I want to program the atmega-8L on the programmer ,the message apeares , it requires the calibration byte .
    what is the byte calibration and what is its value.
    thanks again.


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,797

    Default

    Presumably it's similar to the calibration word in small PIC's?, as such it's stored inside the chip, placed there during testing at the factory. Your programmer 'should' automatically read and restore the calibration byte as you erase or write the chip - it's actual value will vary depending on the specific chip, that's why it's called a 'calibration' byte.

    The datasheet for the device should tell you where it's stored, for PIC's it's the highest word in program memory.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    kasser Newbie
    Join Date
    Feb 2007
    Posts
    42

    Default

    thnk you
    but the message which apeares when I program atmega-8 by the programmer ,don't apeare on when I program Pic (e.g pic16f..)

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,797

    Default

    Quote Originally Posted by kasser
    thnk you
    but the message which apeares when I program atmega-8 by the programmer ,don't apeare on when I program Pic (e.g pic16f..)
    Depends if you use a PIC that has a calibration byte?, such as the 12F675, and it might save and restore it without even telling you.

    But like I said before, read the datasheet for the chip, and see where it's stored - if you've already wiped it, then you need to find some way of recalibrating it.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,826
    Blog Entries
    1

    Default

    Are you refering to the signature byte? The calibration byte is not required for programming, perhaps you're refering to the signature byte? In which case your programmer is telling you you've set it up to program the wrong type of device. What hardware and software are you using for programming ? On the AVR series the configuration bytes are read only as they're OTP fuses tripped during manufactoring, I've heard of a few issolated cases of these fuses becoming corrupted but it is extremely rare.
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  6. #6
    mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent mneary Excellent
    Join Date
    Feb 2007
    Location
    California USA
    Posts
    3,835

    Default

    This is the third time I've seen you post this question. Was the answer you received yesterday on avrfreaks lacking in some aspect?

    [edit]Should we believe that your $1500 programmer came without instructions?[/edit]
    Last edited by mneary; 8th May 2007 at 10:36 PM.

  7. #7
    kasser Newbie
    Join Date
    Feb 2007
    Posts
    42

    Default

    Quote Originally Posted by Sceadwian
    What hardware and software are you using for programming ? .
    the software is avr studio.
    the programmer is all-11a.
    the mcu is atmega-8L.

  8. #8
    kasser Newbie
    Join Date
    Feb 2007
    Posts
    42

    Default thank you for all

    thank you for all

  9. #9
    HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent
    Join Date
    Feb 2006
    Location
    Florida
    Posts
    3,082

    Default

    Have you looked through the ATmega8 Data Sheet? There should be section on calibration of the internal clock, and pretty much anything else. I've only done Attiny13L and Attiny2313L, haven't calibrated anything. Believe there is an Appnote on the Atmel website concerning this as well.

+ Reply to Thread

Similar Threads

  1. Speedometer
    By Kiko in forum Micro Controllers
    Replies: 131
    Latest: 29th November 2007, 05:33 PM
  2. DS1302 with PIC16f877 program
    By RasCreationKing in forum Micro Controllers
    Replies: 28
    Latest: 3rd May 2007, 12:03 PM
  3. 10 bits adc using 16f877
    By sixty9sandals in forum Micro Controllers
    Replies: 6
    Latest: 25th February 2007, 08:40 AM
  4. Need some help with a code provided by ATMEL
    By ikalogic in forum Micro Controllers
    Replies: 1
    Latest: 23rd January 2007, 02:46 PM
  5. Ultrasonic receiver to PIC
    By ChArLyZzZ in forum Micro Controllers
    Replies: 2
    Latest: 3rd September 2005, 08:10 AM

Tags for this Thread