Skip to content
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

generate from dbc err #258

Open
aawuliliaa opened this issue Mar 8, 2024 · 0 comments
Open

generate from dbc err #258

aawuliliaa opened this issue Mar 8, 2024 · 0 comments

Comments

@aawuliliaa
Copy link

aawuliliaa commented Mar 8, 2024

### first step:
i use Canmatrix convert arxml to dbc

canconvert ./Clea_Mode_Year23_VCU_V25.62.0.arxml ./ttest.dbc
ldf is not supported
INFO - convert - Importing ./Clea_Mode_Year23_VCU_V25.62.0.arxml ...
INFO - convert - done

INFO - convert - Exporting ./ttest.dbc ...
INFO - convert - ICB
INFO - convert - 709 Frames found
WARNING - dbc - Frame Access_Mode_EasyEntry_Seat_Customization name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Frame Access_Mode_EasyEntry_Seat_Customization_Request_VCU_source name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Frame Active_Safety_Customization_Info_1 name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Frame Active_Safety_Customization_Info_2 name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Frame Active_Safety_Customization_Info_3 name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Frame Active_Safety_Customization_Info_4 name exceeds 32 characters, consider updating the frame name within character limit(Max 32 characters)
WARNING - dbc - Signal Active_Safety_Customization_Info::ITrfcLgtStpLnCntrlCustCrntStngVal name exceeds 32 characters, consider updating the signal name within the character limit(Max 32 characters)

second step:

i run CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build cmd/cantool/main.go to generate main

third: i use main to generate from dbc

./main generate /Users/wulili/Desktop/pythonProject/ /Users/wulili/Desktop/pythonProject/cango
main: error: failed to parse DBC source file: /Users/wulili/Desktop/pythonProject/ttest_ICB.dbc:6597:13: invalid identifier 'NWM-Knoten': invalid char: '45' (parse), try --help
can you tell me how to deal with this.

@aawuliliaa aawuliliaa changed the title generate dbc err generate from dbc err Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant