Hi
1.) you can set the 5 Baud without problem directly in USART of PC . ( put 23040 in DLH and DLL )
2.) a slow init pattern is always 8 bit , no parity , 1 stop
regards
Bülent
----- Original Message -----
From: Skid
To: opendiag@yahoogroups.com
Sent: Tuesday, September 16, 2003 7:27 AM
Subject: [opendiag] 5bps initialization in VB
Ok' since 5bps is not a standard baud rate to set on any PC, I think
I must do the initialization by doing bit-bashing (software-made
serial stream) I tried pulsing DTR and RTS lines giving 200ms of
delay (1000ms/5bps = 200ms right?) and tried sending the 0x01(engine)
address using the 1 start, 7 data, odd parity 1 stop settings (that's
a 1-0000001-1-1 ?). Can't initiate the ECU. I hope it's not Vb's lame
slow interpreter wich can't set dtr or rts line on the correct
timing :(. I tried commlite to spy the port when Vag-com wakes up the
ECU but can't see any bytes not until the ECU sends the sync byte
(55) after the 5bps wakeup :P Help!
Any one did the init. in vb before?
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
opendiag-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Received on Tue Sep 16 08:03:22 2003
This archive was generated by hypermail 2.1.8 : Wed Jan 02 2008 - 00:56:01 CET