kostbill

Forum Replies Created

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • in reply to: Cannot find http_server file. #22152
    kostbill
    Participant

    I am unable to follow all the things in the thread you posted, it follows commands from another thread, where the user is using linux and I am totally confused.

    I don’t even know what the MSYS2 is and where I should install it, and how to tell to the environment where to find it.

    I tried to build another example from the master rep, even the experimental one, with no luck.

    I tried to use the embedded project wizard, instead of the ESP IDF wizard, but still would not build.

    I have the latest visualgdb and I didn’t do anything by hand, the wizard took care of downloading the packages.

    Is there another procedure I should use, which is not automated?

    Thanks.

    in reply to: Cannot find http_server file. #22149
    kostbill
    Participant

    However the simple project fails to build. This is the output, can you help?:

    —— Build started: Project: EmbeddedProject6, Configuration: Debug VisualGDB ——
    VisualGDB: Run “c:\SysGCC\esp32\bin\bash.exe –login -c “export IDF_PATH=/esp-idf/master && export BATCH_BUILD=1 && export -n PYTHONHOME && export LANG=en_US && cd /cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6 && make -j4 BUILD_DIR_BASE=’/cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6/Debug’ SDKCONFIG=’/cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6/sdkconfig-debug’ V=0″” in directory “” on local computer
    including /esp-idf/master/components/app_update/Makefile.projbuild…
    including /esp-idf/master/components/bootloader/Makefile.projbuild…
    including /esp-idf/master/components/bootloader_support/Makefile.projbuild…
    including /esp-idf/master/components/coap/Makefile.projbuild…
    including /esp-idf/master/components/esp32/Makefile.projbuild…
    including /esp-idf/master/components/esptool_py/Makefile.projbuild…
    including /esp-idf/master/components/mbedtls/Makefile.projbuild…
    including /esp-idf/master/components/nghttp/Makefile.projbuild…
    including /esp-idf/master/components/partition_table/Makefile.projbuild…
    including /esp-idf/master/components/ulp/Makefile.projbuild…
    make[1]: Entering directory ‘/esp-idf/master/tools/kconfig’
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/mconf.c -o mconf.o
    flex -L -P zconf -o zconf.lex.c /esp-idf/master/tools/kconfig/zconf.l
    bison -t -l -p zconf -o zconf.tab.c /esp-idf/master/tools/kconfig/zconf.y
    sed -E “s/\\x0D$//” /esp-idf/master/tools/kconfig/zconf.gperf | gperf -t –output-file zconf.hash.c -a -C -E -g -k ‘1,3,$’ -p -t
    cc -I /esp-idf/master/tools/kconfig -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD zconf.tab.c -o zconf.tab.o
    /esp-idf/master/tools/kconfig/lxdialog/check-lxdialog.sh -check cc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD -lncursesw -lintl
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/checklist.c -o lxdialog/checklist.o
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/util.c -o lxdialog/util.o
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/inputbox.c -o lxdialog/inputbox.o
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o
    cc -o mconf-idf mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o -lncursesw -lintl
    cc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC=”<ncurses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -MMD /esp-idf/master/tools/kconfig/conf.c -o conf.o
    cc -o conf-idf conf.o zconf.tab.o -lncursesw -lintl
    make[1]: Leaving directory ‘/esp-idf/master/tools/kconfig’
    GENCONFIG
    #
    # configuration written to /cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6/sdkconfig-debug
    #
    including /esp-idf/master/components/app_update/Makefile.projbuild…
    including /esp-idf/master/components/bootloader/Makefile.projbuild…
    including /esp-idf/master/components/bootloader_support/Makefile.projbuild…
    including /esp-idf/master/components/coap/Makefile.projbuild…
    including /esp-idf/master/components/esp32/Makefile.projbuild…
    including /esp-idf/master/components/esptool_py/Makefile.projbuild…
    including /esp-idf/master/components/mbedtls/Makefile.projbuild…
    including /esp-idf/master/components/nghttp/Makefile.projbuild…
    including /esp-idf/master/components/partition_table/Makefile.projbuild…
    including /esp-idf/master/components/ulp/Makefile.projbuild…
    CC Debug/app_trace/app_trace.o
    CC Debug/app_update/esp_ota_ops.o
    The following Python requirements are not satisfied:
    future>=0.16.0
    cryptography
    Please run “/usr/bin/python -m pip install –user -r /esp-idf/master/requirements.txt” for resolving the issue.
    make: *** [/esp-idf/master/make/project.mk:454: check_python_dependencies] Error 1
    make: *** Waiting for unfinished jobs….
    CC Debug/app_trace/host_file_io.o
    CC Debug/app_trace/app_trace_util.o
    AR Debug/app_update/libapp_update.a
    CC Debug/app_trace/gcov/gcov_rtio.o
    AR Debug/app_trace/libapp_trace.a
    including /esp-idf/master/components/esptool_py/Makefile.projbuild…
    including /esp-idf/master/components/bootloader_support/Makefile.projbuild…
    including /esp-idf/master/components/bootloader/subproject/main/Makefile.projbuild…
    WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-80-g6c4433a5
    Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
    Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
    including /esp-idf/master/components/esptool_py/Makefile.projbuild…
    including /esp-idf/master/components/bootloader_support/Makefile.projbuild…
    including /esp-idf/master/components/bootloader/subproject/main/Makefile.projbuild…
    CC Debug/bootloader/bootloader_support/src/bootloader_random.o
    CC Debug/bootloader/log/log.o
    CC Debug/bootloader/spi_flash/spi_flash_rom_patch.o
    CC Debug/bootloader/micro-ecc/micro-ecc/uECC.o
    CC Debug/bootloader/bootloader_support/src/flash_encrypt.o
    AR Debug/bootloader/log/liblog.a
    AR Debug/bootloader/spi_flash/libspi_flash.a
    AR Debug/bootloader/micro-ecc/libmicro-ecc.a
    CC Debug/bootloader/bootloader_support/src/bootloader_sha.o
    CC Debug/bootloader/soc/esp32/rtc_clk.o
    CC Debug/bootloader/main/bootloader_start.o
    CC Debug/bootloader/bootloader_support/src/esp_image_format.o
    CC Debug/bootloader/bootloader_support/src/flash_partitions.o
    CC Debug/bootloader/soc/esp32/rtc_time.o
    AR Debug/bootloader/main/libmain.a
    CC Debug/bootloader/bootloader_support/src/secure_boot_signatures.o
    CC Debug/bootloader/bootloader_support/src/bootloader_clock.o
    CC Debug/bootloader/soc/esp32/rtc_sleep.o
    CC Debug/bootloader/soc/esp32/gpio_periph.o
    CC Debug/bootloader/bootloader_support/src/secure_boot.o
    CC Debug/bootloader/bootloader_support/src/bootloader_common.o
    CC Debug/bootloader/soc/esp32/rtc_clk_init.o
    CC Debug/bootloader/soc/esp32/spi_periph.o
    CC Debug/bootloader/bootloader_support/src/bootloader_utility.o
    CC Debug/bootloader/bootloader_support/src/bootloader_init.o
    CC Debug/bootloader/soc/esp32/rtc_init.o
    CC Debug/bootloader/soc/esp32/sdio_slave_periph.o
    CC Debug/bootloader/bootloader_support/src/efuse.o
    CC Debug/bootloader/soc/esp32/rtc_wdt.o
    CC Debug/bootloader/bootloader_support/src/flash_qio_mode.o
    CC Debug/bootloader/soc/esp32/sdmmc_periph.o
    CC Debug/bootloader/bootloader_support/src/bootloader_flash.o
    CC Debug/bootloader/soc/esp32/cpu_util.o
    CC Debug/bootloader/soc/esp32/rtc_periph.o
    CC Debug/bootloader/soc/esp32/rtc_pm.o
    AR Debug/bootloader/bootloader_support/libbootloader_support.a
    CC Debug/bootloader/soc/esp32/soc_memory_layout.o
    CC Debug/bootloader/soc/src//memory_layout_utils.o
    AR Debug/bootloader/soc/libsoc.a
    LD Debug/bootloader/bootloader.elf
    esptool.py v2.5.0
    ————————————————————-
    Command exited with code 2
    Executable: c:\SysGCC\esp32\bin\bash.exe
    Arguments: –login -c “export IDF_PATH=/esp-idf/master && export BATCH_BUILD=1 && export -n PYTHONHOME && export LANG=en_US && cd /cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6 && make -j4 BUILD_DIR_BASE=’/cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6/Debug’ SDKCONFIG=’/cygdrive/c/Users/kostbill/source/repos/EmbeddedProject6/EmbeddedProject6/sdkconfig-debug’ V=0”
    Directory:
    VisualGDB: Error: Command-line action failed
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    in reply to: Cannot find http_server file. #22148
    kostbill
    Participant

    I used downloaded the master branch and there are three http server examples.

    So, why there is not a http server example in the v3.1 (and I also noticed that there is not one in v3.0 as well)???

    in reply to: Cannot find http_server file. #22147
    kostbill
    Participant

    I am getting a bit confused. I don’t understand what is the difference between ESP-IDF and the different versions of it.

    So, lets make it more simple.

    If I start from the simple wifi example, how can I add a http_server in my program?

     

    Thanks.

    in reply to: ESP8266 undefined reference to `smartconfig_stop' #13259
    kostbill
    Participant

    OK, did it but I had to download the library from the net. It was not in my PC.

    in reply to: ESP8266 undefined reference to `smartconfig_stop' #13258
    kostbill
    Participant

    Hello.

    I am having the same problem. However I cannot find where this library is located, I searched my PC and it is not there. Also, when I find it, how am I going to add it to my project?

    If I go to properties->Linker, what should I do next?

    Thanks.

    in reply to: How to program esp8266 from the bin, hex and elf files. #13225
    kostbill
    Participant

    Hi,

    JTAG does not work anymore (perhaps I burned it), so it is consistent.

    Having said that however, I will rework the cables, solder them and get back to it later.

    Thanks again,

    Vasileios.

    in reply to: How to program esp8266 from the bin, hex and elf files. #13222
    kostbill
    Participant

    Hello again.

    I made a mistake previously and tried to debug the program. So now I just programmed it and it disconnected just fine and it works.

    Now what I would really love to have, is my JTAG interface working :).

    Thanks for your help,

    Vasileios.

    in reply to: How to program esp8266 from the bin, hex and elf files. #13221
    kostbill
    Participant

    Hi,

    I am following the instructions, however it seems that at about 100% of the downloading, the program stops responding and when I press the stop button it does nothing.

    After a couple of minutes it returns to no debug mode. However the COM port is taken.

    Do you know if other people are using the adafruit feather 8266 with success?

    Thanks,

    Vasileios.

    in reply to: Cannot program ESP8266 with JTAG #13214
    kostbill
    Participant

    Hi,

    I don’t have other boards, so for now I dropped the idea of JTAG debugging.

    Thanks.

    in reply to: Cannot program ESP8266 with JTAG #13212
    kostbill
    Participant

    Hello.

    So, I now tried a different reset pin.

    I get the message “All reported device registers have a value of 0. …”.

    When I connect the other reset pin, I get the same message again.

    The device is not broken however, I can program it from the Arduino IDE.

    Any ideas?

Viewing 11 posts - 16 through 26 (of 26 total)