On Apr 15, 2006, at 6:10 PM, jme_cd wrote: > I am making a robot and want it to be able to do different tasks. I > would like to be able to do this by storing the programs on seperate > EEPROM chips and then swapping then depending on what i want it to do. > How do i call the software on the external chip to run as the program > rather then storing it on the main controller? You could link multiple versions of the program and just extract the varying part. To do this you'd need a linker script that reserved a fixed part of flash memory for the to-be-loaded program, so that the addresses following that program would stay the same. You might also want to look at the Turbo SIM project; they've come up with an avr-binutils patch that allows loadable applications on the AVR (very similar to what you want to do). http://www.bladox.com -- Ned Konz MetaMagix embedded consulting MetaMagix@gmail.com
Message
Re: [AVR-Chat] EXternal Program
2006-04-20 by Ned Konz
Attachments
- No local attachments were found for this message.