Page 2 of 4

Re: Trying to communicate with 1226865 ECM

Posted: Sun Sep 15, 2019 12:39 pm
by delcowizzid
interface2.gif
interface2.gif (11.3 KiB) Viewed 7188 times

Re: Trying to communicate with 1226865 ECM

Posted: Sun Sep 15, 2019 1:24 pm
by delcowizzid
That pick is also looking into the db9 port on the pc just in case you built it thinking it was the plug end
images-1.png
images-1.png (9.24 KiB) Viewed 7186 times

Re: Trying to communicate with 1226865 ECM

Posted: Sun Sep 15, 2019 6:16 pm
by ndndndnd
Hi Delco, thanks for the information!

R4 - the 1.5kohm resistor? I did try with and without that, but with no success.

I notice on the WinALDL layout you've posted there's no R2 10kohm resistor between Pins 4 (5V) and the RxD line? I was under the impression this was necessary to switch the transistor? Nonetheless I've tried with and without that resistor and without success either.

I'm using 2N3904 resistor, which I guess I chose at random - I don't know what the differences are between those resistors.

I have measured voltage at Pin D, which oscillates between about 7V and 9-11V on my DVM with pins A and B bridged with a 10kohm resistor. I'm assuming this means the port is working and data is flowing!

My laptop doesn't have a serial port - hence using the FT232 to transmit the data via USB.

Cheers,

ND

Re: Trying to communicate with 1226865 ECM

Posted: Sun Sep 15, 2019 6:22 pm
by delcowizzid
The resistor from pin 4 to pin 2 is 12v power supply but some serial ports don't have enough so it gets 12v from the car instead the transistor is switching that 12v to earth making it go on and off on and off into the serial port rx pin its just inverting the signal

Re: Trying to communicate with 1226865 ECM

Posted: Sun Sep 15, 2019 6:30 pm
by delcowizzid
Does the ecu have a removable memcal if so look for the BCC its a 4 letter and 4 number code I'll see if I can find a file that suits for tunerpro

Re: Trying to communicate with 1226865 ECM

Posted: Mon Sep 16, 2019 9:10 am
by j_ds_au
Hi ND.

Your circuit as is looks OK (although your soldering doesn't). Don't omit resistors and don't substitute with a zener. And yes, a genuine FT232RL can handle the oddball 160 baud data stream. What you need is the correct FTDI software to configure the chip to invert the RX line. If the software you have only detects FT232BM (which is not actually obsolete, just renamed FT232BL in its lead-free guise, but lacks the inversion feature anyway), then you have the wrong software.

Also, I don't want to be anal guys, but ... please know that the 9-pin D-sub connector isn't a DB9, that's an Aston Martin car, not a connector. That second letter tells you the size of the connector shell/body (in this case, it's E). If you don't know the correct letter to use, you can simply omit it, so D9 would be perfectly fine.

Joe.

Re: Trying to communicate with 1226865 ECM

Posted: Mon Sep 16, 2019 9:55 am
by antus
Just to add to the oscilloscope options too, something like a hantek usb scope is good bang for buck because you can get a nice larger UI on the computer screen, but at a minimum something like this would at least give you eyes on the signals. https://www.ebay.com.au/itm/Soldered-DS ... 3515265070

Re: Trying to communicate with 1226865 ECM

Posted: Tue Sep 17, 2019 11:33 pm
by ndndndnd
delcowizzid wrote:Does the ecu have a removable memcal if so look for the BCC its a 4 letter and 4 number code I'll see if I can find a file that suits for tunerpro
I can't see a BCC code anywhere? The ECM is a 1226865, and the EPROM is 16044302, PROM ID 4303. Does that mean anything? I have looked for XDF files etc for this ECM and couldn't find anything, so it would be great if you could point me in the right direction.

Re: Trying to communicate with 1226865 ECM

Posted: Tue Sep 17, 2019 11:44 pm
by ndndndnd
j_ds_au wrote:Hi ND.

Your circuit as is looks OK (although your soldering doesn't). Don't omit resistors and don't substitute with a zener. And yes, a genuine FT232RL can handle the oddball 160 baud data stream. What you need is the correct FTDI software to configure the chip to invert the RX line. If the software you have only detects FT232BM (which is not actually obsolete, just renamed FT232BL in its lead-free guise, but lacks the inversion feature anyway), then you have the wrong software.

Also, I don't want to be anal guys, but ... please know that the 9-pin D-sub connector isn't a DB9, that's an Aston Martin car, not a connector. That second letter tells you the size of the connector shell/body (in this case, it's E). If you don't know the correct letter to use, you can simply omit it, so D9 would be perfectly fine.

Joe.
Thanks for confirming the circuit's ok and confirming my query about the Zener diode. You are quite right to criticise my soldering - I am less than experienced at it! But hopefully it should be ok for an electrical signal...?

By saying the FT232RL can handle the 160 baud data, do you also mean at 12V?

Can you show me what software to use? I've used FT_PROG from the FTDI website, and that identified the chip as an FT232/245BM and that I needed to use older software. I also downloaded MPROG, which is the older software, but this seemed to depend on you telling it what you have. I've confirmed the chip works (?) using puTTY, and also downloaded something called 'chipgenius', which seemed to confirm it's FTDI, but wouldn't say what chip it is.

FT_PROG gives the device out put as just rows of FFFF FFFF FFFF FFFF etc....

Re: Trying to communicate with 1226865 ECM

Posted: Tue Sep 17, 2019 11:45 pm
by ndndndnd
antus wrote:Just to add to the oscilloscope options too, something like a hantek usb scope is good bang for buck because you can get a nice larger UI on the computer screen, but at a minimum something like this would at least give you eyes on the signals. https://www.ebay.com.au/itm/Soldered-DS ... 3515265070
I didn't know you could pick them up so cheaply! I'll look into the UK-available equivalents and see if I can find something.