christoph2 / pyA2L

ASAM ASAP2 Library for Python
GNU General Public License v2.0
138 stars 71 forks source link

Parse xcp_on_can #26

Open haipas opened 4 years ago

haipas commented 4 years ago

Hi thanks for you pyA2l.

is it possible to read the xcp_on_can daq entries of my a2l file? i have the following structure in the file and would like an xcp_on_can table in the database with the following information.

/begin XCP_ON_CAN 0x0100 / XCP on CAN version / CAN_ID_BROADCAST 0x0100 / Broadcast / CAN_ID_MASTER 0x0200 / CMD/STIM / CAN_ID_SLAVE 0x0300 / RES/ERR/EV/SERV/DAQ / BAUDRATE 500000 / BAUDRATE / /begin DAQ_LIST_CAN_ID 0x0000 / for DAQ_LIST 0 / FIXED 0x310 /end DAQ_LIST_CAN_ID /begin DAQ_LIST_CAN_ID 0x0001 / for DAQ_LIST 1 / FIXED 0x320 /end DAQ_LIST_CAN_ID /begin DAQ_LIST_CAN_ID 0x0002 / for DAQ_LIST 2 / FIXED 0x330 /end DAQ_LIST_CAN_ID /end XCP_ON_CAN

Greetings

christoph2 commented 3 years ago

Well, IF_DATA parsing is currently not implemented, but the feature is on top of my to-do list. I hope I can deliver within the next two weeks.

haipas commented 3 years ago

Thanks for the answer, if you need someone to test the feature, feel free to contact me

waszil commented 2 years ago

Hi, what is the status of this? Is it planned to be implemented? Thanks!

christoph2 commented 2 years ago

Hi Waszil, Nice to hear from you again! 🙂

Well, pyA2L has a working AML parser for a long time, meanwhile I'm able to dynamically create IF_DATA parsers, now only the loose ends have to put together... And yes, this is an important feature when it comes to see the complete picture (s. my project asamint ). I'll start working on this ASAP, hopefully there will be some working code at the beginning of next week.

waszil commented 2 years ago

Hi, thanks for the good news, it would be appreciated!