This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Regarding Flash Mirror Mode in TM4C129NCPDT

Hi,

I'm using TM4C129NCPDT. I would like to implement boot loader to have field upgrade. I want to have two copies of firmware in flash. Flash mirror mode looks helpful feature to me. But I have few queries

1. As there are two images of firmware in flash and the booting from specific image will happen at run time. The physical addresses of these images will be different. Do I need to build two different images as per different locations (considering some offset)?

2. From the explanation of the flash mirror mode, I need to have two boot loader one for each image. Will these boot loader need to do addresses relocation or will it be taken care by micro itself based on some register setting?

 

Thanks,

Abhay

  • Hello Abhay,

    1. Yes, you need to have two different images as per different locations

    2. The boot loader that you have to write has to check some location (like EEPROM) to decide which of the two images need to be executed. This boot loader has to reside in the lower banks since after a Power On reset the mirror mode will get disabled and it will be re-executed.

    Regards

    Amit