When playing with STM32, J-LINK emulator is good, but J-Link is expensive. Fortunately, STM32 has its own bootloader, which can download programs through the serial port. I think the serial port download method is simple and cheap, and it can be done with a USB-TTL converter.
1. First, on the minimum system board that can work properly, adjust the 232 circuit on the development board to ensure that it is available, that is, it can communicate with the PC without obstacles. Then load and download the compiled HEX file. Here STM32 recognizes hex files, which is better than the ARM of the LM3S series. First, download the host computer software Flash_Loader_Demonstrator_V2.1.0_Setup serial port download from the Internet, or go to the ST official website to download it.
2. Install the software and carry out relevant design
Confirm that your serial port settings are OK and make sure the serial port numbers correspond.
3. Connect to download
Click Next. Note that when you click Next, a dialog box may pop up:
Check the two Boot pins, which should be Boot0=1; Boot1=0 (grounded). The setting is complete, and you can power on the MCU again.
Continue toNext.
Connection OK, Next.
This step will automatically select the device, then NEXT.
Select your HEX file in Download from file, Next.
Download process completed.
Previous article:Stm32F407ZGT6 serial communication USART3
Next article:How to download programs using the STM32 serial port (USB serial port)
Recommended ReadingLatest update time:2024-11-16 16:46
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Microwave Circuit Appreciation
- Microcontroller learning notes, teach you how to learn in three steps!
- msp430f5529 uart pwm adc
- WiFi NeoPixel Cube
- [Help] In the design of lithium battery power modules, why is every 1V of lithium battery voltage very valuable?
- [DIY Bing Dun Dun] + Limited Edition Homemade Dun Dun is here
- EEWORLD University Hall----Live Replay: Unlocking New Possibilities of TI Sitara AM2x MCU in Motor Drive
- 02.USART routines and tests
- How to create and call schematic templates in AD?
- Learning: The most important components of the analog world - signal chain and power supply