Go Down

Topic: code execution from EEPROM or external memory? (Read 698 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy