Hello all!
I recently downloaded SimHub to interface my games with arduino hardware and it's awesome. However, It can only drive one of the features like one oled display or one max7219 8-digit 7-segment display due to the lack of memory space (Arduino Leonardo).
My programing skills aren't good enough to reduce the sketch size so much that it all fits, but I thought if I add an EEPROM maybe I can use just microprocessor part of arduino and external EEPROM to store program. The rest of arduino memory can be used for variables. I have many EEPROMS, some reaching up to 8MB. I'd create an interface with a second arduino if necessary, but I need to know if it's possible and if anyone can help me achieve it. If it works, I'd create open source arduino extra memory pcb or a shield for external memory.
Not possible for many, if not most Arduinos. The memory address bus is internal and inaccessible.
I suggest that you do a search for the EEPROM that you have in combination with the key word Arduino. There is a good chance that you can find something if the EEPROM uses I2C or SPI. You however can only store variables or fixed data, not code.
Which memory is lacking? RAM or flash (program memory). Are you using the F mcro to store fixed text in flash memory instead of in RAM?
Hello krki012
Check the size of datatypes and arrays realy need and use the F-Marcro for Serial.printlns.
Have a nice day and enjoy coding in C++.
You can add external memory such as FRAM to store data, messages, etc but you cannot run code from it. The ones I use are 32K x 8 but for data only. Jremington stated it correctly the internal instruction bus cannot access the external memory. Others have mentioned the "F" macro that can save a lot of memory.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.