Programming EEPROM memory of ATtiny2313

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Programming EEPROM memory of ATtiny2313

Postby sdancer75 » Wed Apr 18, 2012 9:52 am

Hi,

I am new in the microcontrollers world and I want your help.

I own a universal programmer (Genius G540) and I want to program an Atmel ATtiny2313 mcu.

I own two files :

1. "main.hex" which is the main program (flash part) and
2. "main.eep" which is the eeprom data (eeprom part).

Now the problem is, that I don't know how to program the [url]eeprom data[/url].

If I load the "main.eep" file (as I did with "main.hex") and write thru this into the ATtiny2313 its overlapping my flash data and not the eeprom data as it would be.

My programmer does not have such an option (like the AVStudio) but I suspect that the "Buffer address offeset" has something to do with this. I mean that if the eeprom area is just after the flash area then I have to specific the offset, but I am not sure if I am wrong and what is the actual offset.

Can you please help me with this ?

Take a look of my programmer options below.


[img]G540.jpg[/img]
Attachments
G540.jpg
G540.jpg (153.31 KiB) Viewed 605 times
sdancer75
 
Posts: 1
Joined: Wed Apr 18, 2012 9:35 am

Return to Microcontrollers

Who is online

Users browsing this forum: No registered users and 5 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [100]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]