pyA2L icon indicating copy to clipboard operation
pyA2L copied to clipboard

Parse xcp_on_can

Open haipas opened this issue 4 years ago • 5 comments

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

haipas avatar Oct 30 '20 15:10 haipas

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.

christoph2 avatar Nov 02 '20 06:11 christoph2

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

haipas avatar Nov 02 '20 07:11 haipas

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

waszil avatar Jan 20 '22 08:01 waszil

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.

christoph2 avatar Jan 20 '22 09:01 christoph2

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

waszil avatar Jan 20 '22 14:01 waszil