rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
919 stars 493 forks source link

Transmission of J1939 message #916

Open snehasethi opened 8 years ago

snehasethi commented 8 years ago

Hi Team,

I am unable to get the broadcast option in the Msg type drop down in J1939 Tx Message window. Kindly let me know what needs to be done.

BGSW-Srinibas commented 8 years ago

message type will be determined by the PF Value in PGN. For more details ,Please refer #205.

astrand commented 8 years ago

Busmaster does not work correctly. For example, when trying to send PGN=0xfeec, Type=Broadcast, From=0xfe, To=0xf3, DLC=18, Prio=7, Data=0102030405060708090a0b0c0d0e0f10112a, then Busmaster will create a TPCM with data bytes:

20 12 00 03 ff f3 fe 00

ie for a PGN fef3, instead of feec. Setting To=0xec will, as a workaround, give a correct TPCM, but then the TPDT will still be wrong and have an ID with DA=0xec. J1939/21 is pretty clear about what DA should be set to: "Global (DA = 255) for TP.CM.BAM data transfers"