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.
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 (9.9 KiB) Viewed 3493 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!
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
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.
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.
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.
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.
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.