Go Down

Topic: code execution from EEPROM or external memory? (Read 647 times) previous topic - next topic

robacarp

Without hand coding assembly to move the hex over to somewhere execution space, is it possible to read in from the flash/eeprom and execute it?  Theoretically there is no difference between data and code in memory anyways....
Robert Carpenter
(my hackery - http://robertcarpenter.net )

kg4wsv

Quote
Theoretically there is no difference between data and code in memory anyways....


huh?

although most large CPU use a von Neumann architecture http://en.wikipedia.org/wiki/Von_Neumann_architecture

many microcontrollers use the Harvard architecture http://en.wikipedia.org/wiki/Harvard_architecture

The AVR happens to be the latter.

-j

Go Up