Now that I have C arrays with the card EEPROM files and a short menu (command line interface) running over the USB port I can proceed to get the EEPROM read/write working.
I've got two functions now:
- void readEEPROM(char *eepromBuffer);
- void dumpEEPROM(char * eepromBuffer);
The readEEPROM( ) function reads the contents of the EEPROM. The function dumpEEPROM( ) provides a dump of the memory. The third function we need is:
- void writeEEPROM(char * eepromBuffer);
PSoC Utilization
The PSoC utilization is:
Flash used: 18696 of 131072 bytes (14.3%).
SRAM used: 2805 of 32768 bytes (8.6%). Stack: 2048 bytes. Heap: 128 bytes.
The logic utilization is practically nll.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.