ECU Hardware

Contents

Introduction

“A microcontroller unit (MCU) is a single chip that contains a processor, RAM, ROM, clock and I/O control unit.”

Euro 4/5 Engine Control Unit (ECU) is mounted on passenger side footwell:

Euro 6 ECU is located in engine bay, near fuel filter assembly.
LHD model: right, where ABS module is located
RHD model: left, where battery is located

Comparison: Renesas Chips in Boxer Diesel ECUs

Euro 4 Euro 5 Euro 6
SH7058S SH7059 SH72543R
Series SH7050 SH7250
Part No. R4F70580S R4F70590K R5F72543RKBGV
Pins (package) 256 (FP-256H), 272 (BGA) 272 (BGA)
Internal clock 80 MHz (max, =12.5 ns per instruction) 200 Mhz max
External clock 10 MHz 16 – 20 MHz
Dhrystone Performance 104 MIPS ?
ROM
(flash memory)
1 MiB
size 0x100000
address 0x0 - 0xFFFFF
1.5 MiB
size 0x180000
address 0x0 - 0x17FFFF
2 MiB
size 0x200000
address 0x0 - 0x1FFFFF
Data Flash none 128 KiB
size 0x20000
address 0x80100000 - 0x8011FFFF
RAM 48 KiB
size 0xC000
address 0xFFFF0000 - 0xFFFFBFFF
80 KiB
size 0x14000
address 0xFFFE8000 - 0xFFFFBFFF
128 KiB
size 0x20000
address 0xFFF80000 - 0xFFF9FFFF
CPU SH-2E core SH2A-FPU
(SH-2E compatible)
FPU single-precision floating-point unit single (32 bit) and double-precision (64 bit)
A/D Converter 10 bit resolution, 32 channels 12-bit, 37 channels
CAN 2 channels 3 channels
Serial communication 5 channels CSI/UART: 5 channels
SPI: 3 channels

Miscellaneous

ROM

If a single byte within an eraseblock has to be changed, the whole block must be erased (cleared to FF bytes), then reprogrammed. The larger the eraseblock (i.e. 256 KiB vs. 4 KiB) the longer it takes to reflash the block. Unfortunately, calibration data and main logic is to be found at higher addresses, not located in the small block areas.

Chip Details

All eraseblock graphics and tables have been generated by custom SageMath script, meaning the data should be reliable – no typos.

SH7055

For reference, older petrol ECUs, 4AT TCUs, … use this one.
Renesas – Product Overview
ROM: 512 KiB = 524288 bytes
RAM: 32 KiB
CPU: SH-2E (32 bit)
Max Frequency: 40 Mhz
EraseBlocks_SH7055

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
EB0 4 0 FFF
EB1 4 1000 1FFF
EB2 4 2000 2FFF
EB3 4 3000 3FFF
EB4 4 4000 4FFF
EB5 4 5000 5FFF
EB6 4 6000 6FFF
EB7 4 7000 7FFF
EB8 32 8000 FFFF
EB9 64 10000 1FFFF
EB10 64 20000 2FFFF
EB11 64 30000 3FFFF
EB12 64 40000 4FFFF
EB13 64 50000 5FFFF
EB14 64 60000 6FFFF
EB15 64 70000 7FFFF

SH7058, SH7058S

Renesas – Product Overview
ROM: 1 MiB = 1024 KiB = 1048576 bytes
RAM: 48 KiB
CPU: SH-2E (32 bit)
Max Frequency: 80 Mhz
EraseBlocks_SH7058S

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
EB0 4 0 FFF
EB1 4 1000 1FFF
EB2 4 2000 2FFF
EB3 4 3000 3FFF
EB4 4 4000 4FFF
EB5 4 5000 5FFF
EB6 4 6000 6FFF
EB7 4 7000 7FFF
EB8 96 8000 1FFFF
EB9 128 20000 3FFFF
EB10 128 40000 5FFFF
EB11 128 60000 7FFFF
EB12 128 80000 9FFFF
EB13 128 A0000 BFFFF
EB14 128 C0000 DFFFF
EB15 128 E0000 FFFFF

SH7059

Renesas – Product Overview
ROM: 1.5 MiB = 1536 KiB = 1572864 bytes
RAM: 80 KiB
CPU: SH-2E (32 bit)
Max Frequency: 80 Mhz
EraseBlocks_SH7059

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
EB0 4 0 FFF
EB1 4 1000 1FFF
EB2 4 2000 2FFF
EB3 4 3000 3FFF
EB4 4 4000 4FFF
EB5 4 5000 5FFF
EB6 4 6000 6FFF
EB7 4 7000 7FFF
EB8 96 8000 1FFFF
EB9 128 20000 3FFFF
EB10 128 40000 5FFFF
EB11 128 60000 7FFFF
EB12 256 80000 BFFFF
EB13 256 C0000 FFFFF
EB14 256 100000 13FFFF
EB15 256 140000 17FFFF

SH72531

For reference, some newer petrol ECUs use this one.
Renesas – Product Overview
ROM: 1.25 MiB = 1280 KiB = 1310720 bytes
RAM: 64 KiB
Data Flash: 32 KiB
CPU: SH2A-FPU (32-bit)
Pins: 176
Max Frequency: 120 (R5F72531KFPU) or 160 Mhz (R5F72531DKFPU)

ROM

EraseBlocks_SH72531

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
EB0 8 0 1FFF
EB1 8 2000 3FFF
EB2 8 4000 5FFF
EB3 8 6000 7FFF
EB4 8 8000 9FFF
EB5 8 A000 BFFF
EB6 8 C000 DFFF
EB7 8 E000 FFFF
EB8 64 10000 1FFFF
EB9 64 20000 2FFFF
EB10 64 30000 3FFFF
EB11 64 40000 4FFFF
EB12 64 50000 5FFFF
EB13 64 60000 6FFFF
EB14 64 70000 7FFFF
EB15 64 80000 8FFFF
EB16 64 90000 9FFFF
EB17 128 A0000 BFFFF
EB18 128 C0000 DFFFF
EB19 128 E0000 FFFFF
EB20 128 100000 11FFFF
EB21 128 120000 13FFFF

SH72543R

Renesas – Product Overview
ROM: 2 MiB = 2048 KiB = 2097152 bytes
RAM: 128 KiB
Data Flash: 128 KiB
CPU: SH2A-FPU (32-bit)
Pins: 272
Max Frequency: 200 Mhz

ROM

EraseBlocks_SH72543R

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
EB0 8 0 1FFF
EB1 8 2000 3FFF
EB2 8 4000 5FFF
EB3 8 6000 7FFF
EB4 8 8000 9FFF
EB5 8 A000 BFFF
EB6 8 C000 DFFF
EB7 8 E000 FFFF
EB8 64 10000 1FFFF
EB9 64 20000 2FFFF
EB10 64 30000 3FFFF
EB11 64 40000 4FFFF
EB12 64 50000 5FFFF
EB13 64 60000 6FFFF
EB14 64 70000 7FFFF
EB15 64 80000 8FFFF
EB16 64 90000 9FFFF
EB17 128 A0000 BFFFF
EB18 128 C0000 DFFFF
EB19 128 E0000 FFFFF
EB20 128 100000 11FFFF
EB21 128 120000 13FFFF
EB22 128 140000 15FFFF
EB23 128 160000 17FFFF
EB24 128 180000 19FFFF
EB25 128 1A0000 1BFFFF
EB26 128 1C0000 1DFFFF
EB27 128 1E0000 1FFFFF

Data Flash

EraseBlocks_SH72543R_DataFlash

Eraseblock Blocksize
[KiB]
Start Address
(hex)
Last Address
(hex)
DB0 8 80100000 80101FFF
DB1 8 80102000 80103FFF
DB2 8 80104000 80105FFF
DB3 8 80106000 80107FFF
DB4 8 80108000 80109FFF
DB5 8 8010A000 8010BFFF
DB6 8 8010C000 8010DFFF
DB7 8 8010E000 8010FFFF
DB8 8 80110000 80111FFF
DB9 8 80112000 80113FFF
DB10 8 80114000 80115FFF
DB11 8 80116000 80117FFF
DB12 8 80118000 80119FFF
DB13 8 8011A000 8011BFFF
DB14 8 8011C000 8011DFFF
DB15 8 8011E000 8011FFFF

3 responses to “ECU Hardware

  1. I know you guys are not into selling but can you tell me what I would need as a minimum to setup ability to log data on a MY11 Outback Diesel Euro 5 version.

    Like

    • Edited:
      Both SSM2viaCAN and Extended OBD-II protocols are working on Euro5. Requires CAN (ISO15765) capable interface and special PC software or standalone solutions like Openport 2.0 device.
      Regards

      Like

  2. Hi stek80, can you telll my pls, what it means ‘special PC software’ ? How can i obtain such a software and how is it named ? I have allready purchased OBDLink MX bluetooth adapter. Can I use this adapter to get all possible infos from ECU? Specially i want to obtain LTFT, STFT, O2 sensors, … ? Is it possible with this adapter? My car is Outback MY2011. Thnx.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s