Making keil electronic clock based on RASC 3_Use J-Link to burn program to Renesas chip
overview
This section mainly explains how to use J-Link to burn the Renesas RA chip.
hardware preparation
First, you need to prepare a development board. Here I am preparing a development board with chip model R7FA2E1A72DFL:
video tutorial
https://www.bilibili.com/video/BV1FV411L7qF/
keil electronic clock production based on RASC (Renesas RA)----(3) Use J-Link to burn the program to the Renesas chip
software preparation
Since the Renesas chip is a recently released chip, the old version of the J-Link software may not support it, so you need to download a newer software, and J-Link needs V9 or above.
Download address:
https://www.segger.com/downloads/jlink/
After the download is complete, install it.
hex file preparation
The full name of hex is Intel HEX, and this type of file is usually used to transfer programs and data that will be stored in ROM or EPROM. It is an ASCII text file composed of lines of text conforming to the Intel HEX file format. Most EPROM programmers or emulators use Intel HEX files. HEX file records consist of hexadecimal encoded numbers corresponding to machine language codes and/or constant data.
The hex file is generated as shown below.
Recompile the program, and a hex file will appear, which is generally in the Objects folder of the project.
SWD connection between J-Link and Renesas development board
The J-Link interface is shown below.
burning
Open J-Flash Lite to burn.
Select the chip model and programming method.
Select the burning file.
HEX file download.
Then power off or reset the development board to check the effect.