I have been following the EE hacking thread and saw where stored BLM data is being cleared with with a Mode 4 command. I started digging into this for the PCM's that run the $0D mask. I have looked at the A217.ds file and there is nothing for Mode 4. Here is what I have found in the Disassembly for $0D:
Code:
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Check for ALDL mode 4 (engine diags)
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
LF3BF BRCLR L0042,#$01,LF3E3 ;Status word, bra if b0==0, not in ALDL mode 4
;
LDAA L0390 ;Load ALDL mode number (start of eng. diag. data
;buffer)
CMPA #$04 ;ALDL mode 4
BNE LF3E3 ;Bra if !=, not in ALDL mode 4
;
;-In ALDL mode 4 (Engine diags)
;
BSET L003B,#$10 ;Status word, set b4, in ALDL mode 4 (engine diag.)
;
;-Check if BLM reset requested
;
LDAA L0393 ;Load external request word from diag. buffer
BITA #$10 ;Test b4, reset BLMs
BEQ LF3E0 ;Bra if ==0, reset BLM command not sent
;
BRSET L0045,#$10,LF3E3 ;Status word, bra if b4==1, BLMs already reset
;
JSR LEF1D ;Routine to reset BLMs
;
BSET L0045,#$10 ;Set b4, BLMs reset
BRA LF3E3 ;Bra to continue
;
;-Here if reset not requested
;
LF3E0 BCLR L0045,#$10 ;Clear b4, BLM reset flag
;
How can I find what to send to the PCM in mode 4 to clear stored BLM data along with the message length. I am wanting to set it up as a macro in Tunerpro much like the Clear trouble Codes Macro.
Any insight would be greatly appreciated
Brian
Bookmarks