cancel
Showing results for 
Search instead for 
Did you mean: 

MEM_MODE resets to 0x00 e v e r y t i m e (stm32f072)

Javier1
Principal

I want to move the isr vector table to SRAM

Related to this question

  • I moved my isr vector table to SRAM (linker script)
  • Now i want to aliase the memory addr of 0x0000 0000 to be found in SRAM.
  • In order to do that i believe i need to change the bits from SYSCFG->CFGR1=0x03, and they need to stay that way for the next tme the system reboots to look for the isr vector table in SRAM.

My problem is , SYSCFG->CFGR1==0 every new reboot, even if i changed to 0x03

Where can i find info about how to set SYSCFG->CFGR1 MEM_MODE bits ?

I found this so far:

source of the image

0693W00000BblMRQAZ.png

we dont need to firmware by ourselves, lets talk
1 ACCEPTED SOLUTION

Accepted Solutions
Javier1
Principal

I completely missed the info in the ref manual.

0693W00000BblLwQAJ.png

we dont need to firmware by ourselves, lets talk

View solution in original post

1 REPLY 1
Javier1
Principal

I completely missed the info in the ref manual.

0693W00000BblLwQAJ.png

we dont need to firmware by ourselves, lets talk