AnsweredAssumed Answered

Working without external crystal

Question asked by carmi.gil on Jul 9, 2014
Latest reply on Jul 10, 2014 by Clive One
I'm working with STM32F401-DISCO on IAR.
I'm trying to protect 2 sections of 16KB from the flash, I want to use the 2 sections for internal data.
I tried to protect sections 0 & 1 , so I start the ROM from section 2.

I add the command :  SCB->VTOR = 0x08008000; at the void SystemInit(void) in system_stm32f4xx.c file,

I run this simple project on the STM32F401-DISCO board.
The project toggle PB0 pin.
I have 2 boards:
1.with external crystal 
2.without external crystal

When I run the project with the debugger it's works on both boards.
When I disconnect the debugger the program don't run only on the board without the external crystal.

What wrong with the IAR configuration file.

Please advise.