SHBootMode
From OpenECU
(→Build the hardware) |
Current revision (17:05, 19 June 2009) (view source) |
||
Line 19: | Line 19: | ||
===Obtain the ROM=== | ===Obtain the ROM=== | ||
- | Since the boot mode is a write-only operation, you will need the complete ROM you intend to reflash the ECU with | + | Since the boot mode is a write-only operation, you will need the complete ROM you intend to reflash the ECU with. |
===Turn on SH Boot Mode in EcuFlash=== | ===Turn on SH Boot Mode in EcuFlash=== | ||
- | Go to '''File -> Options -> | + | Go to '''File -> Options -> Flashing -> Flash Recovery Mode''' and check the box. Remember to uncheck this after you are done so that you can read and flash ECUs normally. |
This will tell EcuFlash to use the SH boot mode method instead of the standard kernel based reflash method. | This will tell EcuFlash to use the SH boot mode method instead of the standard kernel based reflash method. | ||
- | |||
- | |||
- | |||
===Load the ROM=== | ===Load the ROM=== | ||
Line 33: | Line 30: | ||
===Flash the ROM to the ECU=== | ===Flash the ROM to the ECU=== | ||
This is a slow process as compared to a standard reflash! | This is a slow process as compared to a standard reflash! | ||
+ | |||
+ | ===Turn off the SH Boot Mode in EcuFlash=== | ||
+ | Go to '''File -> Options -> Flashing -> Flash Recovery Mode''' and uncheck the box. |
Current revision
Contents |
Reflashing Subaru SH705x ECUs using the Renesas boot mode
Summary
If a Subaru ECU becomes unresponsive due to an incorrect or incomplete reflash, it is possible erase and reflash the SH705x CPU using the built in boot mode by utilizing some special hardware and EcuFlash. This page describes the procedure step-by-step.
Build the hardware
You need to build a serial interface with which to talk to the CPU. The schematic for this interface is shown below. EcuFlash only supports FTDI based USB to serial interfaces. The schematic below shows what the interface must look like. You could build this by taking apart a FTDI-based USB to serial device and making the needed modifications, or there are many FTDI based evaluation and prototyping modules which can be used. Basically, this is a simple TTL-level serial interface where the raw TXD and RXD signals are taken from the FTDI chip. There is also a 555 timer based circuit to provide the watchdog signal while in the boot mode to prevent the CPU from resetting.
Download SH Boot Mode Schematic Here
Connect the hardware to the ECU
Make the connections diagrammed in the schematic. If the test points listed in the schematic (Pxxx) are not on your ECU PCB, you should be able to find the needed pads by tracing them from the CPU pins (also listed in the schematic).
Power the ECU
You will also need to provide the ECU with +12V and ground on the power supply pins.
Obtain the ROM
Since the boot mode is a write-only operation, you will need the complete ROM you intend to reflash the ECU with.
Turn on SH Boot Mode in EcuFlash
Go to File -> Options -> Flashing -> Flash Recovery Mode and check the box. Remember to uncheck this after you are done so that you can read and flash ECUs normally.
This will tell EcuFlash to use the SH boot mode method instead of the standard kernel based reflash method.
Load the ROM
Flash the ROM to the ECU
This is a slow process as compared to a standard reflash!
Turn off the SH Boot Mode in EcuFlash
Go to File -> Options -> Flashing -> Flash Recovery Mode and uncheck the box.