ATMEGA8A-AU TQFP Arduino programming

hi can anyone help me to programming ATMEGA8A-AU TQFP ?
i can't find the board on arduino software to support this chip?

bill_lask:
i can't find the board on arduino software to support this chip?

Select board "Arduino NG or older w/ Atmega8".

i can't find this were can download it?

thanksss

bill_lask:
i can't find this were can download it?

It's in every Arduino IDE by default, at least up to IDE version number 1.6.4.

With older IDEs select from the main menu "Tools - board - Arduino NG or older w/ Atmega8".

With IDE version 1.6.4. you will have to make two selections:

  • Tools - board - Arduino NG or older
  • Tools - processor - Atmega8

Tools:Board, it’s not listed near the bottom?
Which IDE version are you using?
-AU-TQFP just defines the physical package. -AU is the 32 pin TQFP package.

All Atmel microcontrollers have a 3-byte signature code which identifies the device. This code

can be read in both Serial and Parallel mode, also when the device is locked. The three bytes

reside in a separate address space.

For the ATmega8, Atmega8L, Atmega8A, the signature bytes are:

  1. 0x000: 0x1E (indicates manufactured by Atmel)

  2. 0x001: 0x93 (indicates 8KB Flash memory)

  3. 0x002: 0x07 (indicates ATmega8 device)

So selecting “Arduino NG or older w/ Atmega8” will work for the surface mount TQFP package or the thruhole DIP part.
That will set you up with these fuses:

atmega8.bootloader.low_fuses=0xdf - see attached, and datasheet for more info

atmega8.bootloader.high_fuses=0xca - see attached, and datasheet for more info

and 16 MHz operation:

atmega8.build.f_cpu=16000000L

i try the Arduino NG or older w/ Atmega8 but bosent work

because i am beginner can you help my were can i set this fuses?

bill_lask:
i try the Arduino NG or older w/ Atmega8 but bosent work

because i am beginner can you help my were can i set this fuses?

Is it a straight from the factory Atmega8, without any bootloader until now?

What is your Atmega8 circuit?

Do you have a 16 MHz external crystal oscillator with your Atmega8?

Do you have a USB-serial adapter connected, want to upload a a bootloader and then upload the sketch by using the bootloader?

Or do you have an ISP-Programmer, have an ISP-connector in your circuit and want to use upload by ISP-programmer?

i use 16 mhz crystal
i dont need bootloder i programming with isp

The select the proper programmer under Tools -> Programmer

i select this but i cant programming mayde i must set the fuses but i didnt know how

bill_lask:
i select this but i cant programming mayde i must set the fuses but i didnt know how

Even if you don't need a bootloader, please choose from the main menu:
Tools - Burn Bootloader

When using this function, two things will be done:

  • the fuses will be set correctly
  • the bootloader will be uploaded to your board
    So after using "Tools - Burn Bootloader" your board will have a correct fuse setting accordingly to the entry in the boards.txt file.

As a next step you then can use:
File - Upload Using Programmer

i cant burn bootloader because it has error
this is my problem
mayde i must change something in board.txt

bill_lask:
i cant burn bootloader because it has error
this is my problem
mayde i must change something in board.txt

Maybe you have a problem with your Atmega8 PCB circuit or with the ISP-connection.

It's hard to say if you never ever post any details about circuit schematics or about detailed error messages thrown out while trying to burn the bootloader.

i test all my connection and its ok :confused:

this is my cirqut and the arduino error

Show error output with verbose output enabled.

Check for shorts between adjacent pins, and between crystal and ISP pins and power/ground.

Did you forget the decoupling caps?

finally you were right to blame the circuit
i upload the programm but i cant burn the bootloader soo the delay dosent work as it should be

when i burn the bootloader give me an error"efuses" memmory type not defined for part "atmega8"

Can you show the whole error? That will tell me exactly what the problem is - it’s either in boards.txt or avrdude.conf

this is the error in arduino software

Hi,

Burning the Bootloader

To burn the bootloader, you'll need to buy an AVR-ISP (in-system programmer), USBtinyISP or build aParallelProgrammer. The programmer should be connected to the ICSP pins (the 2 by 3 pin header) - make sure you plug it in the right way. The board must be powered by an external power supply or the USB port.

Have you plugged the ICSP in the right way?
What ICSP unit are you using?
Tom.... :slight_smile:

error"efuses" memmory type not defined for part "atmega8"

Atmega8 does not have an extended fuse byte.
Delete that line from boards.txt if it's there.