1. First look at the stm32 startup mode
J-link can debug almost all arm chips, it is a good thing. Here are three ways to download programs for stm32:
1. J-Flash download (requires J-link)
2. MDK configuration download (requires J-link)
3. ISP download (serial port download, you need to use the officialhttp://www.segger.com/cms/jlink.html .
Open the run, first configure the cpu corresponding to the cpu of the development board,
Connect the development board and J-link to the computer, and then connect
The connection is successful as shown in the following figure:
Then select the hex file you want to download, open it with the shortcut key ctrl+O (or file/open), and select the file.
Then select Target/Auto to burn automatically. (Sometimes it is strange that it cannot be successful in one try. In this case, you need to burn again manually, Target/Erase chip-->Target/Erase sectors-->Target/Program && verify).
OK, the burning is successful.
-------------------------------------------------- --------------------------------------------------
2. MDK configuration download, that is, online debugging and downloading in MDK. First, make sure that the j-link driver has been successfully installed. The rest of the work is just to set up MDK.
In fact, you can also choose J-LINK/J-TRACE.
Click setting to start setting.
Click add and select cpu.
OK, you can debug and download online:
-------------------------------------------------- --------------------------------------------------
3.ISP download (serial port download)
(1) Download the software Flash_Loader_Demonstrator_V1.3_Setup.exe and click Next to install it. Note: The version is 1.3. I tried version 2.1 and it failed to connect successfully.
According to the prompts: Set the boot mode, set BOOT0=1, BOOT1=0, and then restart the system. Connect. No more words below, just look at the picture.
(2) Download using STMISP.EXE, which is an ISP application for STM32
STMISP.rar
Then without saying anything else, just post the pictures.
Previous article:About STM32 ISP instructions
Next article:Debugging Mini2440 with IAR
Recommended ReadingLatest update time:2024-11-17 00:32
- Popular Resources
- Popular amplifiers
- Virtualization Technology Practice Guide - High-efficiency and low-cost solutions for small and medium-sized enterprises (Wang Chunhai)
- usb_host_device_code
- Transplantation of real-time operating system RT-ThreadSmart on STM32MP1
- Design of switching power supply with adjustable output voltage based on STM32
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
- GD32L233C-START Review-(Last) Radar Overall Demonstration
- LPS22HB code porting
- Automotive electronics popular data download collection
- TI TMS320C6678 Evaluation Module
- 2018 EEWORLD technical live broadcast replay summary ~ 40+ sessions including multiple hot topics, stay at home to know the forefront of the industry
- [MPS Mall Big Offer Experience Season] Unboxing
- Please recommend a cheap RF transmitter with variable frequency of 415M~475M and price <10 yuan
- 時代的變遷
- If the length of Ethernet data packet exceeds 1500 bytes, does it need to be manually divided into packets?
- [HC32F460 Development Board Review] 06. Simulate I2C to implement OLED display