-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a2l merge, a2l update: string "0xffff000000" could not be interpreted as a number #41
Comments
You found a bug - in version 1.7 of the A2L standard the width of the BIT_MASK and ERROR_MASK was extended from 32 bit to 64 bit. Unfortunately there is no workaround, other than changing your program. |
Are there any plans to update a2ltool (and the underlying a2lfile library) to A2L standard 1.7? |
yes, of course. Apart from this bug, A2L 1.7.1 has been fully supported for several years now |
sounds great, thanks |
I just pushed the fix for this in the a2lfile library. [Commit] I'll leave this issue open until I also update a2ltool to use the fixed version, but if you wanted to, you could build a fixed version of a2ltool yourself. To do so you would have to update the Cargo.toml in a2ltool to refer to the a2ltool git repo instead of using the released version from crates.io. |
Hi, when i use a2ltool to update or merge a2l files, i get some Parser errors like "Parser error: <path_to_a2_file>:<line_number>: string "0xffff00000000" could not be interpreted as a number.
Note: If i shorten the BIT_MASK from 0xffff00000000 to 0xffff0000 the parser error does not occur
So, how to solve this problem without shorten the BIT_MASK?
a2l sections look like this:
The text was updated successfully, but these errors were encountered: