support

Forum Replies Created

Viewing 15 posts - 5,551 through 5,565 (of 7,816 total)
  • Author
    Posts
  • in reply to: Raspberry Pi Tutorial – Mismatching environment detected #10502
    support
    Keymaster

    Hi,

    This is normal. The mismatching environment issue occurs if some of the ‘export XXX=YYY’ commands in your .bashrc files are configured to run on interactive shells only (i.e. when the user logs on via SSH without a specific command to run). This would cause strange problems (e.g. if PATH is different) where some tools can be located from a normal SSH session, but could not be launched by VisualGDB, so VisualGDB automatically diagnoses this and sets the missing environment variables.

    Unless you discover some really strange problems, simply pressing OK should be sufficient.

    support
    Keymaster

    Hi,

    The pre/post-build steps are available starting from the Custom edition of VisualGDB. If you are using a lower edition, you can always upgrade here: https://sysprogs.com/splm/mykey

    support
    Keymaster

    Hi,

    This is a known issue of the old VS 2017 RC that was fixed in one of the latest builds. Please update your Visual Studio (not VisualGDB) to the latest RC build.

    support
    Keymaster

    Hi,

    Thanks for the suggestion. We will re-investigate this once we receive our NodeMCU module.

    Regarding support for various flavors of ESP8266, we are a bit conservative with this one. The ESP8266 chip is still very new, often works unreliably, and largely undocumented, so supporting it on the same “out-of-the-box” level as the ARM devices would drive VisualGDB price sky high. So instead of doing that, we support basic debugging scenarios on the hardware available through major distributors (i.e. DigiKey) and open-source as many ESP8266-related components as possible to make it easy for our users to work with the boards that we don’t officially support yet.

    VisualGDB allows redefining the bootloader reset sequence for ESP8266 via VisualGDB Project Properties (default sequence is taken from esptool.py and is !DTR;RTS;SLEEP;DTR;!RTS;SLEEP;!DTR;SLEEP). Once we get the NodeMCU board, we should be able to tell why this does not work, but the best advice currently would be to try tweaking the sequence to get the board to reset.

    in reply to: JTAG Programming the NodeMCU ESP8266 #10488
    support
    Keymaster

    Hi,

    Trying out a plain ESP12 sounds like a good idea and should indeed explain whether NodeMCU is causing any interference.

    Thanks for the repro project, we have managed to reproduce and fix it in this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.14.1389.msi

    The problem was specific to the “program without debugging” function.

    in reply to: Feature request: Cortex ITM/SWO support #10487
    support
    Keymaster

    Hi,

    The “bad file descriptor” message is shown by OpenOCD after VisualGDB closes the gdb session and is a normal response to the end of session, so aside from being an annoyance, this message is completely harmless and can be ignored.

    Normally VisualGDB should not display this text as the session has already ended, but it looks like in some cases this check does not work properly. If you could let us know the circumstances that cause this message to appear, we should be able to fix the check and prevent the message from appearing after the session has ended.

    in reply to: Timeout to long issue #10486
    support
    Keymaster

    Hi,

    This looks like a bug. VisualGDB is designed to always show the timeout window and to be able to cancel the hanging gdb immediately. If you could let us know the exact steps to reproduce the hang, we should be able to fix this quickly.

    in reply to: VisualGDB, JTAG debugging with Segger JLink #10479
    support
    Keymaster

    Hi,

    Yes, the gdb stub-based debugging should not be affected by the JTAG wiring issues, so we would recommend trying it if JTAG does not work.

    in reply to: JTAG Programming the NodeMCU ESP8266 #10478
    support
    Keymaster

    Hi,

    Oops, the “NullReferenceException” definitely looks like a bug we would like to fix. Would you be able to describe the exact steps that cause the problem or just send us the faulty project? You can also try building our ESP8266 package on your side: https://github.com/sysprogs/BSPTools/tree/master/DebugPackages/ESP8266DebugPackage. As we had to guess many undocumented parameters with  ESP8266, we keep the related code open-source to simplify troubleshooting of issues that cannot be reproduced on our side.

    We have tried creating a new project and changing the settings, but could not reproduce the error.

    The JTAG problems could be caused by interference from other on-board components. From a quick look at the NodeMCU schematics, it looks like JTAG pins are used to access an SD card, so this could be causing trouble. To make a clean experiment with JTAG, we would recommend attaching the TDI, TDO, TMS and TCK to the ESP-12 module on top of NodeMCU and then physically disconnecting those pins from any wiring on NodeMCU (e.g. cutting the lines on NodeMCU).

     

    support
    Keymaster

    Hi,

    Normally VisualGDB tries to replicate the RTS/DTR sequence used by the esptool.py in order to reset the board into the bootloader, so it may be a bug related to that mechanism.

    We will double-check this on hardware when the NodeMCU we ordered arrives.

    support
    Keymaster

    Hi,

    VisualGDB should be already able to do that (see the “Bootloader activation sequence” field in the Debug Settings), however as we have received feedback that it does not work reliably, we still show the prompt.

    Let us know if the programming works without holding the button.

    in reply to: Feature request: Cortex ITM/SWO support #10475
    support
    Keymaster

    Hi,

    Thanks for confirming that the SWO output works. We will consider supporting it more directly in the future versions.

    The “GDB Session” window gets activated with VisualGDB wants to display details on slow commands or other long actions. If we did not explicitly activate that window, it would appear that the debug session is stuck and would be confusing. We would recommend placing the Output window and the GDB Session window in different tab groups so that they can be displayed simultaneously.

    Regarding the “bad file descriptor”, we are aware of this problem but were never able to reproduce it reliably. If you could provide steps that get a 100% repro, we should be able to fix it.

    in reply to: RTX support #10474
    support
    Keymaster

    Thanks for confirming this. Based on our knowledge, the STM32 SDKs have always supported FreeRTOS instead of RTX, so our project examples are based on it as well.

    It does not mean that you cannot use RTX on STM32 projects, but you would need to setup the project manually, import the necessary source files and possibly change some sources to support STM32 hardware properly. We don’t provide any RTOS versions beyond the ones provided by the SDK vendors, but you should be able to find 3rd-party project examples online as the STM32 devices are very popular.

    in reply to: Timeout to long issue #10473
    support
    Keymaster

    Hi,

    Normally if a gdb command takes too long, VisualGDB should show a popup window allowing to cancel that command. Does it appear in the case you are describing?

    in reply to: ESP8266 Serial debug fails #10459
    support
    Keymaster

    Hi,

    This could be a problem with the baud rate. If you have the gdb stub enabled and initialize it properly, it should print the following output to the serial port after you restart it:

    $T05#b9

    If you don’t see this, either the baud rate is incorrect or your program does not start properly. If the FLASH programming succeeds, please try programming a “Blinking LED” project. Does the LED start blinking? If not, please try changing the FLASH mode on the Debug Settings page of VisualGDB Project Properties as your board may use a different FLASH type.

Viewing 15 posts - 5,551 through 5,565 (of 7,816 total)