In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "how Jlink merges burning files". In daily operation, I believe many people have doubts about how to merge burning documents with Jlink. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to merge burning documents with Jlink". Next, please follow the editor to study!
Preface
IAP (In-application-programming), that is, programming in application. When the product is released, the firmware program can be easily upgraded over the network without the need to disassemble the machine to download the program. The firmware of an IAP system generally consists of two parts, BootLoader Code and Application Code, and is stored in different starting addresses:
When the system is running, first run the Bootloader program, check the status, and determine whether to execute the application or upgrade the firmware. In the actual development process, these two programs are usually written separately, and then generate two Bin files, in order to facilitate the download program, you can merge the two files into one file, which will save a lot of time. This article shows you how to use JFlash to merge two Bin files or two Hex files.
Prepare for
File 1:bootloader.hex to be merged, starting address: 0x8000000
To merge the file 2:app.hex, the starting address: 0x20001000, if it is a Bin file, first determine the starting address.
JFlash software
Create a project
As with the previous downloads, the first step is to create a new project.
1. Open JFlash
two。 Create a new project
Click File- > NewProject
3. Select the model of the chip
Here support a lot of ARM Cortex core chip, choose the corresponding chip, I choose here is the STM32F103RE series.
4. Open the program file 1:bootloader.hex to be merged
Click File-> Open data file to open the bootloader program.
5. Open the program file 2:app.hex to be merged
Click File-> Merge data file to open the app program.
Ensure that the starting address + bootloader code size of the bootloader program does not exceed the starting address of the app program, as shown in the following figure:
6. Save the merged file
Click File- > Save data file as to save the merged file, and you can choose the file type to save as needed.
Be careful
If the file you want to merge is a bin file without address information, you will be asked to specify an address and be careful not to overlap with each other. Therefore, it is best to save various files with address information when they are generated, such as hex. About the difference between Hex file and Bin file, you can refer to the article: what is the difference between BIN, HEX, AXF and ELF file formats?
At this point, the study on "how to merge Jlink to burn and write files" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.