next gen CAN bus mapping - also coming to beta!

325 views
Skip to first unread message

Brent Picasso

unread,
Dec 21, 2015, 1:37:58 PM12/21/15
to AutosportLabs Beta Testers
This will be a dramatic improvement over the current Lua based mapping which will cover 99% of the use cases. For unusual mapping requirements, you'll still be able to leverage on-board scripting. 

https://www.autosportlabs.com/next-generation-can-bus-mapping/


can_map_editor.png
can_e46_map.png
can_presets.png

Fabrizio Mirandola

unread,
Dec 31, 2015, 7:01:21 AM12/31/15
to AutosportLabs Beta Testers
it's possible to import dbc file?

Brent Picasso

unread,
Dec 31, 2015, 12:45:32 PM12/31/15
to Fabrizio Mirandola, AutosportLabs Beta Testers
Hi,

We have looked into importing dbc's; it could be good for the future. 

In our initial searching, we were not able to find a published spec for the file format. Do you know if such a spec exists or if it has been documented?

-Brent



--
You received this message because you are subscribed to the Google Groups "AutosportLabs Beta Testers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autosportlabs-beta-...@googlegroups.com.
To post to this group, send email to autosportlabs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autosportlabs-beta-testers/79743436-585f-4961-9315-afa8d65b36b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Brent Picasso
Technology for Race and Street

Brent Picasso

unread,
Dec 31, 2015, 12:47:31 PM12/31/15
to Fabrizio Mirandola, AutosportLabs Beta Testers

Fabrizio

unread,
Dec 31, 2015, 2:41:30 PM12/31/15
to Brent Picasso, AutosportLabs Beta Testers
Brent,

the dbc it's just a text file, i usually open it with the vector Candb++, you will find in the demo version of Canalyzer  CANalyzer / CANoe 8.5 SP4 (64 bit)



If you take a look at the dbc, they are text file . I attached some example:

The empty file have this structure:

VERSION ""

 

 

NS_ :

                NS_DESC_

                CM_

                BA_DEF_

                BA_

                VAL_

                CAT_DEF_

                CAT_

                FILTER

                BA_DEF_DEF_

                EV_DATA_

                ENVVAR_DATA_

                SGTYPE_

                SGTYPE_VAL_

                BA_DEF_SGTYPE_

                BA_SGTYPE_

                SIG_TYPE_REF_

                VAL_TABLE_

                SIG_GROUP_

                SIG_VALTYPE_

                SIGTYPE_VALTYPE_

                BO_TX_BU_

                BA_DEF_REL_

                BA_REL_

                BA_DEF_DEF_REL_

                BU_SG_REL_

                BU_EV_REL_

                BU_BO_REL_

                SG_MUL_VAL_

 

BS_:

 

BU_:

 

 

 

BA_DEF_  "BusType" STRING ;

BA_DEF_DEF_  "BusType" "CAN";

If I add a message:

I will find:

BU_:

 

BO_ 291 New_Message_123: 8 Vector__XXX

 

Where BO_ identify a new message, after the space 291 is the decimal for the ID (0x123) , New_Message_123 is the name, 8 is the DLC

In case of ID extended (29 bit) you will find the decimal address as :

BO_ 2147483939 New_Message_123: 8 Vector__XXX

Where 2147483939 is the decimal for the HEX 80000123

 


 

If you add a comment to the message :

You will find in the dbc file:

CM_ BO_ 2147483939 "Comment_for_message_0x123";

Where CM_ is the comment and then the address

 


 

If I add a signal with no reference to a message:

BO_ 3221225472 VECTOR__INDEPENDENT_SIG_MSG: 0 Vector__XXX

 SG_ New_Signal_1 : 0|8@1- (1,0) [0|0] "" Vector__XXX

 

 

 

CM_ BO_ 3221225472 "This is a message for not used signals, created by Vector CANdb++ DBC OLE DB Provider.";

I think a script could be enough to import, i can try to help as much as i can, please let me know if have sense.

Regards and happy new year!

Fabrizio
Vector_CANalyzer_208_CANdb.pdf
dbc reverse engineering.docx
DBC_for_test_01_Empty.dbc
DBC_for_test_02_New_mes_0x123.dbc
DBC_for_test_02_New_mes_0x123_and_add_0x124.dbc
DBC_for_test_03_Comment_for_message_0x123.dbc
DBC_for_test_04_can_ext.dbc
DBC_for_test_05_signal_only.dbc

jan.v...@outlook.cz

unread,
Jan 1, 2016, 2:52:00 PM1/1/16
to AutosportLabs Beta Testers, fabry...@gmail.com
Hi Brent
you can find DBC file description by Vector here:

http://www.haiwenku.com/view/658393.html

It would be good to create some interactive filter for choosing needed messages. Original DBC files from car manufactures contains description for more over thousands messages and it's not good idea to read them all.

Jan

Dne čtvrtek 31. prosince 2015 18:47:31 UTC+1 Brent Picasso napsal(a):
On Thu, Dec 31, 2015 at 9:45 AM, Brent Picasso <br...@autosportlabs.com> wrote:
Hi,

We have looked into importing dbc's; it could be good for the future. 

In our initial searching, we were not able to find a published spec for the file format. Do you know if such a spec exists or if it has been documented?

-Brent


On Thu, Dec 31, 2015 at 4:01 AM, Fabrizio Mirandola <fabry...@gmail.com> wrote:
it's possible to import dbc file?

On Monday, December 21, 2015 at 1:37:58 PM UTC-5, Brent Picasso wrote:
This will be a dramatic improvement over the current Lua based mapping which will cover 99% of the use cases. For unusual mapping requirements, you'll still be able to leverage on-board scripting. 

https://www.autosportlabs.com/next-generation-can-bus-mapping/


--
You received this message because you are subscribed to the Google Groups "AutosportLabs Beta Testers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autosportlabs-beta-testers+unsub...@googlegroups.com.
--
Brent Picasso
Technology for Race and Street

Brent Picasso

unread,
Jan 2, 2016, 8:42:29 PM1/2/16
to jan.v...@outlook.cz, AutosportLabs Beta Testers, Fabrizio Mirandola
Hi Jan,

Added your suggestion to the Issue here. Thanks!


-Brent

On Fri, Jan 1, 2016 at 11:52 AM, <jan.v...@outlook.cz> wrote:
Hi Brent
you can find DBC file description by Vector here:

http://www.haiwenku.com/view/658393.html

It would be good to create some interactive filter for choosing needed messages. Original DBC files from car manufactures contains description for more over thousands messages and it's not good idea to read them all.

Jan

Dne čtvrtek 31. prosince 2015 18:47:31 UTC+1 Brent Picasso napsal(a):
On Thu, Dec 31, 2015 at 9:45 AM, Brent Picasso <br...@autosportlabs.com> wrote:
Hi,

We have looked into importing dbc's; it could be good for the future. 

In our initial searching, we were not able to find a published spec for the file format. Do you know if such a spec exists or if it has been documented?

-Brent


On Thu, Dec 31, 2015 at 4:01 AM, Fabrizio Mirandola <fabry...@gmail.com> wrote:
it's possible to import dbc file?

On Monday, December 21, 2015 at 1:37:58 PM UTC-5, Brent Picasso wrote:
This will be a dramatic improvement over the current Lua based mapping which will cover 99% of the use cases. For unusual mapping requirements, you'll still be able to leverage on-board scripting. 

https://www.autosportlabs.com/next-generation-can-bus-mapping/


--
You received this message because you are subscribed to the Google Groups "AutosportLabs Beta Testers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autosportlabs-beta-...@googlegroups.com.
--
Brent Picasso
Technology for Race and Street



--
Brent Picasso
Technology for Race and Street

--
You received this message because you are subscribed to the Google Groups "AutosportLabs Beta Testers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autosportlabs-beta-...@googlegroups.com.

To post to this group, send email to autosportlabs...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages