2017-03-15 02:14 AM
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-remap2017-03-15 02:31 AM
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?