Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: BDM Interface for WinXP!!!


Senior Member

Status: Offline
Posts: 144
Date:
BDM Interface for WinXP!!!


Hi there,

I have created an app for use under WinXP with the PD BDM hardware. With my program you can read/write/erase the 16bit 68hc916 MCU. Currently i support only the 916R1 MCU because this is what my bike has. I own a TL1000R.

You will need my program and the PD BDM cable which you can build from http://cmp.felk.cvut.cz/~pisa/m683xx/fig/bdm_pd.pdf
or you can buy one from the european ebay.

You can download my app from:

http://rapidshare.com/files/295292946/BDM_ECU_Programmer.rar

There is a bug currently in my app. To erase the selected region at the MCU you need to press "Erase ECU" 2 times.

Soon i will develop a USB BDM interface for use with computers that don't have an LPT port.

Please visit the tlzone forum and see our work on the TL1000R ECU.
Anyone who wants to donate through paypal use my email address : psychegr2gmail.com. Replace "2" with @.



__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

hi there,

the pd bdm cable you mentioned  from ebay will work with your software!!!

I am assuming the 10 wire cable with the (e bay) pd bdm, will have to modified similar to the P&E 16/32 cable.

not too confusing I hope.

Thanx Dave.



.


__________________

http://www.zx12r.co.uk



Senior Member

Status: Offline
Posts: 144
Date:

Yeap you need to modify it as the PE cable. Its not that hard. There are instructions in the ZX12 thread in this forum.

What ECU do you want to reprogram?

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

hi psyche,

I have notched an A1 2000 ZX12 ecu, which already had the 8 pins and 'female'  connector shroud when I cut the case and removed the potting !!!!!!!?????

The Denso number of the ecu I have is

21175-1065     
5-112100-309  
12v     06U369

This is a spare ecu I picked up on ebay a while ago, from what I can remember I have testerd it on my A1, only to see if it started and all the gauges worked, which it did.

Now I need to sort out the bdm etc.

Thanx Dave.



.


__________________

http://www.zx12r.co.uk



Senior Member

Status: Offline
Posts: 144
Date:

Dave as soon as you sort out the bdm connection power up the ecu from the main connectors as RidgeRacer states in the ZX12 thread. Open my app and press "Connect".
After that you shall press the "Read ECU". It will store a partial code from your ECU. Don't press any other button in my app. My app currently works correctly only with the TL1000R.
The ZX12 has different flash modules. If you press "Read ECU" it will not harm your ECU. After the process is finished close the app and open the file that you saved with Notepad. If you see any character then it will work with your ECU.

I need to add code to my app in order to work with your ECU. If you want to help me to develop this code please come in contact with me through MSN at the email that i posted above. We will work online and if we are lucky we will have a working version in 1 hour. Then main code is the same online a few calculations change. ;)

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

psyche

Hi there,

thanx for the quick response, as soon as the BDM arrives, I will sort out the cable etc, and power it up with your app etc as you say above, and will post back here.


Thanx for the help Dave.    smile.gif



.


__________________

http://www.zx12r.co.uk



Newbie

Status: Offline
Posts: 4
Date:

Link to said BDM cable on ebay?

__________________
drp


Member

Status: Offline
Posts: 21
Date:

01silverZX12 wrote:

Link to said BDM cable on ebay?




Hi there, this is the one I have got, but I haven't got the 8 pin plug yet, so have not tested.

http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&item=360207220139


-- Edited by drp on Wednesday 25th of November 2009 12:19:01 AM

-- Edited by drp on Wednesday 25th of November 2009 12:21:14 AM

__________________

http://www.zx12r.co.uk



Newbie

Status: Offline
Posts: 4
Date:

Thanks, I saw that one. Let me know if it works for you.

I sent RidgeRacer and email asking him if he's had any experience with it but haven't heard from him.

__________________


Newbie

Status: Offline
Posts: 4
Date:

Any update on getting this to work with the 12?

__________________
drp


Member

Status: Offline
Posts: 21
Date:

No, I have not progressed with this,

Too many projects on the go,

I need to get a connector for the ECU, and finish the harness.

I'll try and move on with this over the next couple of weeks and see if I can read the ecu.

But! will need to talk with 'Psyche' about the programme before so.

Be back soon.

Dave.


__________________

http://www.zx12r.co.uk



Senior Member

Status: Offline
Posts: 144
Date:

I am preparing support for ZX12 and Hayabusa. Soon I will have an untested version for you to test.

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

psyche wrote:

I am preparing support for ZX12 and Hayabusa. Soon I will have an untested version for you to test.




I'd better get my ass in gear, and get my harness finished!!

Back soon.

Thanx Dave.



__________________

http://www.zx12r.co.uk

drp


Member

Status: Offline
Posts: 21
Date:

Picking a couple of parts up in the morning for connecting the BDM to the ECU.

Waiting for ECU power supply 'pins' through the post.

Have to modify PC ATX Power Supply for powering ECU.

Back soon.

Dave.

__________________

http://www.zx12r.co.uk



Senior Member

Status: Offline
Posts: 144
Date:

I have finished the "reading" section. Need to figure out the erase and write procedures.

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

Hi Psyche,

I have modified the Power Supply, with some help from ZZR Tom. smile

And the BDM to ECU lead is finished. smile

Waiting for the 'pins' for the ECU Power Connector. cry

I may bodge the ECU Connector for now. ashamed.gif

__________________

http://www.zx12r.co.uk



Member

Status: Offline
Posts: 12
Date:



-- Edited by wby300 on Wednesday 27th of January 2010 11:48:28 AM

-- Edited by wby300 on Wednesday 27th of January 2010 11:59:00 AM

__________________
drp


Member

Status: Offline
Posts: 21
Date:

I have read the zx12 1065 ecu, got 4 files - bootloader.bin, control registars.bin, firmware.bin and map data.bin.

Uploaded 'zx12_def for BDM Programmer.xml' from Pysche

but will not open in RomRaider, says 'ecu deffinition not found'

Any ideas!!!

Thanx Dave.


__________________

http://www.zx12r.co.uk



Senior Member

Status: Offline
Posts: 144
Date:

Are you sure that you added the zx12_def for BDM Programmer.xml to romraider and saved/applied the changes???

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development

drp


Member

Status: Offline
Posts: 21
Date:

Hello Psyche,

Yes, will upload again, and re-load xml and try reading again.

Thanx Dave.

__________________

http://www.zx12r.co.uk



Member

Status: Offline
Posts: 13
Date:

hi, I upload link. (http://forum.ecuproject.com/viewtopic.php?t=2489&f=73 9) in speaking to a usb-bdm interface adapter, this diagram, feerware and software used ft245rl, I hope they serve.



-- Edited by maq67 on Wednesday 8th of December 2010 04:28:15 PM

Attachments
__________________


Senior Member

Status: Offline
Posts: 144
Date:

These guys have helped me a lot!

But i cant see the schematic, it s too small!
I have only made it enter in BDM mode. Other than that command nothing else worked! i don't know what is the fault. I have put it aside for a while as i am developing a Denso Bootloader for the 68HC(9)16 CPUs. If you have any info on the ft245 project or 68hc16 assembly i am alll ears!

Cheers

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development



Member

Status: Offline
Posts: 21
Date:

I have noticed a few errors/updates since the first post.

First of all, just in case anyone else attempt to build one of these BDM PD interfaces:
http://cmp.felk.cvut.cz/~pisa/m683xx/fig/bdm_pd.pdf
Take note at the BCC Background Mode Connector on the right side. The pins are labelled different for that type of connector compared to what we want.
We are not using the same connection. This diagram really needs to be re-drawn correctly.
Starting from the top of the diagram:
BKPT/DSCLK should be pin 4
Reset should be pin 5(same)
Freeze should be pin 7
IFetch/DSI should be pin 3

VCC should be pin 1
VSS(GND) should be pin 8
IPipe/DSO should be pin 2

The latest version of the free software is here: (this will also do ZX12 & Gen I Busa) - yet to try on GSXR600/750/1000
http://rapidshare.com/files/396461575/BDM_ECU_Programmer.rar

You will also need to download this:
http://www.dll-files.com/ftd2xx.zip?0WMmOIVMlT
It is a driver ftd2xx.dll for the ftdi cable. This needs to be copied to /windows/system


__________________


Veteran Member

Status: Offline
Posts: 28
Date:

luke111 wrote:

I have noticed a few errors/updates since the first post.

First of all, just in case anyone else attempt to build one of these BDM PD interfaces:
http://cmp.felk.cvut.cz/~pisa/m683xx/fig/bdm_pd.pdf
Take note at the BCC Background Mode Connector on the right side. The pins are labelled different for that type of connector compared to what we want.
We are not using the same connection. This diagram really needs to be re-drawn correctly.
Starting from the top of the diagram:
BKPT/DSCLK should be pin 4
Reset should be pin 5(same)
Freeze should be pin 7
IFetch/DSI should be pin 3

VCC should be pin 1
VSS(GND) should be pin 8
IPipe/DSO should be pin 2




I had lots of problems getting a BDM to work, I ended up with a modified version of that circuit.  I have updated the link in the sticky, I didn't realise that was still there - I no longer have access to that site so it hasn't been updated for years.
The pinout in the schematics is the pin out specified by Motorola many years ago - Denso use a non-standard pin out
I also found that you need a good quality parallel port cable and that it mustn't be too long. P&E's documentation also refers to this issue. I have been using Psyche's sucessfully for some time now although I do now have access to a P&E interface.
On the ECUs that I have worked with I have had to disable a hardware watchdog to be able to carry out the first read, after that the BDM programme can be used to continually reset the wdog timer.



-- Edited by Rhinoman on Monday 21st of March 2011 11:02:11 PM

__________________


Veteran Member

Status: Offline
Posts: 25
Date:

can anyone recommend a bdm interface for windows 7/8?

__________________


Veteran Member

Status: Offline
Posts: 65
Date:

It would help if you provided details about what type ECU is involved and what you're trying to accomplish...



__________________


Veteran Member

Status: Offline
Posts: 25
Date:

mr_hollywood wrote:

It would help if you provided details about what type ECU is involved and what you're trying to accomplish...


 the ecu is a delphi unit  with mpc561 , im trying to clone the ecu and disable the immobilizer



__________________


Senior Member

Status: Offline
Posts: 144
Date:

Mpc561 uses a different bdm protocol than the one mentioned here. Since you want to clone the ecu i think that all you need to do is to copy the serial eeproms from ecu to another or desolder from the old one and solder to the new. That way the immobilizer and the adaptions will be there including the vin number.

__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development



Veteran Member

Status: Offline
Posts: 25
Date:

psyche wrote:

Mpc561 uses a different bdm protocol than the one mentioned here. Since you want to clone the ecu i think that all you need to do is to copy the serial eeproms from ecu to another or desolder from the old one and solder to the new. That way the immobilizer and the adaptions will be there including the vin number.


 

thanks psyche, i will give that a try



__________________


Newbie

Status: Offline
Posts: 1
Date:

Hi !

Anyone here who have the old BDM Software for 68HC916 MCU ?

THX
Eddi


__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard