Experts reveal: STM32 startup process full solution

The core tips of the electronic enthusiast network: This article mainly describes the comprehensive analysis of the STM32 boot process, including the introduction of the boot process, the display of the boot code and in-depth analysis.

Compared with ARM's previous generation of mainstream ARM7/ARM9 core architecture, the startup mode of the new generation Cortex core architecture has undergone considerable changes. After the ARM7/ARM9 core controller is reset, the CPU will start from the absolute address 0x000000 of the memory space to execute the reset interrupt service routine, that is, the start address after the reset is fixed is 0x000000 (PC = 0x000000). At the same time, the position of the interrupt vector table is not fixed. The Cortex-M3 core is just the opposite. There are three cases:

Experts reveal: STM32 startup process full solution

1. The interrupt vector table can be located in the SRAM area by the boot pin setting, that is, the starting address is 0x2000000, and the PC pointer is located at 0x2000000 after resetting;

2. The interrupt vector table can be located in the FLASH area by the boot pin setting, that is, the starting address is 0x8000000, and the PC pointer is located at 0x8000000 after resetting;

3. The interrupt vector table can be located in the built-in bootloader area through the boot pin setting. This article does not discuss this situation;

The Cortex-M3 core specifies that the start address must hold the top-of-stack pointer, while the second address must hold the reset interrupt entry vector address, so that after the Cortex-M3 core is reset, it will automatically be from the next 32-bit space of the start address. The reset interrupt entry vector is fetched and the jump is executed to reset the interrupt service routine. Compared to the ARM7/ARM9 core, the Cortex-M3 core fixes the location of the interrupt vector table and the starting address is changeable.

After the above preparation is just the following, the startup file "stm32f10x_vector.s" provided by STM32's 2.02 firmware library is used as a template to make a brief and comprehensive analysis of the startup process of STM32.


Military  battery has a wide application on some high-tech euquipment including military communications equipment, submarine, drone , warship, government and so on .

The design for Military Battery Pack is more strict than normal lithium or Lipo Battery packs ,because it must meet some tough requirements as ;

1, high-level safety : military Lithium Battery was demanded to provide high-level safety and will not cause any death or accident with High intensity impact and and hit.

2, high reliability: the Military Battery must be reliable and could not causing any problems to the equipments during operating .

3, High environmental adaptability: the military Battery Pack is demanded to use in different temperature ,air pressure and other enviornmental condition.


Military Batteries


Military Batteries : Ni-Mh Battery Pack  BB-390/U

Besides ,the military always have a strict standard on low power self-consuming and deep life cycles .so these above standard has made it special from the other Lithium Battery Pack or other battery packs which applied to life .







Military Batteries

Military Batteries,Military Battery,Military Vehicle Battery,Military Solar Battery

YFJ TECHNOLOGY (HK) CO.,LIMITED , http://www.yfjpower.com