GENERAL: CALLING BOOT LOADER FUNCTIONS FROM USER APPLICATION
Information in this article applies to:
My application requires a BOOT loader that loads an application into a FLASH device. I have created two different applications:
The FLASH application must call some of the functions in the BOOT loader. Is there a clever way to do this?
Yes. You may use the linker (and the PUBLICSONLY directive) to include the public symbols from the BOOT loader absolute object module into the FLASH application. Then, the FLASH application may access the functions and global variables in the BOOT loader application. The linker will resolve the symbolic names but the BOOT loader code will not be included in the FLASH application.
If you use the command line tools...
If you use the µVision IDE...
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, January 11, 2017
of your data.