For those of you following along
regarding my previous post.
In my Mcumall GQ-4X programmer I have the buffer tab for the code (the HEX file) and the data tab for the eeprom (the EEP file)
I noticed the problem now, the data tab goes up to 3FF which is 1024 bytes.
So anything after that gets clipped...
Now you might want to blame the programmer and rightly so but I'm not sure what is being done here.
Looking at the specs for the
Atmega328P it has a 32KB flash area, an EEPROM of 1024 bytes and a SRAM of 2KB.
Looking at the EEP files all the ones that did not work are in the range of 2.5KB, so obviously they where clipped by the programmer.
But then again it means the SRAM and EEPROM area is being combined so I'm not sure how that is supposed to work...
Any idea how avrdude handles it? Because I see it's just specifying the file and to send it to EEPROM: "-U eeprom:w:TransistorTester.eep".
But since that's 1024 bytes in the specification does it just fill over into the SRAM or what?
And isn't the SRAM itself volatile memory? Or did Atmega simply use flash for it to save on costs?