In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to transplant CAN-based bootloader on KEAZ series. The content is concise and easy to understand. It will definitely make you shine. I hope you can gain something from the detailed introduction of this article.
In the actual engineering and product development, we need to update the product program, this time we need the product to have bootloader boot program function, and the commonly used interfaces in embedded systems are based on UART,CAN,IIC,SPI, Ethernet, etc. Today we take a look at the use of a wide range of CAN-based bootloader on NXP automotive controller S9KEAZ series porting.
First of all, because we use the host PC to download the program and the host computer cannot be directly connected to the CAN bus, we also need an adapter board to convert CAN communication into serial communication and access the host PC. XMODEM file transfer protocol is used between PC and adapter board.
S9KEAZ64 has the same resources and manuals as KE06, but the temperature range of the application is different. You can use KE06 SDK to quickly build the project.
Overall structure and hardware connections
Because my actual board uses an internal clock, which is different from freedom, I have to modify the clock.
FEI mode
Set the starting address of the application run according to Flash assignment
In fact, we will interrupt vector table from 0 address, relocated to 0x5000, we can use NXP official website tools will bootloader program and application synthesis, this tool supports the use of Srec file contract, we can also configure IDE to generate bin file using other supported tools and bin file.
Download the synthesized file to your own hardware board, prepare several different application bin files to test our transplanted bootloader, test the host computer using tera term, tera term is a free and open source virtual terminal, supports network port and serial port, and has many built-in protocols, set the serial port to 115200, N8,1, and then if the board enters download mode, select the downloaded file.
Wait for the download to complete, test according to the requirements of their own applications to see if they pass, the two test bin files I use will output different CAN messages and operate different relays. We can also add J1939 programs to complete the bootloader based on J1939. NXP official website also provides MCUBOOT2.0.0 download package, but currently does not support KE06 and S9KEAZ series, you need to do it yourself, and the transplant workload is relatively large, but it is a standard and mass production bootloader for users to use. Moreover, the bootloader of the supported chip has been integrated into the SDK for users to use, which is also very convenient. It would be better if it can support the whole series.
The above is how to port CAN-based bootloader to KEAZ series. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.
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.