Search found 307 matches

by efloth
2021 Feb 22, 18:06
Forum: TunerPro Support
Topic: Ford Universal ADX
Replies: 26
Views: 20897

Re: Ford Universal ADX

Ok that is good to know, I will try to log directly. I really appreciate your help. FYI the universal ADX has selectable payloads configured for every strategy. A1C Payload Looks like this: I am just adapting for a different box code.

Code: Select all

0x51 0x40 0x01 0x03 0x1F 0x1F 0x02 0x03 0x0D 0xD6 0x02 0x03 0x03 0x96 0x01 0x03 0x0D 0xB6 0x01 0x03 0x0D 0xB7 0x02 0x03 0x0D 0x9A 0x02 0x03 0x0D 0xCC 0x02 0x03 0x0D 0xBA 0x02 0x03 0x0D 0xB4 0x02 0x03 0x01 0x24 0x02 0x03 0x0D 0x8A 0x02 0x03 0x01 0x62 0x02 0x03 0x01 0xF2 0x02 0x03 0x0D 0xBE 0x02 0x03 0x0D 0x96 0x02 0x03 0x01 0x70 0x02 0x03 0x01 0x1A 0x02 0x03 0x01 0x54 0x02 0x03 0x0D 0x92 0x01 0x03 0x0D 0x8D 0x01 0x03 0x0D 0x8D 0x02 0x03 0x1F 0x44 0x01 0x03 0x0D 0x91 0x01 0x03 0x0D 0xB9 0x02 0x03 0x0D 0xB2 0x01 0x03 0x0D 0xA8 0x01 0x03 0x01 0x5C 0x02 0x03 0x01 0x6A 0x01 0x03 0x01 0x5D 0x01 0x03 0x0D 0xDB 0x01 0x03 0x1F 0x1F 0x01 0x03 0x02 0x1B 0x01 0x03 0x1F 0x1F 0x01 0x03 0x02 0x28 0x01 0x03 0x01 0x4E 0x01 0x03 0x02 0x39 0x02 0x03 0x0D 0x96 0x02 0x03 0x01 0x70 0x02 0x03 0x01 0x1A 0x01 0x03 0x1F 0x1F 0x01 0x03 0x1F 0x5D 0x02 0x03 0x1F 0x20 0x02 0x03 0x1F 0x20 0x01 0x03 0x0D 0xD9 0x01 0x03 0x1F 0x1F 0x01 0x03 0x03 0x5C 0x01 0x03 0x1F 0x1F 0x02 0x07 0xFF 0xFE 0x02 0x03 0x03 0x14 0x02 0x03 0x03 0x22 0x02 0x03 0x01 0x6C 0x01 0x03 0x03 0x98 
by efloth
2021 Feb 22, 16:13
Forum: TunerPro Support
Topic: Ford Universal ADX
Replies: 26
Views: 20897

Re: Ford Universal ADX

Thanks, got it. Here is the result:

Code: Select all

3b1e: 01,0e,01            struct    1, iADC_Ch1
3b21: 02,0a,01            struct    2, iADC_Ch2
3b24: 03,0c,01            struct    3, iADC_Ch3
3b27: 07,1c,01            struct    7, iADC_Ch7
3b2a: 08,10,01            struct    8, iADC_Ch8
3b2d: 09,12,01            struct    9, iADC_Ch9
3b30: 0a,18,01            struct    a, iADC_ChA
3b33: 0b,1a,01            struct    b, iADC_ChB
3b36: 0c,14,01            struct    c, iADC_ChC
Please correct me if I am wrong, the above addresses are not directly readable by the QH so they are being copied by the datalogging routine to readable addresses. The ADX is configured to read shadow addresses so the big question is in what order are these shadowed? My Datalogging List function below is a copy from the A1C DL Patch. Can I assume that 010a=00D6? I think I am missing part of the equation. Thanks for all your help.

Code: Select all

00D6
0396
00B6
009A
00CC
00BA
00B4
0124
008A
0162
01F2
00BE
0096
0170
011A
0154
0092
008C
0090
00B8
00B2
00A8
015C
016A
00DA
021A
0228
014E
0238
00D8
035C
0314
0322
016C
0398
0000
0027
5D01
009E
4404
00A5
4480
0000
0000

by efloth
2021 Feb 20, 14:43
Forum: TunerPro Support
Topic: Ford Universal ADX
Replies: 26
Views: 20897

Re: Ford Universal ADX

I am single bank SD and I don't see anything resembling the first example. But I found this:

Code: Select all

   Sub_3af0:
3af0: a1,1e,3b,30         ldw   R30,3b1e         R30 = 3b1e;
3af4: fb                  ei                     interrupts ON;
3af5: 56,30,00,04         ad3b  R4,R0,[R30]      AD_Cmd = [R30];
3af9: de,22               jlt   3b1d             if (AD_Cmd >= 0)  {
3afb: 33,0a,fd            jnb   B3,Ra,3afb       if (AD_Ready = 0) goto 3afb;
3afe: fa                  di                     interrupts OFF;
3aff: ff                  nop                    
3b00: 51,0f,04,34         an3b  R34,R4,f         R34 = AD_Low & f;
3b04: 9a,30,34            cmpb  R34,[R30]        
3b07: d7,eb               jne   3af4             if (R34 != [R30]) goto 3af4;
3b09: 51,f0,04,34         an3b  R34,R4,f0        R34 = AD_Low & f0;
3b0d: b0,05,35            ldb   R35,R5           R35 = AD_High;
3b10: 07,30               incw  R30              R30++;
3b12: b2,31,32            ldb   R32,[R30++]      R32 = [R30++];
3b15: b2,31,33            ldb   R33,[R30++]      R33 = [R30++];
3b18: c2,32,34            stw   R34,[R32]        [R32] = R34;
3b1b: 27,d7               sjmp  3af4             goto 3af4; }

3b1d: f0                  ret                    return;

3b1e: 01                  byte      1
3b1f: 0e                  byte      e
3b20: 01                  byte      1
3b21: 02                  byte      2
3b22: 0a                  byte      a
3b23: 01                  byte      1

3b24: 03,0c,01,07,1c,01,08,10,01,09,12,01,0a,18,01,0b  ???  
3b34: 1a,01,0c,14,01,ff   ??? 
by efloth
2021 Feb 19, 20:01
Forum: TunerPro Support
Topic: Ford Universal ADX
Replies: 26
Views: 20897

Re: Ford Universal ADX

forgive my ignorance but are all A/D conversions done in the same routine? What opcodes am I looking for?
by efloth
2021 Feb 19, 18:52
Forum: Hardware, Programming & Disassembly
Topic: Programming in assembly?
Replies: 2
Views: 3862

Re: Programming in assembly?

Wow that's amazing. A lot of guys are buying megasquirt for wideband support. Trying to steer ford-six folks your way. Seems like an awful lot of work to cut out the stock ecu if it is capable of everything and sometimes more than the aftermarket ones are. In Cali you can't get away with that because of inspections. Have you thought about making that a marketable product or is it something you share with a premium membership?
by efloth
2021 Feb 19, 14:40
Forum: Hardware, Programming & Disassembly
Topic: Programming in assembly?
Replies: 2
Views: 3862

Programming in assembly?

Just curious if you know what tools if any Ford used to generate the assembly code for the eec. Was it all done with truth tables and calculus functions? Just thinking if anyone was or has tried implementing support for a wideband o2 or if that would even be possible.
by efloth
2021 Feb 18, 06:22
Forum: TunerPro Support
Topic: Ford Universal ADX
Replies: 26
Views: 20897

Re: Ford Universal ADX

Is finding ram addresses just a guess and check process? Is there a way to view the raw data stream to find things like throttle position easily?