1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Actually, that may be what I meant to suggest. After a second thought, I seem to recall that your car wouldn't even have an rxd pin to short to txd as I suggested. I should be of much more help once I've had enough time to get back in to the right mindset. I think I've left myself enough to go on in this thread. I just need to read over it again.
Also I ninja'd a bit more info into my last post you may find relevant. Hopefully I didn't just do it again.
Last edited by benemorius; 05-06-2011 at 04:30 PM.
I should say that in any case, you would certainly want to try the modification that you speak of if you can't talk to everything. I know it made the difference for a number of people, whatever it was.
Pin 7 to 8 shorting is for full OBD2 cars E46/E39 onwards. There are two OBD2 K lines populated to pins 7 & 8 on cars post 09/2001, they made the change at the same time as deleting the round 20 pin connector. Your car won't have pin 8 populated.
One of needs to read ADS_DOCU to find out if RxD is a full on data line or a RTS/CTS/DTR/DTS type line.
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
I translated the document using Google Translate. See attached. It _appears_ that one of the lines is used as some sort of "bus select" line to determine which modules to talk to?
TX Send To control unit, depending on DTR line or TXSG RXSGDTR SteuerleitungfürUmschaltungderSendeleitungzumSG DTR = -12V: Senden auf RXSG DTR = +12V: Senden auf TXSG
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
It is of the same type as txd. Upon module selection in INPA, a series of slightly different packets are sent out. First it tries them on txd, then it tries them on rxd. (well, for some modules it only tries one or the other) The idea being that the module will reply back when it receives the correctly structured packet on the correct line. From what I've seen, all my modules reply back and carry out their conversation on txd regardless of which line the opening query came on.
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
Ok, I can now optimistically suggest that you try shorting pins 17 and 20 in your 20 pin port under the hood. This should bridge the engine/tranny k line with the chassis k line. Or so I believe.
PS: We're really free of automerging? Yay!
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
Hmm, I cracked my eBay 20-pin connector open and pins 17 and 20 are already joined together.
I noticed that the 20-pin diag cap shorts pins 15 and 20 together (RXD and TXD) and pulls them to +12V with an 820 Ohm resistor.
Maybe I should try shorting all the data lines together (RXD, TXD, TXD2) and see if I can talk to all modules then?
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
Absolutely it could. The only reason we have to muck around with anything more complicated than the simple solution you describe is that ediabas and company are not programmed with such universal simplicity in mind. For example, inpa is intolerant of hearing its own echo on the serial rx when it sends something on the serial tx. The ads interface uses dtr to mute serial rx.
If we had open source software to replace bmw's tools, we could in fact have such a universal interface.
Last edited by benemorius; 05-06-2011 at 05:44 PM.
Aha! That must be why when the 20-pin cap is removed, it no longer shorts together RXD and TXD. So INPA can talk and not get confused by itself.
So theoretically we should be able to, with the cap in place, use the X1071 pins in the dash to talk to all modules, if we code it right so that it ignores its own local echo while transmitting?
1999 ///M3 TiAg | Heated Power Vaders | DDM Projector36 5000K 55W HIDs | DDM 3000K 35W HID Fogs
DDM Smoked Corners | DDM Weighted Shift Knob | K&N CAI | Mishimoto AL Rad w/Zionsville AL Shroud
Stewart HiPo Water Pump | Samco Hose Kit | 16" SPAL Puller Fan | Viper 5701LE Security
E36 OBC is now open! Join the effort: BF.C Thread | openOBC Wiki
The 1 wire K line transciever TH3122 inside the USB OBD2 plug already isolates the echo from the RS232 Rx. The k line is bidirectional, and to enable that, there is a TxD lockout pin from the TH3122. This may need to be connected in such a way that the USB-RS232 port talks in half duplex. This is probably why INPA needs a large software buffer edit to the registry.
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
E36 DICE MediaBridge BT and iPod support Photo location of the cabrio drain holes. Custom heated seats and lumbar support retrofit. Glovebox charging sockets and cupholders. E36 PDF Schematics UK Aftermarket E36 OBC bulbs Convert rear lights from non check-control to check-control DIY BMW E36 MFSW retrofit pictoral DIY All BMWs UK cheaper source for electrical connectors, Farnell, RS BMW INPA success E46/E39 onwards E36 vert mood lighting DIY BMW E36 puddle light and inner handle illumination DIY. E36 convertible flat bungee tension strap fix DIY BMW E36 PDF manualBMW E36 vert water in motor of tonneau area fix.
Sure. I'm just highlighting that the static nature of bmw's software is what's preventing the tangled web of interfaces and busses from being as consolidated and convenient as they could and should be. In other words, talking to every module in the car through usb (older/ads modules included) is easily possible - just not with bmw's software.
Here is a more appropriate rendition of the interface I now use with inpa. It's an ads interface based on bmw's ads schematic. It is functionally similar to the one I posted many pages ago. I just reworked it for better diy consumption. I don't remember exactly what it will do in obd mode, and ads mode is only an option on a real windows pc with a serial port located at 0x3F8.
The car-side signals are marked k and l line. I attach these to txd and rxd in the obc harness. I can talk to everything this way, but as I said I don't know that later models will be the same. I'd expect that I could also hook it up to 15 and 20 in the 20 pin under the hood. I'd expect also that you could too, with an extra jumper from 20 to 17 to get to the dme and egs.
I did have to send the opening packet to my dme at 5 baud, but I believe obd-II cars don't have such an ugly requirement. Literally everything else that I (and inpa) do on my car is at 9600 baud. It is my (much faded) understanding that 10.4k will be the rate for obd-II cars. I haven't seen anything that fast on my car.
I'm going to get set up to capture inpa traffic on my car again for a refresher. I'm struggling to understand how you can reach your dme but not zke with the 17-20 bridge. I think my zke communication and yours should be simliar. Let me know if you get it working in the mean time. It may take me a while to gather my things and get going depending on how murphy feels about me today.
It looks like I may run out of hands-on time today before I can get my breadboarded circuit working again. I'm always kicking myself for not having made something more permanent yet. I'm keeping everything in my car with me though so I'll get back to it if I get a chance. Given the choice, I'd always rather be doing this stuff anyway. Better luck to you! Hopefully I've distracted murphy enough just now to let you scrape by unnoticed.
Bookmarks