Hello, I am currently working with the QB-R5F10BMG-TB card together with the IAR program. I have imported the example for "rlin3-slave" but when I try to pass it to debug (E1 emulator [R0E000010KCE00]) I get an error that is: Does anyone know what causes this and if there is a way to run and test the sample code correctly?
Hello Skiner876,
Do you have this issue only with the LIN slave example or with any application?
Kind regards,
Sergey
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
Which version of IAR are you using? The LIN-slave sample code (R01AN1840) was tested using the very old v1.30.3:
Assuming that you are using a version of IAR that is a bit more "modern" there are possibly some incompatibilities with the debugger settings. Perhaps a review of the debugger configuration would reveal the issue.
You are right.DNA HRBlock
Hello,
Thanks for reaching out Renesas Engineering Community!
Could you please give us the exact IAR version you are using?
There is a separate IAR Workbench for RL78 available to download from here:
https://www.iar.com/products/architectures/renesas/iar-embedded-workbench-for-renesas-rl78/
With all the necessary plugins and drivers for Renesas Emulators.
Are you using this version?
Thank you!
Best Regards,
IK
Hello Sergey,
I have this issue with LIN master LIN slave example.
Startup and Applilet work correctly.
skiner876
Hello Jimb,
I'm using IAR EW for Renesas RL78 4.21.1
Probably plugins and drivers aren't the problem, because Startup and Applilet examples work correctly.
Hello again,
Could you please send me a picture of debug settings for the specific project?
On what hardware are you trying to connect and run this example build? Have you tried other projects / builds, is this issue only with this particular project? Can you connect to the hardware using the CS+ for CC IDE/debugger?
You could try creating a new debug-only project and load the ELF file built from this LIN demo, as a way to start from scratch and possibly avoid and incompatible setting from the legacy tool version project.