2022-11-08 06:27 AM
I modified the APPflash address in CUBEIDE, and generated the bin file through the IDE, but when I jumped to the APP program through my own Bootloader, the jump was not successful. There is no problem with the Bootloader program, which is already in other MCU programs. I tried it, I don't know if there is something wrong with my IDE settings
2022-11-08 06:28 AM
If I directly use STLink to download the program to the MCU, I can normally run the APP from the set address, but I can't jump from BOOT.
2022-11-08 07:35 AM
Toggle some GPIO for example with led , for handle where code is after jump.
2022-11-08 05:05 PM
Another program of mine, using the APP start address set by the keil magic wand, can jump to the APP normally. I don’t quite understand the difference between setting the APP start address in the IDE and Keil, and whether there are other settings that need to be set. where, my CUBEIDE version is V1.10.1
2022-11-08 05:17 PM
In addition, I am the generated Bin file, I checked the generated hex file, the address offset is correct
2022-11-09 12:57 AM
Are you deinitializing every important perpiheral before trying to jump to another APP space?
If youre still having issues with the vector table offset, maybe try this
2022-11-09 01:47 AM
The problem has been solved. The .s startup file of Boot is inconsistent with the .s startup file of the APP. I did not expect this kind of problem to occur.
2022-11-09 04:03 AM
good one