Use E8A emulator to debugging R32C

Hello,

I'm new user in renesas, now I want use E8a emulator to debugging my board. Can you any body send me tutorial or how use it to debugging in IAR?

Because in IAR provides only SIMULATOR. I dont understand it so much what's it,  in MPLABX, when I use ICD3 to debugging my PIC, it connects to my MCU and I can see how runs my application step by step.

I think on IAR, it provide only simulation to my application, isn't it?

Thank you. 

Parents
  • In general IAR EW can use E8a, E30 and E30A for debugging R32C processors. But it depends on the package you have which debugger is supported. You have to get in contact with IAR to check what is needed to get E8a support in your workbench.

    Rgds

    FrankL

  • Thank you FranKL,

    Now I have another question. Can you tell me what is the output format for MCU R32C/111? I have heart that in IAR we must specify the output format for CSPY. But I'm not sure what is it?

    For PIC it is .cof or .hex, for ARM is elf, I have tried google but not good result.

    Thank you.

  • Hi,

    when you use C-Spy for debugging you keep the IAR default setting (select "Debug information for C-Spy"), which uses UBROF as debug for format (IAR proprietary format).

    When you use HEW to debug a file generated with IAR tool chain you can use IEEE-695 (with format specifier -ylmba) or elf (with format specifier -yspc).

    Rgds

    Frank

  • Hi Frank,

    Thank you for your quickly and detailed answer, but I think in IAR -> Linker, it's needed to select other Output Format, then choose debug (ubrof). In default Debug information for C-Spy when I choosed Allow C-SPY specific extra output file, I got the error message.

    It causes I use IAR with the Evaluation version?

    So, now I have another question due to linker script. I use E8a emulator to debugging, thus I configured linker script that I reserved RAM for emulator. But when I debugged, I got the message that the specified memory range overlaps with the FW area.

    I guess the IAR doesn't use the linker that I configured, doesn't it? Because it showed the warning that the CSTACK(user stack) and ISTACK(interrupt stack) and heap are redefined.

    Thanks.

Reply
  • Hi Frank,

    Thank you for your quickly and detailed answer, but I think in IAR -> Linker, it's needed to select other Output Format, then choose debug (ubrof). In default Debug information for C-Spy when I choosed Allow C-SPY specific extra output file, I got the error message.

    It causes I use IAR with the Evaluation version?

    So, now I have another question due to linker script. I use E8a emulator to debugging, thus I configured linker script that I reserved RAM for emulator. But when I debugged, I got the message that the specified memory range overlaps with the FW area.

    I guess the IAR doesn't use the linker that I configured, doesn't it? Because it showed the warning that the CSTACK(user stack) and ISTACK(interrupt stack) and heap are redefined.

    Thanks.

Children