USB BDM NT

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
Post Reply
User avatar
DavidBraley
Posts: 172
Joined: Thu Jun 07, 2018 8:15 am
cars: 1948 GMC
Location: Fort Collins, Colorado

Re: USB BDM NT

Post by DavidBraley »

yoda69 wrote:I haven’t got a 1MByte ECU to try but this may help
https://www.usbjtag.com/vbforum/showthread.php?t=9397
Yoda69,

Thanks for the link, but none of those files will erase or write to the 12576106 or 12586243 1 meg P59's I have here. The 4111M .xml file will read them, but not write.
-David

I'm a machinist... because engineers need heroes too.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: USB BDM NT

Post by antus »

Keep in mind the early p59s had intel the later ones had amd. We'll be needing different files for both, so we'll have one type or the other working first rather thsn as ll p59s.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
NSFW
Posts: 679
Joined: Fri Feb 02, 2018 3:13 pm

Re: USB BDM NT

Post by NSFW »

Not tested yet, but it printed, and I think it's going to work.

https://www.thingiverse.com/thing:3565197
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
User avatar
NSFW
Posts: 679
Joined: Fri Feb 02, 2018 3:13 pm

Re: USB BDM NT

Post by NSFW »

NSFW wrote:Not tested yet, but it printed, and I think it's going to work.

https://www.thingiverse.com/thing:3565197
It worked. :)

And after setting up the flash chip in the USB-BDM app, I unbricked my AMD-based P59.

Use the ECU4111M configuration file.

Copy the NOR Flash configuration from the AMD AM29LV800BB chip, and just change the IDs to match for the AM29F800BB that's actually in the PCM (ID1 = 0001, ID2 = 2258).

Screenshot here by the guy who figured out the flash config problem:
https://ls1tech.com/forums/pcm-diagnost ... st20172737

And then it all just works.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: USB BDM NT

Post by antus »

Fantastic! Just added that screen shot here incase it dissapears at the other link. Credit to i420tom.
Attachments
attach2990_20191115_082427_07648e552d08a0d43fb5281a4c3c617bb142292e.jpg
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
DavidBraley
Posts: 172
Joined: Thu Jun 07, 2018 8:15 am
cars: 1948 GMC
Location: Fort Collins, Colorado

Re: USB BDM NT

Post by DavidBraley »

NSFW wrote:
NSFW wrote:Not tested yet, but it printed, and I think it's going to work.

https://www.thingiverse.com/thing:3565197
It worked. :)

And after setting up the flash chip in the USB-BDM app, I unbricked my AMD-based P59.

Use the ECU4111M configuration file.

Copy the NOR Flash configuration from the AMD AM29LV800BB chip, and just change the IDs to match for the AM29F800BB that's actually in the PCM (ID1 = 0001, ID2 = 2258).

Screenshot here by the guy who figured out the flash config problem:
https://ls1tech.com/forums/pcm-diagnost ... st20172737

And then it all just works.
A big thanks to NSFW and i420tom! I got the BDM to correctly work with both the AMD flash AND the Intel flash P59's! I can read and write to both.
-David

I'm a machinist... because engineers need heroes too.
User avatar
DavidBraley
Posts: 172
Joined: Thu Jun 07, 2018 8:15 am
cars: 1948 GMC
Location: Fort Collins, Colorado

Re: USB BDM NT

Post by DavidBraley »

I've started working to see if I can get the BDM device to communicate with the P04 PCM's (60 degree V6's) and the P08 PCM's (inline 4 cylinders).

I have shared some of my frustrations trying to do this over on the viewtopic.php?f=42&t=6630 thread, and decided the best place to keep this conversation going is back here on the USB BDM NT thread I started a while back.

What I've learned so far is the pin locations on the microprocessors used on the P04 and P08, don't even come close to matching the pin locations on the P01 and P59, or the datasheets. So I'm now thinking the only solution is a brute force elimination of pins. There are only 160 pins for the P08 microprocessor, and 132 for the P04.

What I know so far is there are seven pins on the microprocessor that the BDM directly uses to communicate to the microprocessor. These pins are RESET, BERR, FREEZE, DS, DSCLK, DSI, and DSO. It's a direct connection with the BDM and nothing in-between them.

I will start by eliminating all the ground and VSS pins. Then the crystal input pin. Then all the pins that interface with the flash ram. Then I will find pins that feed to peripheral circuits like IAC driver, injector drivers, etc...

Hopefully I find myself with 7 pins that go nowhere. Then I will look for the patterns. DSCLK, DSI, and DSO will be together. RESET and BERR will have one pin between them.

This is going to take a while...
-David

I'm a machinist... because engineers need heroes too.
User avatar
antus
Site Admin
Posts: 8237
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: USB BDM NT

Post by antus »

It will be an earlier generation 68k soc from motorolla. If you can find the data sheets they should explain the p04 dlc in more detail than we have now too. I'd be looking for datasheets from 4-5 years before the first p04 came out.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
DavidBraley
Posts: 172
Joined: Thu Jun 07, 2018 8:15 am
cars: 1948 GMC
Location: Fort Collins, Colorado

Re: USB BDM NT

Post by DavidBraley »

antus wrote:It will be an earlier generation 68k soc from motorolla. If you can find the data sheets they should explain the p04 dlc in more detail than we have now too. I'd be looking for datasheets from 4-5 years before the first p04 came out.
Thank you. I will do that.
-David

I'm a machinist... because engineers need heroes too.
MudDuck514
Posts: 397
Joined: Wed Jul 05, 2017 8:30 am
cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E
Location: North TX, USA

Re: USB BDM NT

Post by MudDuck514 »

antus wrote:It will be an earlier generation 68k soc from motorolla. If you can find the data sheets they should explain the p04 dlc in more detail than we have now too. I'd be looking for datasheets from 4-5 years before the first p04 came out.
Hi all,

Antus, when DID those PCMs come out? 1996? or later?
I know a friend with a 1994 2.2l S10 (OBD1-ALDL?) that has a PCM that looks exactly like the one in the 1996 Blazer(OBD2)!

Mike
Post Reply