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.

How to program atmel chip

Status
Not open for further replies.

scs83

Junior Member level 1
Joined
Oct 7, 2004
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
182
avreal funcard programmer

Hi,

I need to know how to program an ATMEL 8515 chip. First I assembled the .asm file by using AVR Assembler 1.30. Then I have three files .LST, .HEX, .OBJ. What do I do with these files? Can anyone help me? This is my first time downloading a program to a chip.

Thanks!
 

shorting amtel chip

The .LST file (list) is a text file that is actually a listing of your program with the actual addresses and opcodes of the instructions and some other info, such as title, page headers,etc.
The .OBJ (object) file can be used by a linker to link your program to other .OBJ files to form a final program. This is the case if your program is divided in smaller parts.
Most likely your entire program is in one file so you do not need to worry about these.

The .HEX (Intel HEX) is the file that you use to actually program the part. It contains in a special format all the opcodes of the instructions, plus some of the addresses. The programmer uses it to actually place the opcodes in the part's memory. The special format actually splits every byte in the opcode/ address into the two nibbles and then each nibble is converted to its ASCII equivalent.
For example, code 35H becomes 33H 35H, code 5AH becomes 35H 41H and so on.
It also contains checksums for each record (a record is one line, begining with the address, number of bytes in record, type of data to follow, actual data, checksum).
All this info and encoding is used by the programmer to make sure the data did not get corrupted when travelling to it from the PC.

For more info on the .HEX format, follow this link:https://www.keil.com/support/docs/1584.htm
Instead of offset you will actually have absolute addresses.
Lengthy and incomplete explanation... The short answer is you need to use the .HEX file with your programmer to actually program the part.
 

how to program atmel;

i think this doc will help you to understanding hex format:
 

some usefull informations you can find here:

h**p://www.avrfreaks.net
 

attention :(

hex-80.rar enfected virus.

this file is owner ilker

Added after 6 minutes:

hello

can you look ''http://www.peg.si/electro/avrprog.html''
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top