Timeline for Is it possible to run a binary from EEPROM?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 18, 2014 at 22:55 | comment | added | Ignacio Vazquez-Abrams | Yeah, but if you're going to do that then you may as well run something fun like Forth or Python. | |
| Aug 18, 2014 at 22:45 | comment | added | Anonymous Penguin | For the VM thing, all you'd have to do is get the compiled C++, check the EEPROM for which instruction to be ran, and run that instruction. Of course, running it nativity on the chip would be multiple times faster and that is no easy task, but it'd be a fun project to learn about lower level stuff on the 328P... | |
| Aug 18, 2014 at 7:41 | comment | added | phuclv | +1. Note that some MCUs use modified Harvard architecture that allows the CPU to read/write data in program space, so you can copy the code from RAM to ROM and run it like self-modifying code | |
| Aug 18, 2014 at 4:26 | history | answered | Ignacio Vazquez-Abrams | CC BY-SA 3.0 |