STM32G0: Remapping address 0x00000000 to SRAM does not work
Hello,
I'm using a STM32G0B1CC and I'm trying to remap address 0x00000000 to SRAM like this:
__HAL_RCC_SYSCFG_CLK_ENABLE();
__HAL_SYSCFG_REMAPMEMORY_SRAM();Unfortunately this does not work and 0x00000000 is still mapped to FLASH.
If I try to remap to system memory it works just fine:
__HAL_RCC_SYSCFG_CLK_ENABLE();
__HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH();Remapping back to FLASH is working just fine, too...
This is just baffling me because this just works with my original application using the STM32F030CC. Is there a restriction related to remapping SRAM?
Thank you for your kind help!