keil electronic clock production based on RASC (Renesas RA) (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:

insert image description here

insert image description here

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/

insert image description here
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.

insert image description here

Recompile the program, and a hex file will appear, which is generally in the Objects folder of the project.

insert image description here

SWD connection between J-Link and Renesas development board

The J-Link interface is shown below.

insert image description here

insert image description here

burning

Open J-Flash Lite to burn.
insert image description here

Select the chip model and programming method.
insert image description here

Select the burning file.

insert image description here

HEX file download.
insert image description here

Then power off or reset the development board to check the effect.

Guess you like

Origin blog.csdn.net/qq_24312945/article/details/131882934