GM P59 1mb PCM

This talks about BDM used on card Engine computer
Post Reply
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

GM P59 1mb PCM

Post by bubba2533 »

Hello,

I'm working on reading and flashing a GM PCM from my 03 Chevy S10.

It's a 1mb PCM commonly known as the P59.

I've heard that it is very similar to the 411 (also known as the P01) PCM.

I believe I have it wired correctly, which I will post pictures of once confirmed. As of right now I am getting the following output when trying to 'Detect Chip'

Code: Select all

Copyright (C) 2010-2015
USB BDM NT    0.84
Target: ECU4111M
-speed 0
-speed 1
-reset 1
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0089,889d
Hoping to get some help and share what I've learned about it.


Thanks,
Branden
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Find me online and we can setup time to get you correct XML to program this device. You should have the wiring correct.
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

Post by bubba2533 »

I haven't been able to catch you online, is there steps you could walk me through to set it up?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

bubba2533 wrote:I haven't been able to catch you online, is there steps you could walk me through to set it up?
What is your time zone?
The way I work is first use reset 1 and then read back the entire flash, you should be able to do so and save to a file.
Then use disassemble tool to disassemble, it and find the instructions of initialization the target, then modify them to the xml file.
Then find the instruction to enable flash write (otherwise you cannot detect the flash or erase or write).
All the tools are available at download section but you need some experience of MC instructions. If you only need once it is not worth learn how to do it yourself.
There is no automatic process and you have to learn to do it.
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

Post by bubba2533 »

Eastern time.

I might be able to force my way through it, but it would be nice to have some help.
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

Post by bubba2533 »

So I did a read of the flash and attached it here.

If you could disassemble it to find the initialization target then I will be able to edit the xml file.
You do not have the required permissions to view the files attached to this post.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Got it. I think I need to use this as an example to make a video to show how to make XML yourself.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Here is the file. Anyone interested how this is created?
The tool I am using is the disassembly tool downloaded from this site.
You do not have the required permissions to view the files attached to this post.
Image
Junior Member
Posts: 32
Joined: Sun Dec 12, 2010 4:58 pm

Post by Image »

usbbdm wrote:Here is the file. Anyone interested how this is created?
The tool I am using is the disassembly tool downloaded from this site.
I am interested in this as well. I would like to learn to do this with a Toytoa ECU as well but would like to learn how to make the xml at least.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

When I got the backup I will disassemble the firmware.
The first four bytes are the entry addresss.
The first tens of lines are initialization sequence and needs to added to xml.
Then find the init sequence to enable the write to the address range and the xml can be made.
So far this is all done by hand other than the disassembly which can use the tool downloaded from this site.
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

Post by bubba2533 »

I finally got around to testing this and I am still getting an error when detecting the chip.

Code: Select all

Copyright (C) 2010-2015
USB BDM NT    0.84
Target: P59
-speed 0
-speed 1
-reset 1
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum ffff,ffff
Edit:
I tested it again with these instructions and got another similar error.

Code: Select all

Enter BDM Mode 
reset 1 (Should see BDM ON fastet this) 
Init (You can click Icon ID to execute "Reset 1" and "Init") 
Backup firmware 
getram code 
Program whole firmware. 
flshdct 0 (Should tell you the type of flash. If not modify the flash.xml. 

Code: Select all

Copyright (C) 2010-2015
USB BDM NT    0.84
Target: P59
-speed 0
-speed 1
-reset 1
-Init
-getram code
Time 00:00:04 (.882)
-flshdct 0
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 001f,ffe0
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Do you see BDM on after reset 1?
This is VERY important. Detect flash needs proper definition file. That needs to be done after disassemble the firmware.
bubba2533
Junior Member
Posts: 10
Joined: Sun Sep 30, 2018 8:31 am

Post by bubba2533 »

Yes, I see BDM on when I do a reset 1.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

bubba2533 wrote:Yes, I see BDM on when I do a reset 1.
What are the register values? Do they look normal? Rpc= ?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Maybe we need to a remote session to find out why. The created xml should fix your issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests