You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@christoph2 pyxcp == 0.22.23 , shortUpload function often gets the Shortupload value as feedback from other messages, resulting in incorrect values returned. Can I fix this? The version of pyxcp-0.21.11 I used before is OK, I hope you can help me, thank you very much ~
my pyxcp_conf.py is :
c = get_config() # noqa
c.Transport.Can.Vector.serial = 529423 #CAN serial
c.Transport.Can.poll_interval = 0.001
c.Transport.Can.Vector.serial = 32634 #CAN serial
c.Transport.layer = 'CAN'
c.Transport.Can.padding_value = 0xAA
c.Transport.Can.use_default_listener = True
c.Transport.create_daq_timestamps = False
c.Transport.Can.Vector.rx_queue_size = 16384
c.Transport.Can.can_id_broadcast = 256
c.Transport.Can.interface = 'vector'
c.Transport.Can.max_dlc_required = True
c.Transport.Can.use_default_listener = True
c.Transport.Can.can_id_master = 0x580 # Master CAN ID
c.Transport.Can.can_id_slave = 0x581 # Slave CAN ID
c.Transport.Can.channel = 0 # CAN channel (e.g., 0 for Kvaser channel 0)
c.Transport.Can.bitrate = 500000 # CAN bitrate
c.Transport.Can.fd = True # CAN bitrate
c.Transport.Can.receive_own_messages = True # CAN bitrate
c.Transport.Can.data_bitrate = 2000000 # CAN bitrate
c.Transport.Can.sjw_abr = 8 # CAN bitrate
c.Transport.Can.tseg1_abr = 31 # CAN bitrate
c.Transport.Can.tseg2_abr = 8 # CAN bitrate
c.Transport.Can.sjw_dbr = 8 # CAN bitrate
c.Transport.Can.tseg1_dbr = 31 # CAN bitrate
c.Transport.Can.tseg2_dbr = 8 # CAN bitrate
The text was updated successfully, but these errors were encountered:
The interesting thing here is the -1:
The variable in question Master.slaveProperties.maxCto is set after a CONNECT service and one can expect a reasonable value for MAX_CTO, like 8 on CAN classic, but it seems to be zero here. A correct value is vital for block transfer, DAQ allocation and other things.
@christoph2 pyxcp == 0.22.23 , shortUpload function often gets the Shortupload value as feedback from other messages, resulting in incorrect values returned. Can I fix this? The version of pyxcp-0.21.11 I used before is OK, I hope you can help me, thank you very much ~
my pyxcp_conf.py is :
c = get_config() # noqa
c.Transport.Can.Vector.serial = 529423 #CAN serial
c.Transport.Can.poll_interval = 0.001
c.Transport.Can.Vector.serial = 32634 #CAN serial
c.Transport.layer = 'CAN'
c.Transport.Can.padding_value = 0xAA
c.Transport.Can.use_default_listener = True
c.Transport.create_daq_timestamps = False
c.Transport.Can.Vector.rx_queue_size = 16384
c.Transport.Can.can_id_broadcast = 256
c.Transport.Can.interface = 'vector'
c.Transport.Can.max_dlc_required = True
c.Transport.Can.use_default_listener = True
c.Transport.Can.can_id_master = 0x580 # Master CAN ID
c.Transport.Can.can_id_slave = 0x581 # Slave CAN ID
c.Transport.Can.channel = 0 # CAN channel (e.g., 0 for Kvaser channel 0)
c.Transport.Can.bitrate = 500000 # CAN bitrate
c.Transport.Can.fd = True # CAN bitrate
c.Transport.Can.receive_own_messages = True # CAN bitrate
c.Transport.Can.data_bitrate = 2000000 # CAN bitrate
c.Transport.Can.sjw_abr = 8 # CAN bitrate
c.Transport.Can.tseg1_abr = 31 # CAN bitrate
c.Transport.Can.tseg2_abr = 8 # CAN bitrate
c.Transport.Can.sjw_dbr = 8 # CAN bitrate
c.Transport.Can.tseg1_dbr = 31 # CAN bitrate
c.Transport.Can.tseg2_dbr = 8 # CAN bitrate
The text was updated successfully, but these errors were encountered: