AnsweredAssumed Answered

STM32F103: SRAM startup

Question asked by Nick Belazor on May 26, 2018
Latest reply on May 26, 2018 by Nick Belazor

Hi all!

 

When i try startup my firmware from SRAM on stm32f103RE then nothing.. 

 

BOOT1 and BOOT0 is set to 1

 

Firmware developed on KEIL. Please, look my project settings:

 

Keil project settings

 

 

int main(void){

__disable_irq ();
SCB->VTOR = 0x20000000U; 
__set_MSP(*((volatile uint32_t *) 0x20000000U));
__DSB ();
__enable_irq(); 

 

.....

init's and etc and main programm 

...... 

 

}

 

1. I place my compiled firmware over ST-Link Utility on region 0x20000000 (upload dump and check it, all ok),

2. set BOOT1 & BOOT0 = 1,

3. and press RESET. Nothing! =(  programm does not work (not blinked).. does not startup

 

why?

 

 

thank

Outcomes