ESP32 COM Port Programming problem

Sysprogs forums Forums VisualGDB ESP32 COM Port Programming problem

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23455
    erzyk
    Participant

    Hi,
    I recently upgraded the ESP32 toolchain from 5.2.0/7.10/r12 to r16. Unfortunately all my projects made in Visual Studio witch Visual GDB broke down. The paths are broken and a lot of other errors are popping out. I think that could be due some path changes from previous versions of ESP IDF. I use the most up to date Visual GBD version.

    So I decided to make a new ESP-IDF project and in the beginning I need to choose from CMake and GNU Make sample. I chosed the recommended CMake. The entire solution builds successfully.
    My board is a simple ESP32 board connected through standard USB simulating a COM port on my PC. I know there is no debugging functionality for that but I would like just to program the flash.

    In Visual Studio I’m clicking on the Start buttno which previously started to build and program the solution into the flash of my board, but now every time I try I get this error:

    <tt>VisualGDB is licensed to xxx</tt><tt>
    </tt><tt>-gdb-version</tt><tt>
    </tt><tt>=thread-group-added,id="i1"</tt><tt>
    </tt><tt>~"GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10\n"</tt><tt>
    </tt><tt>~"Copyright (C) 2015 Free Software Foundation, Inc.\n"</tt><tt>
    </tt><tt>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"</tt><tt>
    </tt><tt>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></tt><tt>
    </tt><tt>This is free software: you are free to change and redistribute it.</tt><tt>
    </tt><tt>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</tt><tt>
    </tt><tt>and "show warranty" for details.</tt><tt>
    </tt><tt>~"This GDB was configured as \"--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf\".\nType \"show configuration\" for configuration details."</tt><tt>
    </tt><tt>This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".</tt><tt>
    </tt><tt>Type "show configuration" for configuration details.</tt><tt>
    </tt><tt>~"\nFor bug reporting instructions, please see:\n"</tt><tt>
    </tt><tt>~"<http://www.gnu.org/software/gdb/bugs/>.\n"</tt><tt>
    </tt><tt>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"</tt><tt>
    </tt><tt>Find the GDB manual and other documentation resources online at:</tt><tt>
    </tt><tt><http://www.gnu.org/software/gdb/documentation/>.</tt><tt>
    </tt><tt>~"For help, type \"help\".\n"</tt><tt>
    </tt><tt>~"Type \"apropos word\" to search for commands related to \"word\"...\n"</tt><tt>
    </tt><tt>~"Reading symbols from D:/Embedded_PCB/ESP/SPI_Slave_TEST/SPI_Slave_for_RPi/SPI_Slave_for_RPi_CMake/SPI_Slave_for_RPi_CC/VisualGDB/Release/spi-slave-receiver.elf..."</tt><tt>
    </tt><tt>~"done.\n"</tt><tt>
    </tt><tt>~"GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10\n"</tt><tt>
    </tt><tt>~"Copyright (C) 2015 Free Software Foundation, Inc.\n"</tt><tt>
    </tt><tt>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"</tt><tt>
    </tt><tt>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></tt><tt>
    </tt><tt>This is free software: you are free to change and redistribute it.</tt><tt>
    </tt><tt>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</tt><tt>
    </tt><tt>and "show warranty" for details.</tt><tt>
    </tt><tt>~"This GDB was configured as \"--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf\".\nType \"show configuration\" for configuration details."</tt><tt>
    </tt><tt>This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-elf".</tt><tt>
    </tt><tt>Type "show configuration" for configuration details.</tt><tt>
    </tt><tt>~"\nFor bug reporting instructions, please see:\n"</tt><tt>
    </tt><tt>~"<http://www.gnu.org/software/gdb/bugs/>.\n"</tt><tt>
    </tt><tt>~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"</tt><tt>
    </tt><tt>Find the GDB manual and other documentation resources online at:</tt><tt>
    </tt><tt><http://www.gnu.org/software/gdb/documentation/>.</tt><tt>
    </tt><tt>~"For help, type \"help\".\n"</tt><tt>
    </tt><tt>~"Type \"apropos word\" to search for commands related to \"word\".\n"</tt><tt>
    </tt><tt>^done</tt><tt>
    </tt><tt>-list-features</tt><tt>
    </tt><tt>^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option"]</tt><tt>
    </tt><tt>-gdb-set disassembly-flavor intel</tt><tt>
    </tt><tt>-gdb-set print demangle off</tt><tt>
    ^error,msg="No symbol \"disassembly\" in current context."</tt><tt>
    ^done</tt><tt>
    -target-disconnect</tt><tt>
    ^error,msg=<b>"You can't do that when your target is `exec'"</b></tt><tt>
    -gdb-exit</tt><tt>
    ^exit
    

    What should I do to program the ESP32 using the regular USB connection without any JTAG?

     

    • This topic was modified 5 years, 10 months ago by erzyk.
    Attachments:
    You must be logged in to view attached files.
    #23458
    support
    Keymaster

    Hi,

    Looks like your support period has expired. In order to receive technical support, please renew your license here: https://sysprogs.com/splm/mykey

    #23461
    erzyk
    Participant

    Is this not a community forum?

    #23462
    support
    Keymaster

    It is. If anyone else is willing to provide help with this, they are absolutely welcome to do that. We just wanted to clarify that we won’t be able to provide any support from our side unless you renew your license.

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