Skip to content

Find a specific address in the .hex file  #4

@ridi-mz

Description

@ridi-mz

Hello,
I'm trying to parse some .a2l and .hex files to extract variables and their values. So far l don't know how to find the values of the variables in the .hex file. Here is a link (https://wiki.asam.net/display/STANDARDS/ASAM+CDF#ASAMCDF-Downloads) to download an example of these files. To be more specific : How can I read the value at the address 0x810600 in the .hex file ?

/begin CHARACTERISTIC ASAM.C.DEPENDENT.REF_1.SWORD
  "Dependent SWORD" 
  VALUE 
  0x810600                                             
  RL.FNC.SWORD.ROW_DIR                                 
  0 
  CM.IDENTICAL
  -32268 32267
  /begin DEPENDENT_CHARACTERISTIC 
     "X1 + 5" 
     ASAM.C.SCALAR.SBYTE.IDENTICAL                    
  /end DEPENDENT_CHARACTERISTIC
  DISPLAY_IDENTIFIER DI.ASAM.C.DEPENDENT.REF_1.SWORD
/end CHARACTERISTIC

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions