How to download code to FLASH Memory Bank 2 using STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-16 9:11 PM
Hello, everyone.
When downloading the code using STM32CubeProgrammer, I was able to download the code to the location I wanted by specifying the start address.
What I'm curious about is how to set up to download to where I want to be when I debug and download using STM32CubeIDE. (For example, download code to flash memory bank 2 sector 0)
Is there any way like this?
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-16 9:45 PM
Set FLASH ORIGIN= in your linker script (*.ld file) to the address where you want your program to be loaded. Ensure that SCB->VTOR is set to the proper address in the startup code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-16 9:45 PM
Set FLASH ORIGIN= in your linker script (*.ld file) to the address where you want your program to be loaded. Ensure that SCB->VTOR is set to the proper address in the startup code.
