cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F301 boot time

Aren.1
Associate

Hi,

We want to use STM32F301 to do power on sequence control on my system board. Before board Gerber out we need confirm the boot time of STM32F301.

So, What's the boot time from power steady to run main function?

Thanks

5 REPLIES 5
Ozone
Lead

> So, What's the boot time from power steady to run main function?

No one can answer that.

You would need to measure, or at least specify the startup code that runs up to that.

You can check datasheet and reference manual for reset times and number of cycles to fetch the reset vector.

TDK
Guru

The time between power-on and the MCU running the first instruction in the reset handler is incredibly quick. It can take tens of milliseconds or more between then and the start of the main function, depending on how much data your program loads into RAM and zero-initializes. Plus any time spent in static initializers.

If you feel a post has answered your question, please click "Accept as Solution".

is it possible to complete boot within 15 milliseconds ?

Yes. A default program with minimal ram usage probably meets this without modification. With a complex program with a lot of initializers and maximal ram usage? Probably not without significant effort.
If you feel a post has answered your question, please click "Accept as Solution".

See "temporization" in datasheet.

What is added to it is software-dependent, i.e. under your control.

> Before board Gerber out we need confirm the boot time of STM32F301.

Get a simple devboard such as Nucleo or Disco, with your target processor or a similar one of the same family, and try.

JW