question

bipedalprimate avatar image
bipedalprimate asked

[Fixed] MK3-USB on RPi Venus 3.00 - FTDI_SIO Errors

In preparation for for an electrician to install the AC cabling on AC-In & AC-Out's of 2 Multiplus II in parallel, I cludged up an AC cable to provide power to both the AC-In's in order to use Ve.Bus Quick Conbfigure & VEConfig to set them up.

That all worked well with a MK3-USB adapter from PC. Then plugged MK3-USB adapter into RPi Venus OS running v3.00. Again, works & Multi's visible in Remote Console as per:

1686875479873.png

However after a short period of time the Multi's seem to lose connection to Venus although there is no indication on the Multi's LED that anything wrong.

The main console display indicates Multi's are Off.

1686875725339.png

But the Multi's entry shows:

1686875779337.png

Tried using Remote Console to Power Off-Power On the Multi's to no effect - Multi's did not actually power off then on.

So then tried Restarting VE.Bus system but the Remote Console shows it in Restarting state until I reboot Venus. Same behavior occurs when attempting Redetect VE.Bus system.

1686876015128.png

After reboot of Venus, the cycle starts again.

1687155088662.png

As VRM shows here, the length of VE.Bus active times is variable.

Started examining the dmesg outputs for clues:

root@raspberrypi4:~# dmesg | grep 1-1.2
[    3.577136] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[    3.738811] usb 1-1.2: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    3.751639] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.759135] usb 1-1.2: Product: MK3-USB Interface
[    3.763945] usb 1-1.2: Manufacturer: VictronEnergy
[    3.768836] usb 1-1.2: SerialNumber: HQ1806W4YYM
[    4.959433] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[    4.972670] usb 1-1.2: Detected FT-X
[    4.984101] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0

So far looks good, but these messages follow:

root@raspberrypi4:~# dmesg | grep ftdi
[    4.911384] usbcore: registered new interface driver ftdi_sio
[    4.959433] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[   25.254072] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[   25.262633] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[   26.223114] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   27.225763] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   28.218033] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   29.220288] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   48.419136] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   49.421597] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[   50.424003] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[  816.671563] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[ 1026.931590] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[ 1093.681723] ftdi_sio ttyUSB0: failed to set flow control: -32
[ 1093.687940] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32

Is there an incompatibility issue here or should I update a FTDI file?

Firmware is as follows:

1686876205453.png

1686876745980.png

It may be important to note that there are no loads on the Multi's - neither battery nor AC.



Multiplus-IIVenus OSRaspberry PiVE.Bus
1686875479873.png (17.6 KiB)
1686875725339.png (16.3 KiB)
1686875779337.png (25.4 KiB)
1686876015128.png (25.7 KiB)
1686876205453.png (28.3 KiB)
1686876745980.png (26.8 KiB)
1687155088662.png (66.9 KiB)
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Mike Dorsett avatar image Mike Dorsett commented ·
as far as I know, there is no time-out on the VE Bus. Your problem sounds a bit like an intermittent connection. Not having a load on the inverter does not affect the VE-bus. You may need to stop your pi from going to sleep. I've not seen this ttype of problem before..
0 Likes 0 ·
bipedalprimate avatar image bipedalprimate Mike Dorsett commented ·
Thanks Mike. Whilst you were commenting I added some more information which makes it appear to be FTDI issue of some kind.
0 Likes 0 ·
1 Answer
bipedalprimate avatar image
bipedalprimate answered ·

Replaced USB cable & it has reliably worked for 24 hours.

Kicking myself that I didn't do that sooner. Assumed that cable either works or doesn't work - not that it will work a few minutes then not work. Grrrrr.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.