NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » makefile eeprom

April 22, 2013
by eminthepooh
eminthepooh's Avatar

As much as I've learned to stand on my own two feet and custom make everything from scratch past what the nerdkit has given me I'm still stuck using the standard makefile the kit comes with. And now I need to initialize the eeprom memory through EEMEM variables in my code but having trouble uploading it to micro.

long story short, I need to generate .eep file and send to micro, don't know how to edit the kit's makefile to do that. Any help? I'm using the atmega324p if you need starting addresses or something.

Thank you,

April 22, 2013
by pcbolt
pcbolt's Avatar

Hi em -

Did you try something like:

-U eeprom:w:eeprom.hex

where eeprom.hex is the upload file?

Other than that, you could write a program that takes values from the UART and stores them to EEPROM. What errors are you getting? Might be a missing header file.

Post a Reply

Please log in to post a reply.

Did you know that you can build an analog amplifier with one transistor and a few resistors? Learn more...