Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Yes, but only if you are using Visual Studio to build the projects and both projects are included in the .sln file and selected for build.
BTW, if you are planning to do remote builds, the VisualGDB MSBuild backend actually generates temporary Makefiles (this reduces latency compared to running each compiler instance separately from the Windows side), so you can copy them manually to your Linux target and build them without VisualGDB as well. This only applies for remotely build projects though.
support
KeymasterHi,
The .bin file produced by MSBuild won’t be helpful, however you can use the esptool.py tool to program the ELF file (usually same name as the .bin file and no extension). To get the exact esptool.py arguments for programming the file, please try programming any project built with the command-line ESP-IDF tools and check the build/programming log.
support
KeymasterHi,
No problem, we will make an experimental build of OpenOCD based on the latest upstream sources and will post a link here in the next 24 hours.
support
KeymasterHi,
We are currently in the last stages of the new CMake project subsystem and are experimenting with accessing the Linux filesystem directly, so you can open the remote projects without keeping a separate Windows checkout of the sources. We will most likely release a public preview next week.
support
KeymasterHi,
Yes, you can use the regular project dependencies/references window in Visual Studio.
BTW, is there any special reason why you cannot use MSBuild? It provides most of the functionality that GNU Make does.
support
KeymasterHi,
Sorry, this is not supported for GNU Make. You can try hacking the Makefile at your own risk to achieve that, but we generally recommend switching to MSBuild as it provides a straight-forward way for defining per-file arguments.
support
KeymasterHi,
We usually update the BSPs quarterly, so the next update will be released within the next 1-2 months.
support
KeymasterHi,
Thanks for confirming this, we will note down that TUMPA is compatible with ESP32.
Regarding single-core mode, you can actually try editing the <SysGCC>\esp32\esp32-bsp\OpenOCD\share\openocd\scripts\target\esp32.cfg file (uncomment the set ESP32_ONLYCPU 1 line), although we have not fully tested this mode and it may result in strange bugs.
support
KeymasterHi,
Please ensure you are using the MSBuild subsystem (not GNU Make). Then you can use the regular VS properties for individual files or groups of files to edit various settings.
support
KeymasterHi,
This happens because once you hit ‘Step over’ or ‘Step in’, an interrupt occurs and OpenOCD is trying to step over the interrupt handler to get back to your code.
You could try disabling this behavior by temporary setting the ‘$PRIMASK’ register to 1 via the Watch window and then stepping. However this will delay the interrupt handler until you set PRIMASK back to 0, so some buffer overruns/underruns may occur.
support
KeymasterHi,
This could be caused by the ESP32 configuration, or by incompatibility with TUMPA (we do not officially support it and have not heard of anyone successfully using it). The easiest way to get it to work would be to get the same hardware as shown in our tutorials and ensure your wiring 100% matches the one shown there. Once you get it to work, it would be easier to switch the debug adapter (or the ESP32 board) and quickly pinpoint what exactly is causing the problem.
support
KeymasterHi,
Yes, please try adding “compactcpp” to the list of library names in VisualGDB Project Properties. This should be equivalent to checking the “reduce size of C++ binaries” checkbox.
-
This reply was modified 8 years, 4 months ago by
support.
support
KeymasterHi,
According to the log, it looks like the program exits with an error code. Please try checking whether it prints any error messages (in the “gdbserver” part of the log), like “cannot open display” or “cannot load library”.
support
KeymasterHi,
You can do that by opening Debug->Windows->Visual Watch (not Live Variables), adding “Foo” to the visual watch list, right-clicking on it and selecting “export data”.
support
KeymasterHi,
This may happen because the default implementation of printf() in the newlib-nano library does not support floating-point numbers. Please try explicitly switching to the “newlib-nano with floating-point support” via VisualGDB Project Properties.
-
This reply was modified 8 years, 4 months ago by
-
AuthorPosts