Git Product home page Git Product logo

java-intelhex-parser's People

Contributors

inm-certi avatar j123b567 avatar lauszus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-intelhex-parser's Issues

error while making java-doc with ant

when I excute ant,
some error occurs for making javadoc
It seems becaues of @license annotation.

  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.8.0_45
.
.
.
  [javadoc] D:\java-intelhex-parser\src\cz\jaybee\intelhex\IntelHexDataListener.
java:32: error: unknown tag: license
  [javadoc]  * @license BSD 2-Clause
  [javadoc]    ^

255 -> -1 problem

If length over than some number, than length becomes minus and it causes exception.

        if ((result.length + 5) != hexRecord.length) {
            throw new IntelHexException("Invalid record length (" + recordIdx + ")");
        }
:FF020000484746454443535251504F4E4D4C4B0A0B0B0B0B0A0A646464646464646464640B0B0B0B0A0A0001027E306D041D5B0E763700770F4E674F477E306D79335B5F707F7B001F4E3D4F477E306D79335B5F707F7B771F4E3D4F47004042464E464240004060707870604040000000000804020040201008000000648331333537393A39373637393B3937393B3734383C3934353839393A3936383A383330333536383A39373636383B3A37383B3834383C3B36343739393A3A37373A393430323435373A3A383636373A3A38383A3A35353A3C3734363839393A3836393A363144454648494A4C4D4F505153545657595A5B5D5E606163646667696A6C6D6F7036
hexRecord
[0]	-1	
[1]	2	
[2]	0	
[3]	0	
[4]	72	
[5]	71	
[6]	70	

Find a specific address in the .hex file

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.