winIDEA checks if the start address from the Symbol file (ELF file) points to the same address specified in the STAD (Start address) field of any valid UCB (UCB_BMHDx_ORIG or UCB_BMHDx_COPY, BMHDx for x=0, 1, 2, 3). If it doesn’t, FLASH programming is rejected and a warning appears:
Note that wrong UCB can lock the device permanently and that number of writes to UCB is limited. Refer to this topic for more information.
If you are sure UCBs are OK and the Application start address in the Symbol file is the correct one, then you can adjust the following settings.
1. Open Hardware menu / CPU Options / Debugging.
2. Set option If device is about to be programmed to non-destructive state to Allow programming.
3. Uncheck option Check if program entry point is reachable.
In many cases the whole Application is divided into a Bootloader and an Application. Bootloader is pre-programmed together with UCBs and STAD field from one of the UCB’s point to start address of the Bootloader. If after that the Application is downloaded, UCBs are already pre-programmed and start address in the Symbol file points to the start address of the Application which is different to the one already pre-programmed in UCBs.
Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.
{{ topic.Content }}