donvukovic

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Re: https://visualgdb.com/tutorials/esp32/esp-idf/ #11458
    donvukovic
    Participant

    parsec67: I thought that looked wrong, but its a (x)nix program and thought it needed to be that way.

    However, still does not work.

    LD wpa2-enterprise.elf
    esptool.py v2.0-beta1
    Flashing binaries to serial port COM10 (app at offset 0x10000)…
    esptool.py v2.0-beta1
    Traceback (most recent call last):
    File “/esp-idf.orig/components/esptool_py/esptool/esptool.py”, line 2261, in <module>    main()
    File “/esp-idf.orig/components/esptool_py/esptool/esptool.py”, line 2037, in main    esp = chip_class(args.port, initial_baud)
    File “/esp-idf.orig/components/esptool_py/esptool/esptool.py”, line 166, 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 2] could not open port COM10: [Errno 2] No such file or directory: ‘COM10’
    make: *** [/esp-idf.orig/components/esptool_py/Makefile.projbuild:53: flash] Error 1

    Donald@Donald-PC /esp-idf.orig/examples/wifi/wpa2_enterprise
    $

     

    Any other suggestions ?

     

    in reply to: CPP newbe #11450
    donvukovic
    Participant

    Sorry, the example HTTP Server.

    I just called it wpa2_enterprise, without knowing better.

    in reply to: Fail: https://visualgdb.com/tutorials/esp32/ #11448
    donvukovic
    Participant

    OK, I found it. Reset the board.

     

    in reply to: Fail: https://visualgdb.com/tutorials/esp32/ #11447
    donvukovic
    Participant

    Continuing to follow the ../tutorials/esp32

    At step 16:

    Your VisualGDB trial expires in 25 days!
    C:\SysGCC\esp32\bin\xtensa-esp32-msvs-gdb.exe –interpreter mi C:\Users\Donald\Documents\visualStudio2017\Projects\ESP32DEMO\VisualGDB\Debug\ESP32DEMO
    -gdb-version
    =thread-group-added,id=”i1″
    GNU gdb (GDB) 7.10
    Copyright (C) 2015 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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”.
    Type “show configuration” for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    For help, type “help”.
    Type “apropos word” to search for commands related to “word”…
    Reading symbols from C:\Users\Donald\Documents\visualStudio2017\Projects\ESP32DEMO\VisualGDB\Debug\ESP32DEMO…
    done.
    GNU gdb (GDB) 7.10
    Copyright (C) 2015 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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”.
    Type “show configuration” for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    For help, type “help”.
    Type “apropos word” to search for commands related to “word”.
    OK
    -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
    No symbol “disassembly” in current context.
    -gdb-set print demangle off
    OK
    -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
    OK
    target remote :3333
    &”target remote :3333\n”
    Remote debugging using :3333
    =thread-group-started,id=”i1″,pid=”42000″
    =thread-created,id=”1″,group-id=”i1″
    =thread-created,id=”2″,group-id=”i1″
    ../../../../src/gdb-7.10/gdb/inline-frame.c:171: internal-error: inline_frame_this_id: Assertion `!frame_id_eq (*this_id, outer_frame_id)’ failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Quit this debugging session?
    (y or n) [answered Y; input not from terminal]
    &”\nThis is a bug, please report it.”
    &”  For instructions, see:\n<http://www.gnu.org/software/gdb/bugs/&gt;.”
    &”\n\n”
    ../../../../src/gdb-7.10/gdb/inline-frame.c:171: internal-error: inline_frame_this_id: Assertion `!frame_id_eq (*this_id, outer_frame_id)’ failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Create a core file of GDB?
    (y or n) [answered Y; input not from terminal]
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application’s support team for more information.
    vj+z1: GDB session exited prematurely. Please verify that the project is built, the selected GDB binary exists and the working directory is specified correctly.

    at vj.b2()

    at VisualGDB.GDBDebugEngine.d1(rw b, a a)

    in reply to: Fail: https://visualgdb.com/tutorials/esp32/ #11446
    donvukovic
    Participant

    C:\SysGCC\esp32\esp32-bsp\OpenOCD\bin\openocd.exe -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/esp32.cfg -c “adapter_khz 3000”
    Open On-Chip Debugger 0.9.0 (2017-05-09)
    Licensed under GNU GPL v2
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    Info : auto-selecting first available session transport “jtag”. To override use ‘transport select <transport>’.
    adapter speed: 3000 kHz
    Info : clock speed 3000 kHz
    Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
    Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
    Info : esp32.cpu0: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
    Info : esp32.cpu0: Core was reset (pwrstat=0x5F, after clear 0x0F).
    Info : esp32.cpu1: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
    Info : esp32.cpu1: Core was reset (pwrstat=0x5F, after clear 0x0F).
    Info : accepting ‘telnet’ connection on tcp/4444
    shutdown command invoked
    Info : dropped ‘telnet’ connection

    in reply to: Fail: https://visualgdb.com/tutorials/esp32/ #11444
    donvukovic
    Participant

    C:\SysGCC\esp32\esp32-bsp\OpenOCD\bin\openocd.exe -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/esp32.cfg -c “adapter_khz 3000”
    Open On-Chip Debugger 0.9.0 (2017-05-09)
    Licensed under GNU GPL v2
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    Info : auto-selecting first available session transport “jtag”. To override use ‘transport select <transport>’.
    adapter speed: 3000 kHz
    Info : clock speed 3000 kHz
    Error: JTAG scan chain interrogation failed: all ones
    Error: Check JTAG interface, timings, target power, etc.
    Error: Trying to use configured scan chain anyway…
    Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
    Warn : Bypassing JTAG setup events due to errors
    Info : esp32.cpu0: Debug controller was reset (pwrstat=0xFF, after clear 0xFF).
    Info : esp32.cpu0: Core was reset (pwrstat=0xFF, after clear 0xFF).
    Info : esp32.cpu1: Debug controller was reset (pwrstat=0xFF, after clear 0xFF).
    Info : esp32.cpu1: Core was reset (pwrstat=0xFF, after clear 0xFF).
    Info : accepting ‘telnet’ connection on tcp/4444
    shutdown command invoked
    Info : dropped ‘telnet’ connection

    donvukovic
    Participant

    Got it, thanks

     

Viewing 7 posts - 1 through 7 (of 7 total)