Tool/software:
I want to create a fixed space block in the Bootloader area, which can store the Bootloader version number information
When I enter the Application execution, I can obtain the current Bootloader version number according to the fixed space created by the Bootloader
In this way, I can get the current version of Bootloader at any time
In the Bootloader section I added
volatile char supplier[] __attribute__((location(0x08000000))) = "CEER-V33.11.BB.AA";
#pragma RETAIN(supplier)
in .map file
but in .bin I found that the data is not continuous, which will cause me to be unable to read the version information correctly when reading the application
What is read in Application will be "CEER-V33y.11.BB.A.A."
Can you suggest how to get the current version number of the Bootloader so that it can be read from a fixed location in Flash after entering the Application, or is there any other way to obtain the version number of the Bootloader?