Problem in the E8a connection (User program mode) to SH7136 & SH7137

Hi All,

I'm trying connect to SH7136 & SH7137 MCU using the Flash Development Toolkit connected with the E8a in User program mode.

i can connect to MCU with E8a+FDT in Boot Mode. 

So for User program mode i set all parameter same to Boot Mode including Crystal Frequency, CKM, CKP and use default recommended speeds, only change selection of Operating Modes

according to SH7137 Group Hardware Manual.

but in connection I got below message and Error:

"E8/E8a/E1 target power has been set to OFF
Clock Frequency (External) = 10.0000MHz, Clock Mode = 0, CKM = 1, and CKP = 1
Connecting to device 'R5F7137A' on 'E8aDirect'
Configuration:
'USER Mode', direct connection
Checking for E8/E8a update...
Adaptor checksum OK
Processing Data file :'c:\program files (x86)\renesas\fdt4.09\ADPFiles\E8-Rel-Img-a.mot'
Adaptor version number OK
(current E8/E8a Bootstub (Level 0) version = 1.00.00.000, FDT holds version 1.00.00.000, FDT requires version 1.00.XX.XXX)
Adaptor version type OK
(current type = E8aEMULATOR)
Processing Data file :'c:\program files (x86)\renesas\fdt4.09\ADPFiles\E8-Rel-Img-a.mot'
Adaptor version number OK
(current E8/E8a Adaptor Software (Level 1) version = 1.13.00.000, FDT holds version 1.13.00.000, FDT requires version 1.13.XX.XXX)
Opening port 'E8aDirect' ...
ConfigString = [I|VERSION|1] [S|INTERFACE|USB] [S|PRODUCT|E8a] [S|BUSID|3FS059323]
Reset Active
Mode Pin Setting Active
Setting reset pin state low: 0x40, 0x00
Setting reset pin direction as output: 0x40, 0x40
Setting pin state: 0x9F, 0x00
Setting pin direction: 0xBF, 0x00
Sending reset: 0x00, 0x00, 0x00, 0xFA
WARNING: Cannot detect target device - please check the connection
The target is externally powered
Querying version info...
v01.02, firmware 0.32, product 1.00, build 9623
E8ADIRECT
Sending inquiry for getting line size
Error No 15005: 'E8aDirect' read time out
Error No 15005: 'E8aDirect' read time out
Error No 15019: Download() failed

"

How can I fix it?

Regards

  • Verify that the crystal frequency, CKM (Clock Mode), CKP (Clock Polarity), and other clock-related settings are correctly configured in the Flash Development Toolkit (FDT) for User program mode. Ensure that these settings match the hardware configuration of your MCU. As you mentioned, you've selected the "USER Mode" for User program mode. Ensure that other operating mode settings are consistent with your MCU and application requirements. Confirm that you are using the correct and compatible versions of the E8a emulator drivers, firmware, and FDT software. Outdated or incompatible software can lead to communication issues. 

    • Ensure that the USB port you are using for the E8a connection is functioning correctly. Try using a different USB port on your computer.
    • Check that the necessary USB drivers for the E8a emulator are installed and up to date.
  • Dear Morrison

    The above items have been checked many times and different modes have been tested.
    The best thing mentioned above is that the same settings work in boot mode.

    Regard,

    Mahmod

  • When a programmer is connected to SH device, the device has to execute a software that can communicate with FDT.

    When connecting in boot mode the device has the boot loader software thatntakes care of the communication.

    If you want to use user mode the device has to have a customer prepared replacement of the boot loader software that can communicate with FDT.

    If the device does not have a user designed boot loader software connection in user mode does not work.

    Reading of the device may work when the connection is done in debug mode using E10A-USB emulator.

  • Dear Frank

    I use SH7137 Embedded board.
    This series of micro-controllers are not generally available in FDT.
    That is, they do not have a kernel.
    So if I can't connect to user program mode, is it possible that I deleted the bootloader software in boot mode?

    Is there a emulator or programmer that is better than E10A in terms of availability and price?

    Regards,

    Mahmod