> Balakumar, > > If you wanted a pure C solution... > > typedef void (*POINTER_TO_FUNCTION)(void); /* Pointer to function */ > > POINTER_TO_FUNCTION ptf; > > ptf = (POINTER_TO_FUNCTION)* 0x1000000 > (*ptf)(); /* Run the code at the reset vector address */ > Regards Jane > Jane > > balakumar chinuswamy wrote: > >> >> Thank you MIKE , >> >> i will check and implement this and let you know the result . >> >> regards >> Bala >> >> On Fri, 06 May 2005 Michael Anburaj wrote : >> >Bala, >> >; for ADS or SDT >> >Image2Addr EQU 0x10000000 ; Put the execution >> >address of Image2 here >> >// for GCC >> >#define Image2Addr 0x10000000 // Put the execution >> >address of Image2 here >> >ldr r0,=Image2Addr >> >mov pc,r0 ; no-return >> >This assumes that Image2 is linked for a particular >> >address (here 0x10000000) >> >Cheers, >> >-Mike. >> >--- balakumar chinuswamy >> ><cbalakumarbe@...> wrote: >> >> >> >> I have two Images of firmware in my controllers >> >> flash. >> >> >> >> Initially i will boot the image_1 which will be at >> >> the >> >> default reset location. >> >> >> >> In the middile of the Image_1(running) i have to >> >> boot the >> >> Image_2 . >> >> >> >> I have to boot the image_2 from the startup . >> >> >> >> What can i do to jump from Image_1 to Image_2. >> >> >> >> regards >> >> Bala >> >> >> >> >> >> [Non-text portions of this message have been >> >> removed] >> >> >> >> >> > >> >Yahoo! Mail >> >Stay connected, organized, and protected. Take the tour: >> >http://tour.mail.yahoo.com/mailtour.html >> >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 >> > >> > >> >Your use of Yahoo! Groups is subject to the >> >Yahoo! Terms of Service >> >. >> > >> >> >> [Non-text portions of this message have been removed] >> >> >> ------------------------------------------------------------------------ >> *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/>. >> >> >>------------------------------------------------------------------------ >> >>No virus found in this incoming message. >>Checked by AVG Anti-Virus. >>Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005 >> >> >
Message
Re: [lpc2000] Doubt regarding LPC
2005-05-07 by Jane Highland
Attachments
- No local attachments were found for this message.