USB JTAG  

Go Back   USB JTAG > USBBDM (NT) > BDM (NT)on Car Engine computer

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2018, 08:46 PM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default GM P59 1mb PCM

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:
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
Reply With Quote
  #2  
Old 10-04-2018, 08:45 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

Find me online and we can setup time to get you correct XML to program this device. You should have the wiring correct.
Reply With Quote
  #3  
Old 10-27-2018, 02:58 PM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default

I haven't been able to catch you online, is there steps you could walk me through to set it up?
Reply With Quote
  #4  
Old 10-27-2018, 05:17 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

Quote:
Originally Posted by bubba2533 View Post
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.
Reply With Quote
  #5  
Old 10-29-2018, 09:24 AM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default

Eastern time.

I might be able to force my way through it, but it would be nice to have some help.
Reply With Quote
  #6  
Old 11-16-2018, 04:38 PM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default

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.
Attached Files
File Type: zip P59 Read Test.zip (246.6 KB, 53 views)
Reply With Quote
  #7  
Old 11-17-2018, 08:46 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

Got it. I think I need to use this as an example to make a video to show how to make XML yourself.
Reply With Quote
  #8  
Old 11-18-2018, 11:27 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

Here is the file. Anyone interested how this is created?
The tool I am using is the disassembly tool downloaded from this site.
Attached Files
File Type: zip T59.zip (706 Bytes, 68 views)
Reply With Quote
  #9  
Old 12-28-2018, 04:39 PM
Image Image is offline
Member
 
Join Date: Dec 2010
Posts: 30
Default

Quote:
Originally Posted by usbbdm View Post
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.
Reply With Quote
  #10  
Old 12-28-2018, 10:38 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

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.
Reply With Quote
  #11  
Old 02-05-2019, 08:08 PM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default

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

Code:
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:
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:
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

Last edited by bubba2533; 02-05-2019 at 09:24 PM.
Reply With Quote
  #12  
Old 02-06-2019, 12:42 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

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.
Reply With Quote
  #13  
Old 02-06-2019, 06:16 AM
bubba2533 bubba2533 is offline
Junior Member
 
Join Date: Sep 2018
Posts: 10
Default

Yes, I see BDM on when I do a reset 1.
Reply With Quote
  #14  
Old 02-06-2019, 09:31 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

Quote:
Originally Posted by bubba2533 View Post
Yes, I see BDM on when I do a reset 1.
What are the register values? Do they look normal? Rpc= ?
Reply With Quote
  #15  
Old 02-06-2019, 10:43 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,510
Default

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 11:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.