I think that if you haven't a lot of data to write it is more simple and time efficient to use a simple I2C eeprom or an SPI eeprom external connected to the LPC. Flash programming generally is used to write calibration data and so on during production or calibration not many times. Gilles B wrote: > Hello everyone, > > I am executing my program from flash memory, but I would like to > relocate the IRQ vector and the code of the handlers (uart0_handler, > timer0_handler,...) in RAM, so I won't miss incoming data from the > UART while writing the internal flash using IAP routines. > > I am using the GNU toolchain, but I couldn't find examples or > documents about how to achieve this. > > The parts I would like to relocate (IRQ vector + handlers) are written > in assembly (actually it is Ashling's startup code for EVBA7), in the > same section as the other vectors (reset, undef,...). > > Do I have to relocate them all (vectors + code)? But then, the reset > vector won't be anymore at address 0, and the code won't run after a > hardware reset? > > Does anyone know how to do this? > > Thanks a lot, > > Gilles > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > Yahoo! Groups Sponsor > ADVERTISEMENT > <http://us.ard.yahoo.com/SIG=1298hm3kj/M=295196.4901138.6071305.3001176/D=groups/S=1706554205:HM/EXP=1087460412/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> > > > > ------------------------------------------------------------------------ > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > >
Message
Re: [lpc2000] IRQ vector and handlers relocation
2004-06-16 by Micron Engineering
Attachments
- No local attachments were found for this message.