Another option is to just use one with enough memory to hold all of the various options. Jim On Thu, 20 Apr 2006 10:28:22 -0700 Ned Konz <bikenomad@gmail.com> wrote: > > 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 > > > > > > Yahoo! Groups Links > > > > > > --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear ---------------------------------------------------------------
Message
Re: [AVR-Chat] EXternal Program
2006-04-20 by Jim Wagner
Attachments
- No local attachments were found for this message.