Results 1 to 4 of 4

Thread: How to monitor RAM memory - OBD II

  1. #1
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    44

    How to monitor RAM memory - OBD II

    As I've been trying to figure out a LS1 disassembly, one thing I have noticed is that most of the math/calls/comparisons are being done the memory above the flash section. (e.g. - the stuff above $FFFF8000). Is there a way to monitor the values in these memory addresses? I have found some general OBDII scan type software which you can type in your own request, but I was wondering if these would work.

    Would any of these modes be better than the rest to try?
    Mode $12, $2A, $3C, ????
    Last edited by turbo_bu; 04-27-2017 at 07:38 PM.

  2. #2
    Administrator
    Join Date
    May 2011
    Location
    Lakes Region, NH
    Age
    55
    Posts
    3,935
    Questions about this newer processor and pcm are often beyond what I know but I'll try if no one else is. With the C3 and P4 code it was possible to alter the ALDL code so it sent values from memory. A common one I used was the ScanID as there was no math performed on that value.

  3. #3
    Fuel Injected!
    Join Date
    Oct 2013
    Posts
    44
    Do you have a copy of the message string that you used? I'm hoping that it might be close enough to try.

  4. #4
    Administrator
    Join Date
    May 2011
    Location
    Lakes Region, NH
    Age
    55
    Posts
    3,935
    It's not a message string sent by the scantool. The OBDI ecm sends repeating strings of bytes depending on the mode selected. When the ALDL is active the code sends values from addresses that are hardware or code locations. I would alter one of the addresses to point to a memory location that I wanted to see.

    This is code from AYBN $58:
    Code:
        	;--------------------------------------------------
        	; SERIAL DATA ADDRESSES
        	; ALDL
        	; F95                               
        	;--------------------------------------------------
    LC770  FCB  $C000   ; 1, EPROM ID WD, MSB
    LC772  FCB  $C001   ; 2, EPROM ID WD, LSB
    					;--------------------------------------
    LC774  FCB  $0003   ; 3 error WORD 1
    The code will read the values at address $C000 and $C001 (the first two addresses of the .bin file) and send them to the ALDL. We can look at this section of code:
    Code:
    D40D:           ADDD    L3FDC				; SPK PW, (DWELL)
    Then alter the ALDL section as such:
    Code:
    LC770  FCB  $3FDC   ; 
    LC772  FCB  $3FDD   ;
    Causing the scan tool to report the hex value for the current dwell period used by the ignition control hardware.

    You would likely have to locate the portion of the code that handles messaging and see if the same strategy will work. Maybe the portion that reads back the VIN would work?

Similar Threads

  1. Serial Port Monitor or Sniffer
    By Caleditor in forum Other EFI systems and related topics
    Replies: 6
    Last Post: 04-11-2019, 05:54 PM
  2. Narrow band tuner pro monitor ?
    By Rally Smith in forum GM EFI Systems
    Replies: 3
    Last Post: 06-14-2015, 04:17 AM
  3. GM memory seats
    By grasshopperglock in forum Gear Heads
    Replies: 0
    Last Post: 02-24-2015, 11:46 PM
  4. Replies: 17
    Last Post: 12-31-2013, 07:48 AM
  5. Custom monitor setup
    By Ardent_Z28 in forum TunerPro Tuning Talk
    Replies: 1
    Last Post: 08-25-2013, 07:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •