From: camden l. <cam...@gm...> - 2016-01-23 20:10:10
|
Result is here: http://pastebin.com/eGxfWkgL Still having issues, although it is at least seeing some communication from ECU (calls out 1 code stored, no MIL, and 4 O2 sensors) c On Sat, Jan 23, 2016 at 8:53 AM, camden lindsay <cam...@gm...> wrote: > I think I found it.. > /* > * Figure out cmd to send depending on the hardware we have been > * told to use and whether we need to do fastinit or not > */ > switch (dev->protocol) > > ... > > case DIAG_L1_J1850_PWM: > cmd = 0x04; > break; > > > Should switch that to 0x80. will give that a try. > > > > On Sat, Jan 23, 2016 at 8:45 AM, camden lindsay > <cam...@gm...> wrote: >> Perhaps the question to ask is, what companies use J1850-PWM OTHER than ford. >> >> Every reference i've read so far on the net either says something like >> 'SAE J1850 PWM (pulse-width modulation — 41.6 kB/s, standard of the >> Ford Motor Company)' >> or doesn't mention a company at all. >> >> And perhaps the other companies that use it (if any) use the same >> standard comm protocol, so wouldn't break? >> >> But no idea. >> I'll see if i can do this shortly. >> c >> >> On Fri, Jan 22, 2016 at 12:47 PM, C. SB <bel...@em...> wrote: >>> >>>> Or could communicate some with the vendor as welll, if needed. >>> I have done just that, and got the following answer: >>> >>> " The problem is the use of the 04 command. It does not do the IFR, >>> " so the ECU sends 3 responses. >>> " Use the 80 command and the ECU will stop sending the 3 responses. >>> >>> I'm not sure of all the implications, since the ME docs say >>> "Command 80 - [...] In Frame Response is a internal handshake used by Ford vehicles. >>> This is why we recommend using command 80 instead of command 04 when >>> communicating with Ford vehicles. " >>> >>> So, if we change the code to use 0x80 for J1850-PWM, will it break support for non-ford ECUs ? I'm not sure. >>> I should still make freediag accept those triple replies, but in the meantime you could try changing the command code (it's going to be in diag_l0_me.c , in _write() or _send() I forget) >>> >>> Let me know how it goes, I'll be on #freediag again. >>> >>> >>> ------------------------------------------------------------------------------ >>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>> Monitor end-to-end web transactions and take corrective actions now >>> Troubleshoot faster and improve end-user experience. Signup Now! >>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >>> _______________________________________________ >>> Freediag-discuss mailing list >>> Fre...@li... >>> https://lists.sourceforge.net/lists/listinfo/freediag-discuss |