Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. How to Create LED_Blinky

...

project

There are two ways to create a project.

1.1 How to create a new LED Blinky project

Check out the video below to learn how to create a LED Blinky project.

The FPB_RX261_LED_Blinky project was created by selecting [Bare Metal - Blinky] on the "Choose a project template" page when creating a new project.For information on how to create a project, please refer to the video at the following videois based on the video above, but differs from the video above in the following ways.

 

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=gfDXL3b9Xmw

 When creating the

1.2 Differences from the video of FPB_RX261_LED_Blinky project

...

Project name

FPB_RX261_LED_Blinky

Device Settings -> Target Boad

FPB-RX261

...


1.3 Operating environment for FPB_RX261_LED_Blinky project

IDE : Renesas Electronics e2 studio 2024-07

...

Board used : FPB-RX261

USB cable (USB Micro-B --- USB Type A) × 1

 <Other preparations>

USB cable (USB Micro-B <- > USB Type A) × 1

Windows PC × 1 unit

...

1.4 LED blinking behavior of FPB_RX261_LED_Blinky project

The FPB_RX261_LED_Blinky Project allows customers to change the blinking frequency of the user LED(LED2) cyclically each time the user switch S1 on the FPB-RX261 is pressed.

Upon power-on, the user LED (LED2) blinks at 1 Hz.After that, each time the user switch S1 is pressed, the user LED (LED2) changes its blinking frequency cyclically from 1Hz to 5Hz to 10Hz to 1Hz…

 

 

 

...


2. Build and Debug for

...

RX

Please refer to the video at the following URLVideo.

Part 1 is "Build" and Part 2 is "Debug".

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=FAQbaa2-tFU

 


 

2.1 Debugger connection with FPB-RX261

Regarding debugger connection, if you are using the FPB-RX261 board to debug the FPB_RX261_LED project, please see below.

 

2.1.1 FPB-RX261 board settings

To debug and program with the FPB-RX261, you must set it to Debug on-board mode.

To enter Debug on-board mode, short pins 2 and 3 of the pin header jumper J4.


After that, connect the USB cable to your PC and connect the e2studio debugger as follows.

2.1.2 e2studio settings for debugger connection

Select ”Debug Configurtions"

 Image Added

In the "Debug Configurations" dialog, click "FPB_RX261_LED_Blinkiy HardwareDebug" under "Reness GDB Hardware Debugging".

 Image Added

Select the "E2 Lite(RX)" in the "Debugger" tab.

 Image Added

In the "Debugger" tab, in the "Connection Settings" tab, set "Power Target From The Emulator (MAX 200mA)" to "No".

Click the "Debug" button.

 

 

  • FPB-RX261 board settings

To debug and program with the FPB-RX261, you must set it to Debug on-board mode.

To enter Debug on-board mode, short pins 2 and 3 of the pin header jumper J4.Image Added