I have a board with a ATMEGA328P-PU eprom chip on it. For a verification purpose, I want to be able to read the contents of the chip and output that via the serial port. I know I can read the EEPROM portion using the serial commands, but that is only 512 bytes of it.
Can someone tell me how to read all the contents of the entire chip, all bytes including the memory portion and the portion that the C programming resides on? Basically every byte of the chip.
I would then like to output the bytes through the onboard serial port to a program I will write. Is there any way to read the contents of the whole chip byte by byte using some sort of sketch?
Thank you for any help you can provide.