Sysprogs forums › Forums › VisualGDB › what is wrong of the ESP32 examples build error?
- This topic has 1 reply, 2 voices, and was last updated 6 years, 7 months ago by support.
-
AuthorPosts
-
April 26, 2018 at 08:14 #20815march_sevenParticipant
Hi all
when i using visual GDB for build the example of ESP32 , there is a error happened
i have not config a debug method ,just set as COM3 as the raw port~~~
VisualGDB is licensed to Company (site license)
c:\SysGCC\esp32\bin\xtensa-esp32-msvs-gdb.exe –interpreter mi F:\Embedded\esp32\EmbeddedProject1\VisualGDB\Debug\EmbeddedProject1
-gdb-version
=thread-group-added,id=”i1″
~”GNU gdb (GDB) 7.10\n”
~”Copyright (C) 2015 Free Software Foundation, Inc.\n”
~”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”
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
~”This GDB was configured as \”–host=i686-pc-mingw32 –target=xtensa-esp32-elf\”.\nType \”show configuration\” for configuration details.”
This GDB was configured as “–host=i686-pc-mingw32 –target=xtensa-esp32-elf”.
Type “show configuration” for configuration details.
~”\nFor bug reporting instructions, please see:\n”
~”<http://www.gnu.org/software/gdb/bugs/>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”…\n”
~”Reading symbols from F:\\Embedded\\esp32\\EmbeddedProject1\\VisualGDB\\Debug\\EmbeddedProject1…”
~”done.\n”
~”GNU gdb (GDB) 7.10\n”
~”Copyright (C) 2015 Free Software Foundation, Inc.\n”
~”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”
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
~”This GDB was configured as \”–host=i686-pc-mingw32 –target=xtensa-esp32-elf\”.\nType \”show configuration\” for configuration details.”
This GDB was configured as “–host=i686-pc-mingw32 –target=xtensa-esp32-elf”.
Type “show configuration” for configuration details.
~”\nFor bug reporting instructions, please see:\n”
~”<http://www.gnu.org/software/gdb/bugs/>.\n”
~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n”
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~”For help, type \”help\”.\n”
~”Type \”apropos word\” to search for commands related to \”word\”.\n”
^done
-list-features
^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”]
-gdb-set disassembly-flavor intel
-gdb-set print demangle off
^error,msg=”No symbol \”disassembly\” in current context.”
^done
-break-insert -f main
&”Function \”main\” not defined.\n”
^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”<PENDING>”,pending=”main”,times=”0″,original-location=”main”}
Warning: could not set a breakpoint on main. ‘Step into new instance’ will not work.
-break-delete 1
^done
esptool.py v2.0
Traceback (most recent call last):
File “/esp32-bsp/esp-idf/components/esptool_py/esptool/esptool.py”, line 2405, in <module>
_main()
File “/esp32-bsp/esp-idf/components/esptool_py/esptool/esptool.py”, line 2398, in _main
main()
File “/esp32-bsp/esp-idf/components/esptool_py/esptool/esptool.py”, line 2121, in main
esp = ESPLoader.detect_chip(args.port, initial_baud, args.before)
File “/esp32-bsp/esp-idf/components/esptool_py/esptool/esptool.py”, line 201, in detect_chip
detect_port = ESPLoader(port, baud)
File “/esp32-bsp/esp-idf/components/esptool_py/esptool/esptool.py”, line 175, in __init__
self._port = serial.serial_for_url(port)
File “/usr/lib/python2.7/site-packages/serial/__init__.py”, line 88, in serial_for_url
instance.open()
File “/usr/lib/python2.7/site-packages/serial/serialposix.py”, line 268, in open
raise SerialException(msg.errno, “could not open port {}: {}”.format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyS2: [Errno 13] Permission denied: ‘/dev/ttyS2’
-target-disconnect
^error,msg=”You can’t do that when your target is `exec'”
-gdb-exit
^exitAttachments:
You must be logged in to view attached files.April 26, 2018 at 22:39 #20823supportKeymasterHi,
Please let us know the email associated with your license key so that we could check your support status.
-
AuthorPosts
- You must be logged in to reply to this topic.