wellenvogel/esp32-nmea2000

OBP60 dev20241006, USB no longer usable after a while

Closed this issue · 7 comments

If an output via USB has been activated, the output freezes after a while. The serail speed is 230400 Bd. Logging is disabled and only 8 NMEA0183 sentences are transmitted per second. If a white filter is used for exactly one sentence, the output does not freeze. However, the data transfer is very jerky. It looks as if the data processing for USB is not running fast enough. The same problem is when I use the actisense mode. With all debug information comming the error faster after any seconds.

Can you try again with 115200?
Never had this issue.
What exactly is freezing?
Only the USB output?

And: Which version...

With 115200 is the same situation. Freezing is complete stop of transmission on the USB output. Version see headline.

Tried with 57600 same freeze here.
NMEA to USB off
NMEA from USB off
USB to NMEA2000 off
log level = debug

Is this also on OBP60?
We already found that there are some issues especially for the S3 used in the OBP.
Seems that after some time the USB driver thinks that it cannot deliver the data - and thus after a timeout the data is dropped.
Norbert was going to test a couple of things to maybe get closer there.

Yes this is in OBP60. Thought commenting a OPB60 issue.
After changing log level away from debug it seems to work better.

same here, OBP60 V2. Log level 'debug' ...

"GWSERIAL:65766:no fix in GSA, mode=1
GWSERIAL:65768:no fix in GSA, mode=1
GWSERIAL:65977:unable to parse GSV $BDGSV,1,1,00*68
"