led_blinking issue

hi all i am using R5F10268 MCU. I am new here and i am trying to make my 1st project here and i am trying to build led blinking sample code.

Here i am not make sure to edfine port6 pin as output pin and perform on /off operation.

Thanks in advance and waiting for rly.

  • Hi nagendra,

    Were you able to do this? What IDE and compiler are you using? You can use the code generator to configure a GPIO port.

    JB
    RenesasRulz Forum Moderator

    https://renesasrulz.com/
    https://academy.renesas.com/
    https://en-us.knowledgebase.renesas.com/

  • In reply to JB:

    Hi thanks for update ..
    I am using E2 studio for R5f10268 mcu.
    How to configurae code denertaor.
  • Please have a look at this sample code.
    www.renesas.com/.../D6001239.html
  • In reply to FrankL:

    Hi Frank
    thanks for your reply..
    when i run the same program as mention in the link..
    when i click on Build all i found some error..



    Extracting support files...
    [ERROR] No toolchain set or toolchain not integrated.
    15:23:31 **** Build of configuration HardwareDebug for project RL78G13_CCRL ****
    make -j4 all
    Scanning and building file: ../src/cg_src/r_cg_cgc.c
    Scanning and building file: ../src/cg_src/r_cg_cgc_user.c
    Scanning and building file: ../src/cg_src/r_cg_port.c
    Invoking: Scanner and Compiler
    Invoking: Scanner and Compiler
    Scanning and building file: ../src/cg_src/r_cg_port_user.c
    Invoking: Scanner and Compiler
    srccg_srccDepSubCommand.tmp=
    Invoking: Scanner and Compiler
    srccg_srccDepSubCommand.tmp=
    srccg_srccDepSubCommand.tmp=
    srccg_srccDepSubCommand.tmp=
    cygwin warning:
    MS-DOS style path detected: C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\HardwareDebug
    Preferred POSIX equivalent is: /cygdrive/c/Users/nagendra/e2_studio/workspace/RL78G13_CCRL.zip_expanded/RL78G13_CCRL/HardwareDebug
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    cygwin.com/.../using.html
    -MM
    -MP
    -cpu=S2
    -dev="C:\Renesas\e2_studio\DebugComp\\RL78\RL78\Common\DR5F100SL.DVF"
    -I "\inc","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\generate","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\src"
    ccrl -subcommand="src\cg_src\cDepSubCommand.tmp" -o "src/cg_src/r_cg_cgc.d" -MT="src/cg_src/r_cg_cgc.obj" -MT="src/cg_src/r_cg_cgc.d" -msg_lang=english "../src/cg_src/r_cg_cgc.c"
    -MM
    -MP
    -cpu=S2
    -dev="C:\Renesas\e2_studio\DebugComp\\RL78\RL78\Common\DR5F100SL.DVF"
    -I "\inc","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\generate","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\src"
    ccrl -subcommand="src\cg_src\cDepSubCommand.tmp" -o "src/cg_src/r_cg_port.d" -MT="src/cg_src/r_cg_port.obj" -MT="src/cg_src/r_cg_port.d" -msg_lang=english "../src/cg_src/r_cg_port.c"
    -MM
    -MP
    -cpu=S2
    -dev="C:\Renesas\e2_studio\DebugComp\\RL78\RL78\Common\DR5F100SL.DVF"
    -I "\inc","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\generate","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\src"
    ccrl -subcommand="src\cg_src\cDepSubCommand.tmp" -o "src/cg_src/r_cg_port_user.d" -MT="src/cg_src/r_cg_port_user.obj" -MT="src/cg_src/r_cg_port_user.d" -msg_lang=english "../src/cg_src/r_cg_port_user.c"
    -MM
    -MP
    -cpu=S2
    -dev="C:\Renesas\e2_studio\DebugComp\\RL78\RL78\Common\DR5F100SL.DVF"
    -I "\inc","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\generate","C:\Users\nagendra\e2_studio\workspace\RL78G13_CCRL.zip_expanded\RL78G13_CCRL\src"
    ccrl -subcommand="src\cg_src\cDepSubCommand.tmp" -o "src/cg_src/r_cg_cgc_user.d" -MT="src/cg_src/r_cg_cgc_user.obj" -MT="src/cg_src/r_cg_cgc_user.d" -msg_lang=english "../src/cg_src/r_cg_cgc_user.c"
    /bin/sh: ccrl: command not found
    /bin/sh: ccrl: command not found
    src/cg_src/subdir.mk:38: recipe for target `src/cg_src/r_cg_port.obj' failed
    make: *** [src/cg_src/r_cg_port.obj] Error 127
    src/cg_src/subdir.mk:38: recipe for target `src/cg_src/r_cg_cgc.obj' failed
    make: *** Waiting for unfinished jobs....
    make: *** [src/cg_src/r_cg_cgc.obj] Error 127
    /bin/sh: ccrl: command not found
    src/cg_src/subdir.mk:38: recipe for target `src/cg_src/r_cg_port_user.obj' failed
    make: *** [src/cg_src/r_cg_port_user.obj] Error 127
    /bin/sh: ccrl: command not found
    src/cg_src/subdir.mk:38: recipe for target `src/cg_src/r_cg_cgc_user.obj' failed
    make: *** [src/cg_src/r_cg_cgc_user.obj] Error 127
  • In reply to nagendra:

    Meaning you don't have the correct compiler installed.

    I'm sorry, it requires CC-RL V.1.03.00.

    I loaded it to my e2s and upgraded to CC-RL 1.08.

    I uploaded my project. I have not tested function, only compiled.

    r01an3862-timer.zip

  • In reply to FrankL:

    how i can install the
    correct complier and what is the compiler for that
  • In reply to nagendra:

    toolchain version :4.9.2.201801
  • In reply to nagendra:

    This is a GNU compiler. It cannot be used for this project.
  • In reply to FrankL:

    If you have any document related to that project than please share with us.


    Thanks
    Nagendra
  • In reply to nagendra:

    what i am missing in this step
  • In reply to FrankL:

    Hi Frank...
    when i used CC-RL V.1.03.00.

    i found
    E0511102:The file "C:\Renesas\e2_studio\DebugComp\\RL78\RL78\Common\D.DVF" specified by the "-dev" option is not found.

    Any suggestion about that..