1. Compilation
The mdk software will select the assembly file added by the user to the project file to execute (for example, startup_stm32f10x_md.s), and initialize the basic content such as stack space. This file is usually provided by the chip manufacturer, and the user can select and call it.
2. Jump to main function
After the assembly is executed and initialized, it will eventually jump to the main function at the point circled in red below.
__main can be changed to other names such as smain, and the corresponding main function name can be changed to smain, which can also complete the jump
Previous article:Development board learning Day 7-the first ARM bare board program and extension
Next article:Summary of ARM architecture related learning
- Popular Resources
- Popular amplifiers
- Learn ARM development(14)
- Learn ARM development(15)
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- 4G Networking Solution for Remote Monitoring of Heat Exchange Station
- Unveiling the secrets of RF chips, the king of chips in the 5G era
- Overcurrent protection circuit with self-recovery function
- EEWORLD University - How to set up TI's ADS8681 performance demonstration kit
- Gallium Nitride is changing the world
- Wireless charging market is booming, and Texas Instruments boost and buck-boost DC-DC converters help wireless charging design
- Traffic light system, except for the start button, other buttons are invalid. I hope you can help me solve it.
- Infineon's 30% off flash sale is in progress, and you can win a prize when you place an order!
- Rapoo V10RGB Colorful Backlight Gaming Mouse Hard Pad Disassembly Review - Hardware Disassembly
- MSP430-IO Port Introduction