cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F777 remapping/jumping to internal SRAM

harry anders
Associate II
Posted on July 07, 2018 at 14:54

Hi,

I was previously working on an stm32f429 MCU and successfully jumped to internal SRAM using:

__HAL_SYSCFG_REMAPMEMORY_SRAM();

I've ported my code to a new STM32F777 system and have realized the above function does not exist. Apparently the SYSCFG register does not have an option for remapping to internal SRAM.

How can I remap to interanl SRAM in STM32f7 MCUs? Do I have to program the BOOT_ADD0 & 1 registers and perform a soft reset?

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on July 07, 2018 at 17:19

I'm not sure of the necessity here. Can't you just use SCB->VTOR to change the vector table to RAM, and just to arbitrary code locations without remapping?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2
Posted on July 07, 2018 at 17:19

I'm not sure of the necessity here. Can't you just use SCB->VTOR to change the vector table to RAM, and just to arbitrary code locations without remapping?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on July 08, 2018 at 09:58

Thanks, that solved it for me.