Quote Originally Posted by kur4o View Post
Look what I gathered here for mode AE on later Pcms. I am not sure if the commands are standardized or not, but if they work for 97 pcm it will be a great find.

Some commands are still missing from the list. And there is more undefined too.
Interesting to look as the similarities and differences between your command collection and what I find for '97...

Later PCM
----------
FUEL GAUGE
6C 10 F1 AE 02 40 1A 00 00 00 00 D4 10%
6C 10 F1 AE 02 40 33 00 00 00 00 08 20%
6C 10 F1 AE 02 40 4D 00 00 00 00 AE 30%
6C 10 F1 AE 02 40 66 00 00 00 00 A6 40%
6C 10 F1 AE 02 40 80 00 00 00 00 BA 50%


'97 PCM
--------
4C 10 F0 AE 02 40 00 00 00 00 00 <CRC>


In the '97 code mode $ae submode $40 has no other parameters and I believe is used to clear out the short term fuel trim table (both left and right).

code is
Code:
BANK0:7040
BANK0:7040 loc_7040:                                                                       ; CODE XREF: VEC_OUTPUT_CMP2+326j
BANK0:7040                                                                                 ; VEC_OUTPUT_CMP2+335j
BANK0:7040                                 ldaa    M$AES$02P$00                            ; M$AE PID $02 PARAM 0
BANK0:7043                                 bita    #$40
BANK0:7045                                 beq     loc_7060
BANK0:7045
BANK0:7047                                 brset   <byte_7D $04 loc_7063                   ; BIT 01
BANK0:7047                                                                                 ; BIT 02
BANK0:7047                                                                                 ; BIT 04
BANK0:7047                                                                                 ; BIT 08
BANK0:7047                                                                                 ; BIT 10
BANK0:7047                                                                                 ; BIT 20
BANK0:7047                                                                                 ; BIT 40 TX MESSAGE IN PROGRESS
BANK0:7047                                                                                 ; BIT 80 DISABLE BACKGROUND MESSAGES
BANK0:7047                                                                                 ;
BANK0:7047
BANK0:704B                                 bset    <byte_7D $04                            ; BIT 01
BANK0:704B                                                                                 ; BIT 02
BANK0:704B                                                                                 ; BIT 04
BANK0:704B                                                                                 ; BIT 08
BANK0:704B                                                                                 ; BIT 10
BANK0:704B                                                                                 ; BIT 20
BANK0:704B                                                                                 ; BIT 40 TX MESSAGE IN PROGRESS
BANK0:704B                                                                                 ; BIT 80 DISABLE BACKGROUND MESSAGES
BANK0:704B                                                                                 ;
BANK0:704E                                 ldaa    #$80                                    ; CENTER FOR SHORT TERM FUEL TRIM
BANK0:7050                                 ldx     #$0026
BANK0:7050
BANK0:7053
BANK0:7053 loc_7053:                                                                       ; CODE XREF: VEC_OUTPUT_CMP2+350j
BANK0:7053                                 staa    $23,x                                   ; CLEAR TABLE TOP DOWN
BANK0:7055                                 dex                                             ; $0049 THROUGH $0024
BANK0:7056                                 bne     loc_7053                                ; LOOP CLEARING SHORT TERM FUEL TRIM SETTINGS
BANK0:7056
BANK0:7058                                 staa    STFT_B1                                 ; B1 (LEFT) SHORT TERM FUEL TRIM
BANK0:705B                                 staa    STFT_B2                                 ; B2 (RIGHT) SHORT TERM FUEL TRIM
BANK0:705E                                 bra     loc_7063
Not completely figured out yet but mostly there. I will continue next post ...
-Tom