Assuming the bootloader and main app are both under your control, you could have the bootloader jump to the application entry point with a pointer to the version information (and any other information you wish) in a register, for the app to make use of as it sees fit. This eliminates any reliance on fixed memory locations.
↧