Newbie at Programming RX65N target board

Hello everybody,

I am a newbie in programming microcontroller. My only experience is with Arduinos, that i used at home for DIY projects, and PSOC, for my embedded system courses at university.

Now, I am doing an intership in a company where the need a control unit based on microcontrollers. I have made my research in the RTK5RX65N targert board seemed pretty powerful to enable me to develop my project and to support several future features.

I bought the board and I am trying to get used to e² studio IDE and the Renesas environment. However, I was not able to run the simplest code I could write, which was turning on the user LED.

The code builds correctly using GCC but when I launch debug mode, I get the following error:

I have correctly configured the debugger as mentioned in the RX65N documentation:

I am connecting my board directly to my PC using a USB-mini. Power and ACT LED are on but the user led never turns on. I am not even sure that I am programming the board.

Can someone give me directions or explain to me why I can't execute any code on my board? All I am trying to do is get used to the IDE, test my boards and understand how can I code it.

Thank you very much.

Parents
  • Assuming that you have the target-board TB-RTK5RX65N0C00000BR:

    Try this sample code first:

    RX65N Group Target Board for RX65N LED Blink Control Program

    Your debugger configuration does appear to be correct.  This hardware includes the E2-Lite on-board debugger.  If you didn't install the drivers for this debugger, you will need to do that.  Can verify in device manager when plugged-in.

    Could also try RFP which is the serial-programming mode tool.  It also uses the E2-Lite for the hardware connection.

  • Yeah, I haven't installed the E2-Lite driver. This is why I could not run debug mode.

    However, I am not able to build the sample code.

    First of all, if I try to build just after importing the Blink Control Program, I get plenty of errors:

    I solved this by including the tbrx65ndef header into each file. I don't know if it is the good of doing it but this errors disappear. However, I still have this one :

    And I dont know what to do to solve it.

    PS: I think I am really struggling with basics concepts of Renesas IDE. Is there any tutorial, course, step-by-step provided by Renesas or someone else that explain this basics and how to use the IDE? The file tb_rx65n.scfg has some interesting links that I am not able to get. When I click nothing happens:

Reply
  • Yeah, I haven't installed the E2-Lite driver. This is why I could not run debug mode.

    However, I am not able to build the sample code.

    First of all, if I try to build just after importing the Blink Control Program, I get plenty of errors:

    I solved this by including the tbrx65ndef header into each file. I don't know if it is the good of doing it but this errors disappear. However, I still have this one :

    And I dont know what to do to solve it.

    PS: I think I am really struggling with basics concepts of Renesas IDE. Is there any tutorial, course, step-by-step provided by Renesas or someone else that explain this basics and how to use the IDE? The file tb_rx65n.scfg has some interesting links that I am not able to get. When I click nothing happens:

Children