Page 2 of 3

Re: E54 Tunerlock Help

Posted: Fri Mar 22, 2024 4:36 pm
by In-Tech
kur4o wrote: Tue Mar 05, 2024 2:23 am These pcms are notorious for corrupting eeprom data for no reason.
^^^^^^^^^^^ Yes!!! The parameters area goes FUBAR for no apparent reason.

Re: E54 Tunerlock Help

Posted: Sun Mar 24, 2024 1:00 pm
by In-Tech
Hiya,
Surely someone has one of these E54's laying around to take a pic of the board and traces of the flash chip. I found some of my hand written notes. It turns out that was back in 2020 and I got sidetracked with Gampy working on reading with PCM hammer, hence no pics. Anyway, I think I can confirm my notes with a pic.
Thanks

Re: E54 Tunerlock Help

Posted: Fri Mar 29, 2024 4:29 am
by Gampy
I have an E54 setting withing arms reach, I just don't have the physical ability to do the rest ... Got lucky, my oldest son did it as I asked, that's unusual.

Will these get it done ??
E54-Mainboard-Front.jpeg
E54-Mainboard-Back.jpeg
Anything else ask, I'll see what I can do!

-Enjoy

Re: E54 Tunerlock Help

Posted: Fri Mar 29, 2024 6:15 am
by In-Tech
Thank You Gampy,
Those pics are perfect. I'll report back soon :)

Re: E54 Tunerlock Help

Posted: Mon Apr 01, 2024 12:58 am
by In-Tech
Hiya's
Sorry for the delay, it's been a couple really sick days.
Gampy, if you like you could clean up my pics and also ohm the pin to the inspection side and make sure I did that correctly. Thanks again Bud.
E54_Flash_Chip.JPG
E54_Flash_Chip.JPG (128.05 KiB) Viewed 1551 times
E54-Mainboard-Back_New.JPG
E54-Mainboard-Back_New.JPG (273.77 KiB) Viewed 1716 times

Re: E54 Tunerlock Help

Posted: Tue Apr 02, 2024 10:19 pm
by In-Tech
Hello,
I'm sure most of you know, I am posting anyway for future. Feel free to correct me on any errors in my thoughts. I'm sure some are wondering how you go about picking pin locations to try. Soooo, find the data sheet for the flash chip...All of the Ax pins are data storage on the flash chip. Holding them low(ground) makes the CPU see it as a blank(00 or FF I don't know). The data is still there, it's just a matter of picking the right one that throws it temporarily into engineering mode. Some of the data pins can make it go crazy and require a hard reboot(BATT and IGN). Don't go poking around on the other pins. This one happened to be right next door to the p01/p59 boot pin so I stumbled across it pretty quick :punk:
28F400_Flash.JPG

Re: E54 Tunerlock Help

Posted: Tue Apr 02, 2024 10:34 pm
by In-Tech
Here's another data sheet I found. It appears blanking the parameters(VIN,Seed/Key etc) section is the secret :thumbup:
AMD-AM29F400BB-SectorAddressTable.png
AMD-AM29F400BB-SectorAddressTable.png (34.29 KiB) Viewed 1665 times

Re: E54 Tunerlock Help

Posted: Tue Apr 09, 2024 10:34 pm
by In-Tech
Hiya's
Did anyone try this yet?
Am I a thread killer or what? :lol:

Re: E54 Tunerlock Help

Posted: Wed Apr 10, 2024 11:16 am
by antus
The OP hasn't been back on the site for a while, but I am sure the information you gave is good. The only thing i'd add is your tampering with the address bus, not the data bus, so the CPU still reads data back, just it's the wrong data. Initially this causes a crash which resets the PCM and runs the boot code (which is addressed below the range we are glitching, below 0x4000) and then the boot code looks for the "successful write" signature which the OEM tools write as the last step when they flash the PCM. But the data that comes back is from another part of the flash chip. So then the boot code assumes its still on the factory floor for a first time flash and opens up for the initial factory load. Except the glitch we caused was only temporary and as soon as the jumper wire is gone the PCM keeps running off the boot code, but tada! the whole original unmodified flash chip is accessible again. We have to glitch the address line, because if we glitched the data, then all reads would affected and the boot code would not be able to run.

Re: E54 Tunerlock Help

Posted: Wed Apr 10, 2024 3:12 pm
by Gampy
Sorry no longer have the mental capacity to do so ...

-Enjoy