How to gain firmware of PAM module BS7T-15K866-AE ?
Posted: 27 Oct 2019, 22:02
Hi there. I have this PAM module and wonder how to get to it's firmware. On the board it uses an MC9S12DG128 uC, no external Flash or EEPROM, so it's all on the chip.
I gather the firmware-update file (VBF) from the Ford website, and it has several blocks in it:
The MC9S12 belongs to the HCS12 family of Renesas (former Motorola) MCUs. It has an 16 Bit CPU, so adressable memory range would normally be limited to 64k (0x0000-0xFFFF). The datasheet of the chip tells about a paging mechanism, which may be the first two hex-digits of the memory locations shown in the updatefile above. The VBF contains START-ADDRESS-ON-TARGET followed by LENGHT in each braced block. The MC9S12DG128 has 128 KB Flash, 8 KB RAM and 2 KB EEPROM, so i would expect a maximum of 4 blocks, if at all.
I've read in the specs that the MCU can be protected against readout via BDM (has no JTAG, but proprietary BDM format) and i bet they did!
Any idea how to get to it's full firmware?
I gather the firmware-update file (VBF) from the Ford website, and it has several blocks in it:
Code: Select all
erase = { { 0x00388000, 0x0000343a },
{ 0x00398000, 0x00000c81 },
{ 0x003a8000, 0x00000e4c },
{ 0x003b8000, 0x00004000 },
{ 0x003c8000, 0x00003658 },
{ 0x003d8000, 0x00002d6b },
{ 0x003e8000, 0x00000140 },
{ 0x003e8a00, 0x000005f6 },
{ 0x003e9200, 0x0000080e },
{ 0x003ea000, 0x00000efa },
{ 0x003f8000, 0x00001f92 }
I've read in the specs that the MCU can be protected against readout via BDM (has no JTAG, but proprietary BDM format) and i bet they did!
Any idea how to get to it's full firmware?