You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

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 is based on the video, but differs from the video in the following ways.

 

 

1.2 Differences between the video and 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

C compiler : Renesas Electronics C/C++ Compiler Package for RX Family V3.06.00

Board used : FPB-RX261

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

1.4 LED blinking behaviour of the FPB_RX261_LED_Blinky project

The FPB_RX261_LED_Blinky project allows customers to change the blinking frequency of the user LED(LED2) 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 the following Video.

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

The FPB_RX261_LED_Blinky project is based on the video, but differs from the Part2 "Debug" of the video in the following ways.

 

2.1 Differences between the video and FPB_RX261_LED_Blinky project

For the debugger connection, the configuration for debugging the FPB_RX261_LED project on the FPB-RX261 board use is shown 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.


Then connect the FPB-RX261 to the PC with the USB cable and change the e2studio settings as follows.

2.1.2 e2studio settings for debugger connection

Select ”Debug Configurtions"

 

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

 

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

 

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

Click the "Debug" button.

This procedure allows the user to connect to the debugger and execute the program.

  

 


  • No labels