Stop serial debug in esp8266

Sysprogs forums Forums VisualGDB Stop serial debug in esp8266

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10530
    igutier
    Participant

    I need to stop the esp8266 to send debug info through the serial port is there any way to do that?

    #10533
    support
    Keymaster

    Hi,

    Normally you should be able to use the regular os_printf()-like functions and the gdb stub will wrap that output so that gdb (and VisualGDB) will recognize it properly.

    However, as many other things on ESP8266 and ESP32, this may not always work.

    #10535
    gojimmypi
    Participant

    fwiw – I have been able to successfully send os_printf(“message”) values to the serial port from the ESP8266 when programmed with VisualGDB.

    Reminder that if not otherwise initialized, the default port speed is 74880 (8N1 / no flow control); this can be very useful when debugging as there are system messages always printed at powerup / reset time.

    I suggest also the very first thing to send is a message with the exact version you are testing, as I have had occasion when it would appear that code was sent to device, but not.

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.