View Single Post
Old 08-11-2010, 10:33 AM   #556 (permalink)
eimix
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Jetta 2001 with ISO is connected! ughu :)

ISO init needs some changes according to
http://www.koch-engineering.com/file...ISO14230-2.pdf
NEW URL
http://sos.teja.lt/~eimix/misc/ecomm...SO_14230-2.pdf
page 14.

Timing issues: need delay before replying ~kw1 and one more delay before receiving 0xCC:

quick hack would be replace

Code:
        // send ~kw2 (invert of last keyword)
        iso_write_byte(~b);

        // ECU answer by 0xCC (~0x33)
        iso_read_byte(&b);
with

Code:
        delay(25);
        // send ~kw2 (invert of last keyword)
        iso_write_byte(~b);

        // ECU answer by 0xCC (~0x33)
        byte i=0;
        while(i<3 && !iso_read_byte(&b))
        {
          i++;
        }
Now it inits well, shows all stuff
After i turn car of - OBDuino32K states trip is saved and turn backlight after while.
But after car is started - Obduino32K is not coming back. Backlight is off, but it responds to buttons. Any ideas?

Last edited by eimix; 04-04-2011 at 05:52 AM.. Reason: url update
  Reply With Quote