Why does my TriCore disassembly show jumps into empty space and references to nowhere?

Almost always the readout is compressed. Most flashers drop the empty space between the program and the calibration when they read the ECU, so the file is smaller than the real memory layout. The code still holds the original absolute addresses, but the bytes no longer sit at those addresses — so every jump and reference misses. Rebuild the layout before you disassemble and they resolve.

This is the single most common reason a first TriCore disassembly looks like static, and it has nothing to do with Ghidra being the wrong tool or the ECU being “too hard.” The failure happened before Ghidra ran — in the file.

How to recognise a compressed readout

The signature is a gap that is too short. In a real ECU there is empty space between the end of the program and the start of the calibration. A compressing flasher removes it, so in your file the program and the maps sit almost touching. The program can no longer “reach” the calibration, because the address it wants to jump to now points at something else.

Concrete example: on a Bosch MED17.1 the calibration should begin at address 0x38000. If your file has it starting far earlier, with barely any gap after the code ends, you are holding a compressed readout. Disassemble it as-is and Ghidra does exactly what you told it to — it reads the address 0x38000 in the code and jumps there, straight into data that is physically not in that place. The result: incoherent jumps, references that resolve to garbage, functions that end mid-air.

This is not a zip archive. Compression here just means the flasher deleted the padding. The file opens fine; it is the addressing that is broken, not the bytes.

What to check, in order

  1. Open the file and locate the blocks by eye. A complete readout holds five structures: bootloader, program (one or more blocks), vector tables, empty areas, and calibration. Find where the program ends and where the calibration begins.
  2. Measure the gap. If the distance between the end of the program and the start of the calibration is suspiciously small, suspect compression.
  3. Rebuild the proper memory layout — restore the empty space so each block sits back at its true offset — before you import and disassemble.
  4. Then import and re-base against 0x80000000 (TriCore program Flash). Only now will the absolute references line up.

Get that order wrong and each later step inherits the previous error: disassemble before rebuilding and you read shifted bytes; import at the wrong base and every reference is off by a constant.

One more cause worth ruling out

If the layout looks correct and jumps still dangle, check whether you have a partial dump. TriCore code reaches much of its data through base registers (A0, A1, A8, A9 — what each of these system registers controls) rather than full absolute addresses. An application-software-only readout leaves those base-relative references unresolved until you supply the base — a different problem from compression, with its own fix. There is a worked case of exactly this on a Bosch MG1 (AURIX TC298) in this thread.

Related on Tuners Guild

Method credit: this is the approach taught in Thomas Pirowski’s Ghidra TriCore Fundamental curriculum.

Your turn

What flasher produced your dump — and did rebuilding the layout fix the jumps, or did you have a partial-dump base-register problem instead? Drop the ECU and tool below; the more compressed-readout signatures we collect per flasher, the faster the next person spots theirs.