Skip to main content

All Questions

Tagged with
2 votes
2 answers
527 views

How to store the last counting value in EEPROM in ATmega8 after power failure

I written a program to store the last counting value according to ATmega8 datasheet. but it didn't save the last value. The counter variable went to zero after power failure. Please check the ...
Karim Quet's user avatar
0 votes
0 answers
94 views

EEPROM chip always toggling bit when reading

I have a parallel EEPROM, the AT29C020 (doc: http://pdf.datasheetcatalog.com/datasheet/atmel/DOC0291.PDF) In order to read it I'm using an ATMega8535 as it has enough pins. At first I thought reading ...
PeterHerb's user avatar
1 vote
2 answers
93 views

Brown-out detection with an external clock ATmega1280

I'm using ATmega1280 with an external clock and I have some questions about the "safe operating area" for preventing EEPROM corruption with BOD. The external clock is: Crystals 14.7456MHz ...
Daniel Surizon's user avatar
0 votes
0 answers
366 views

Microcontroller(Atmega16A) hangs in Stop method while communicating using I2C with Atmega16 and 24LC256

First of all let me say that I am a beginner in embedded programming. I am trying to do write/read using I2C protocol from 24LC256 EEPROM using Atmega16A. While debugging in Atmel Studio 7, I see I ...
Embedd_0913's user avatar
0 votes
1 answer
664 views

How to connect multiple AT28C256/AT93C256/AT24C256/24LC512 EEPROMS to have more space

I want to have more memory say 1 Mega Byte, But I don't know how to connect multiple EEPROMS either in series or parallel I would like to use either AT28.... or AT93.... or AT24.... series Also ...
Dickens A S's user avatar
0 votes
1 answer
2k views

What is needed to store readable/writable data to flash/eeprom [closed]

I am wanting to add some readable/writeable memory to my ATmega8/attiny project where I can store data, recall the stored data, then overwrite the stored data. The stored data must be able to be ...
randy newfield's user avatar
0 votes
2 answers
3k views

Primary diff between EEPROM and Flash mem, in terms of code memory

In terms of storing program commands, what is the definable difference between EEPROM and Flash memory? Also, in this particular context - For a personal project developing audio codec using TI ...
phenomenon's user avatar
1 vote
4 answers
1k views

ATmega328p and USB conection to PC

I posted the same question on StackOverflow and I was redirected here. For my project I need to be able to program the eeprom of an Atmega 328p via an USB to PC. I tried to incorporate an USBasp ...
user3713940's user avatar
7 votes
5 answers
2k views

EEPROM endurance in energy meter?

I am designing an energy meter for electricity billing purposes by converting an analogue energy meter and counting the number of pulses given by the analogue meter's LED. Since power may be cut off ...
Debidutta Pattanaik's user avatar
4 votes
3 answers
1k views

I need to lock reading my mega328 flash but be able to write to the eeprom

I need to be able to prevent other from copying my program placed in the flash, but want to still be able to write to the EEPROM. I tried the lock bits by setting them to Mode 3 (0x3C). But that will ...
T Tuba's user avatar
  • 41
5 votes
3 answers
7k views

Minimum voltage to avoid EEPROM corruption for ATMega328P

I have a battery powered contraption with an ATMega328P with Arduino code that sleeps most of the time. Occasionally it needs to write some values to EEPROM. It's battery powered so I have tried to ...
rslite's user avatar
  • 193
4 votes
3 answers
4k views

the . hex file we burn goes to flash memory or RAM or EEPROM of Atmega8?

The flash memory of atmega8 is 8Kb. Is this the maximum size for the .hex file, or it the max memory which i can allocate to variables in my code? If none of the above is true, than what is memory ...
shafeeq's user avatar
  • 115
1 vote
1 answer
3k views

Pointer Size using eeprom.h with ATmega328p in AVR-GCC

I am working on a project that randomly reads and writes large blocks of data from EEPROM, based on user input. I have used the EEPROM before, but I never really thought about this. In the operations ...
Kurt E. Clothier's user avatar
0 votes
1 answer
273 views

Ardupilot, atmega1280 and barometer

I'm working on a project and I need to know where the information taken by the barometer sensor are stored. I think in the eeprom, but exactly where? Is there a specific address or register memory? ...
DarkCoffee's user avatar