AnsweredAssumed Answered

Programming both MCUBOOT and Application on flash

Question asked by Vincent Garbonick on Mar 27, 2019
Latest reply on Apr 15, 2019 by Kerry Zhou

Some background:

  • Have access to IAR 6,7,and 8
  • Have access to version 2.0.0 and version 2.5.0 of MCBOOT
  • Using a custom microcontroller board with a K64 chip

   I have began a new project. The goal of this project is to have have MCUBOOT running in the flash memory of a K64 chip. While the bootloader is in the flash I want to have a specialized application running in the background. The intention is to use the bootloader to update and flash the application when needed.

 

   Both the application and the bootloader have their own .ICF files to map them out to memory. However, in order to have the application and bootloader co-existing, I would need to modify the .ICF files. The Bootloader would have to exist at address 0x000 of the flash memory and the application would have to exist afterwards.

 

   To give perspective, this project is functionally similar to how you can flash the led_demo program to address 0x0A000 using the bootloader.

 

   Does anyone know what a good starting place is or if there is a way to automatically generate an .ICF file?

Outcomes