»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
(049) Procedure of starting STM32
STM32启动过程:
1)硬件自动完成从0x0000 0000地址取出值:0x0800 0000,赋给MSP寄存器(Main Stack Pointer,即主程序栈指针寄存器,也就是主程序开始的地址范围);
2)硬件自动完成从0x0000 0004地址取出值:0x0800 0004,给指令指针(PC),ARM芯片开始执行0x0800 0004处的指令;
以下进入用户汇编代码:
3)调用STM32的库函数SystemIni初始化系统时钟;
4)调用C库函数__main初始化堆栈;
5)调用用户程序main函数,启动用户程序。