stm32F101 memory remap with HAL
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-03-15 2:14 AM
Posted on March 15, 2017 at 10:14
Hi,
I'm working on a stm32F101CBT6 and need to support SW update - a proprietary bootloader will run at startup, and will quickly jump to the application.
I've done it before, on other stm32 chips, but with the StdPeriph_Lib.
I'm now working with the CubeMX HAL, and presume I should be using __HAL_SYSCFG_REMAPMEMORY_SRAM, but it's not defined in stm32f1xx_hal.h.
Any help?
#memory-remap
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-03-15 2:31 AM
Posted on March 15, 2017 at 10:31
If I update SCB->VTOR at the start of main, UART works (so I presume all interrupts work):
int main(void)
{
SCB->VTOR = 0x08002000;
...
}�?�?�?�?�?�?�?
Can anyone confirm that?
