Pages: [1]   Go Down
Author Topic: code execution from EEPROM or external memory?  (Read 538 times)
0 Members and 1 Guest are viewing this topic.
6500ft. Up in the Rockies!
Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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....
Logged

Robert Carpenter
(my hackery - http://robertcarpenter.net )

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: