Some software/ALDL q's
Thread Starter
Senior Member

Joined: Jul 2003
Posts: 604
Likes: 0
From: Howard Beach, NYC
Car: 1990 TA
Engine: LB9 305
Transmission: 4L60
Some software/ALDL q's
For the software writing gurus:
As stated in a previous post, I'm working on software for PocketPC for at least the 165 and 730 ECMs.
I've hacked up a cable, damned if I know if it works yet or not. There isn't anything in existence on building a PocketPC compatible data cable - so I don't know if I need to do anything different than a run of the mill USB data cable. And manufacturers aren't too open with their pin-outs.
From what I can tell, the ECM does not respond if I do not send a valid request. Is this correct? If I send an incorrect byte, I get nothing?
Is there anything I can do to find out if the cable itself works? Being that its an ALDL connector on the one end limits me to testing on the computer itself. Any way to get the ECM to just dump so I can play with the cable till the PPC starts receiving?
TIA
As stated in a previous post, I'm working on software for PocketPC for at least the 165 and 730 ECMs.
I've hacked up a cable, damned if I know if it works yet or not. There isn't anything in existence on building a PocketPC compatible data cable - so I don't know if I need to do anything different than a run of the mill USB data cable. And manufacturers aren't too open with their pin-outs.
From what I can tell, the ECM does not respond if I do not send a valid request. Is this correct? If I send an incorrect byte, I get nothing?
Is there anything I can do to find out if the cable itself works? Being that its an ALDL connector on the one end limits me to testing on the computer itself. Any way to get the ECM to just dump so I can play with the cable till the PPC starts receiving?
TIA
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
From what I can tell, the ECM does not respond if I do not send a valid request. Is this correct? If I send an incorrect byte, I get nothing?
Pretty much. ECM won't respond to data that it does not understand.
Any way to get the ECM to just dump so I can play with the cable till the PPC starts receiving?
There are some MaskIDs that will xmit chatter. The $88 ('730) and $58 ('749) are two that do this. You should see the constant chatter coming across.
RBob.
Pretty much. ECM won't respond to data that it does not understand.
Any way to get the ECM to just dump so I can play with the cable till the PPC starts receiving?
There are some MaskIDs that will xmit chatter. The $88 ('730) and $58 ('749) are two that do this. You should see the constant chatter coming across.
RBob.
Thread Starter
Senior Member

Joined: Jul 2003
Posts: 604
Likes: 0
From: Howard Beach, NYC
Car: 1990 TA
Engine: LB9 305
Transmission: 4L60
Thanks RBob, now I've run into a new issue (hopefully a non-issue):
I've been trying to connect to the ECM with no success. I can't tell if its the cable or not, but the cable hooked up to a laptop worked last I used it (about 6 months ago).
Now, here's the thing: PocketPCs aren't like desktops when it comes to the serial port. The controller can only use predefined rates - and you guessed it, 8192 isn't one of them.
I know with a PC-PC connection if one is set to a rate the other can't handle/doesn't support, it adjusts. Will this work with the ECM? If I set the software to comnicate at 9600, will I be able to communicate with the ECM?
I'm guessing it won't matter as long as I don't go below 8192bps, it'll work, but I'll ask before I go nuts trying just to find out its not possible.
I've been trying to connect to the ECM with no success. I can't tell if its the cable or not, but the cable hooked up to a laptop worked last I used it (about 6 months ago).
Now, here's the thing: PocketPCs aren't like desktops when it comes to the serial port. The controller can only use predefined rates - and you guessed it, 8192 isn't one of them.
I know with a PC-PC connection if one is set to a rate the other can't handle/doesn't support, it adjusts. Will this work with the ECM? If I set the software to comnicate at 9600, will I be able to communicate with the ECM?
I'm guessing it won't matter as long as I don't go below 8192bps, it'll work, but I'll ask before I go nuts trying just to find out its not possible.
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
The ECM can't change it's baud rate. With the PCs/Laptops we use a UART clock divisor of 14 which gives 8228 baud. Not perfect but good enough to talk to the ECM which is 8192 baud (less than a 1% difference in speed).
RBob.
RBob.
Thread Starter
Senior Member

Joined: Jul 2003
Posts: 604
Likes: 0
From: Howard Beach, NYC
Car: 1990 TA
Engine: LB9 305
Transmission: 4L60
Originally posted by RBob
With the PCs/Laptops we use a UART clock divisor of 14 which gives 8228 baud. Not perfect but good enough to talk to the ECM which is 8192 baud (less than a 1% difference in speed).
With the PCs/Laptops we use a UART clock divisor of 14 which gives 8228 baud. Not perfect but good enough to talk to the ECM which is 8192 baud (less than a 1% difference in speed).
Looks like I'll put this on hold for a bit.




