AMB82-Mini Arduino monitor filled with unwanted debug messages

Hello,

Im trying to debug my own code, but i cant print anything out because some code inside WiFiClient class is constantly printing thousands of debug messages.

There are other classes that are doing the same thing, taking over the debug monitor by filling it with unwanted internal debug messages, making debugging impossible.

Anybody knows how to stop those?

See below for an example from WiFIClient class

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed
[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connectionYOLOv4t tick[52]

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

[ERROR] get_available Accept connection failed

Hi @nsmith1024,

In order to remove the debug messages of “[ERROR] get_available Accept connection failed”, you may comment off the print error message in line 350 of ard_socket.c.

Thank you.

Thanks for the comment. Im using it with arduino,

  1. how do i access or compile that file? where is it located?
  2. How do i compile it after changing it
  3. How do i put that on arduino?

Thanks

Dear @nsmith1024,

  1. To comment off the print statement, you may proceed to the directory on your pc path C:\Users{uesername}\AppData\Local\Arduino15\packages\realtek\hardware\AmebaPro2\4.0.8-build20241008\cores\ambpro2, then find file name ard_socket.c.

  2. Open up the file and go to line 350 you will saw this line printf(“\r\n[ERROR] %s Accept connection failed\n”, FUNCTION); and and comment off by adding //. eg. //printf(“\r\n[ERROR] %s Accept connection failed\n”, FUNCTION);

  3. Save and close the file, no compile is needed.

  4. Re-run your arduino code on arduino IDE.

Thank you.