Hey all, I got a 2012 KTM 350 excf dirt bike that uses Keihin EFI. KTM has tuning software for free, but they like to charge $500 for their cable. I figure I could make one of my own. So I purchased a OBD CAN to USB adapter from DealExtreme, as well as a spare female connector. I am just now wiring it up.
I have two issues:
(1) from the KTM schematic I can tell which lines are the CAN lines, but I cannot tell which is CANH and which is CANL. I hooked up a scope, but all I see on both lines is they jump to 2.5V - I cant see any data (timebase set to 2us). I could have my triggering all messed up though.
(2) The KTM has 6 wires for its diagonistics port. 2 grounds, +12V, 2 CAN wires plus an unknown light blue wire. This wire goes right to the ECU without any other connections. Any clue to what this might be? Perhaps it might need to be pulled high or grounded to enable the CANBUS output?
(3) Can you point me to some introductory information on motorcycle ECUs - specifically to help me understand pinouts, protocols, protection, etc.
Thanks for the link. Thats actually K-Line OBD used on the 660/990, not CAN-Bus OBD. The KTM dirt bikes use CAN-Bus.
I hope this serves you with some corrections may work : http://pinoutsguide.com/CarElectronics/obd-2_universal_cable_pinout.shtml
I hope this serves you with some corrections may work : http://www.outilsobdfacile.com/diagnostic-interface-elm-327.html
Any joy with this project
I would also be interested... According to the dealer the tool is the same for all bikes, so I guess the tool supports K-line as well as CAN Bus. I ordered the parts (connectors, generic OBD device) to build a cable, planning to validate the other pins in the connector for the CAN bus pair.
Can I always expect a signal on the bus, or only when initiated by an external device (that I would need to connect)?
I also have a Ktm 350 i can test on, but from 2014 the factory tool is now a handheld device if i got it correct? If someone have easy access to either old software and cable or the new handheld device, and kan try and sniff the diagnostic lines? Clone a genuine cable or write new software after sniffing remains to be seen, wich would be easiest/fastest.
Based on the 350 SX-F schematics I was able to identify the different wires.
There are some questionmarks:
- Power. Could be KTM pin 1 or 5. I guess it does not really matter until we get it working.- CAN high and CAN low: Not sure which is which. Could use trial and error to find out.- Do we need to do anything with KTM connector Pin 4? It is connected to ECU Pin 10. On the LC4/LC8/RC8 interface it is used for the K-line. I would be surprised if that would be in use in a system where CAN bus is used... but could it be used to trigger something, like the topicstarter suggests?
I built it like this, but somehow I could not get my bluetooth OBD adapter to recognize a bike. Tried switching the 2 CAN wires, but still no luck.
I understand that the FI Husabergs use the same system. The KTM road-legal versions are locked, to prevent tampering, the MX versions are not. But I don't know whether it was made to work only with the $500 KTM tool.
Does anyone know from other bikes where similar Keihin units are used, how to make this one cooperate?