USB BDM NT

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: USB BDM NT

Post by Gampy »

Sweet, but wrong side of the board ... :twisted:

P04 next ?? :thumbup:

-Enjoy
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
antus
Site Admin
Posts: 9002
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 »

Wrong side you say? But you can fit the connectors inside the case this way and seal it back up as there is space above the PCB for the I pieces to stay in the header. Then if you want you can drill a hole in the top of the case or the front for easy access to outside all the while the pcm remains stackable in a pile with the others. But whatever floats your boat, theres more than one way to skin a cat.

P04? Maybe. Im trying not to go too far down this rabbit hole, but until I can contribute P08 to the flash kernel WIP maybe I will get on with P04 BDM.
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
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: USB BDM NT

Post by Gampy »

I do mine on the backside and still close it up ... Most (hookup images) are done on the backside, No big deal, I can flip it, I'm sure those that want to can as well, it's done that is the important thing.

Are the semi-duplicate entries at the end of the file left overs or valid entries ??
TECUP08_xml_DuplicateValues.png
TECUP08_xml_DuplicateValues.png (9.9 KiB) Viewed 3496 times
-Enjoy
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
antus
Site Admin
Posts: 9002
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 »

Its hard to say, I copied factory init routines with zero documentation for what things do. I started moving blocks of register setups in and out and found that these general clusters of registers all needed to be there but I didn't break it down to the individual row level. I was going to that, then I decided, it works, laws of diminishing returns, its done. I would assume last value wins, but without hardware documentation all that can be said is it works.

Interestingly a lot of them can be removed and it still works but only at 3mhz. As it stands it works at 6mhz. This tells me the hardware is in a better state how it is than if I pull too much more out, even if we dont need 6mhz BDM speed.

I dont have time to go far with the P04 now but i popped the lid off and see it doesnt have a standard 90 pin header. That sucks. Im sure I can still get it connected with derby-ws's information here though, just wont be as tidy as pins on that header. viewtopic.php?f=26&t=7637&start=10#p120939
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
antus
Site Admin
Posts: 9002
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 looks like the diagram is missing the DS pin. Does anyone have details? I'll see if I can trace the others back to the CPU and find some documentation to attempt to locate it, but it's not going to be as easy as the standard header on the P08.
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
darkman5001
Posts: 252
Joined: Sat Dec 18, 2021 8:15 am
cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: USB BDM NT

Post by darkman5001 »

antus wrote:It looks like the diagram is missing the DS pin. Does anyone have details? I'll see if I can trace the others back to the CPU and find some documentation to attempt to locate it, but it's not going to be as easy as the standard header on the P08.

I looked at the P04 a few months ago trying to figure out the BDM pins and your right Antus, no header. Even trying to trace the pins some appear to be missing. I am sure the CPU has the required pins but the problem is the pins are soldered under the CPU and not on the outside to expose them. This will indeed be a challenge.

I apologize. Brain fart on my part. The pins are not hidden under the chip.
Last edited by darkman5001 on Wed Jul 05, 2023 1:12 pm, edited 1 time in total.
usbbdm
Posts: 7
Joined: Sun Sep 05, 2021 4:00 am

Re: USB BDM NT

Post by usbbdm »

I am the creator of BDM NT and u-Link NT. The init sequence is created based on the firmware and reference manual to
1. Stop watchdog.
2. Initialize the memory read/write so we can detect/erase/program the flash. There are a lot of copy and paste from the original xml and most are harmless and might not be correct. If it works for you then that is good enough.

As of P04, if you cannot find the pinout, then you need to destroy one board by remove the chip and find the trace. This is what I did for E38,E40 and E67.
User avatar
Gatecrasher
Posts: 352
Joined: Sat Apr 25, 2020 6:09 am

Re: USB BDM NT

Post by Gatecrasher »

I have a P04 I'm willing to submit for destruction. Either I can do it myself with a heat gun, or send it off to someone more sophisticated. I'll donate it to the cause, shipping and all. Let me know.
darkman5001
Posts: 252
Joined: Sat Dec 18, 2021 8:15 am
cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
Location: New Jersey, USA

Re: USB BDM NT

Post by darkman5001 »

Gatecrasher wrote:I have a P04 I'm willing to submit for destruction. Either I can do it myself with a heat gun, or send it off to someone more sophisticated. I'll donate it to the cause, shipping and all. Let me know.

I have a soldering and reworking station here along with a digital microscope. I would be willing to pull the chips and take photos under my microscope and submit.
User avatar
Gatecrasher
Posts: 352
Joined: Sat Apr 25, 2020 6:09 am

Re: USB BDM NT

Post by Gatecrasher »

Cool. If nobody else steps up with a more compelling case, it'll be yours.
Post Reply