Compact Emulator errors

Hi,

I am new to Renesas products. I have got a Compact Emulator M3062PT3-CPE with M3062PT-EPBM MCU board as my hardware setup. I am running HEW 4.09.00.007 using Renesas M16C Toolchain V6.0 and M16C R8C Compact Emulator Debuuger V1.03 Release 00.

I am able to CONNECT to the emulator and start running my project. However, on hitting a HALT button, it starts showing "Can't send data (16013)" error. The "self check" option when clicked on the emulator init dialog, it shows "target is used already (16015)".

The self check test when run from the emulator (After pressing the reset button twice as described in the manual), shows Power LEDs and Reset and SAFE LEDs ON. This condition is described in the manual as "Emulator may be damaged". But if the emulator is damaged, HEW is still connecting to the emulator, so I rule out this possibility.

Can anyone please give some clue how to debug this problem?

Thanks in advance to all.

Parents
  • The compact emulator has on the upper board an M32C processor doing the USB communication to the PC and controlling the M16C emulation processors on the lower board.

    It is possible that the lower board is damaged and the upper one still works fine. Then the PC will recognise the emulator correctly, but you are not able to run your software.

    Do you use your compact emulator connected to your target, or do use it stand alone only connected to your PC? For testing purpose it should be operated stand alone.

    Did you check if the emulation memory is programmed correctly after you download your software?

    To do so you can either open the memory window and check the contents of the program memory, or you push   and then switch the source window to mixed view. In both cases you should be able to see the programmed flash and may be you can tell if the memory has been programmed correctly.

    If it is programmed correctly, did you try to do a single step after pushing reset?

    What is the setting for MCU power (on the comnpact emulator) and MCU clock (in the Init dialog)?

Reply
  • The compact emulator has on the upper board an M32C processor doing the USB communication to the PC and controlling the M16C emulation processors on the lower board.

    It is possible that the lower board is damaged and the upper one still works fine. Then the PC will recognise the emulator correctly, but you are not able to run your software.

    Do you use your compact emulator connected to your target, or do use it stand alone only connected to your PC? For testing purpose it should be operated stand alone.

    Did you check if the emulation memory is programmed correctly after you download your software?

    To do so you can either open the memory window and check the contents of the program memory, or you push   and then switch the source window to mixed view. In both cases you should be able to see the programmed flash and may be you can tell if the memory has been programmed correctly.

    If it is programmed correctly, did you try to do a single step after pushing reset?

    What is the setting for MCU power (on the comnpact emulator) and MCU clock (in the Init dialog)?

Children
No Data