Skip to content

High RX load TX issue #17

@riodda

Description

@riodda

I'm having some issues with cantact (minipci variation):
Seldomly i'm having this error message bringing up the interface
cdc_acm 2-1.4:1.0: failed to set dtr/rts
Also when the interface starts if i have no frames on bus the cantact sends it's message correctly, if start loading the bus cantact after a while stops sending frames (but still keep receiving, led blinks and candump shows incoming frames).
To fix i need a power cycle, soft reboot of the host machine is not enough
I'm sure is not an issue of the linux side becouse if i replace cantact with cantin i have no more issues, therfore i guess the slcan linux side is ok.
here are is my starting script:

`#!/bin/sh

slcan_attach -f -s8 -o /dev/ttyACM0
sleep 1
slcand ttyACM0 slcan0
sleep 5
ifconfig slcan0 up
sleep 2
/root/JSON.sh/send-3ginfo.sh &
`
send-3ginfo.sh just sends the LTE line informations to the can using CANSEND, it's a simple bash script.

Tested also something different

slcand -o -c -f -s8 -S921600 /dev/ttyACM0 slcan1 sleep 2 ifconfig slcan0 up sleep 2 /root/JSON.sh/send-3ginfo.sh &

Changes a bit the behaviour, i keep receving the frames from the OpenWRT box but by the time passes i start having dropped frames and takes longer time to stop sending.
Haven't tested yet higher speeds but will do for sure.
What is weird is that i can see locally the fames (with candump) but not remotely.
That means to me that the frames are sent to the socket interface but not to the bus by the canable.

My setup is:

cantact side:
APU3 with last OpenWRT
With an ME909s LTE modem (using interfaces ttyUSB2 and usb0)

Bus Side
Windows with PCAN interface and PCAN-View to load the bus, the bus is set at 1Mbit, terminated both sides.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions