Failed to jump to APP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 6: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
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 7:35 AM
Toggle some GPIO for example with led , for handle where code is after jump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 5: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 5:17 PM
In addition, I am the generated Bin file, I checked the generated hex file, the address offset is correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-09 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-09 4:03 AM
good one
