https://github.com/espressif/esp-idf/tr ... ful_server
In my project I'm using ESP32-WROOM-32, FT2232HL JTAG, Eclipse IDE running under Windows 10. SD variant of that example works fine, but when I set semihost through menuconfig "C:\esp32_semihost" and run OpenOCD like this:
Code: Select all
openocd -c "set ESP_SEMIHOST_BASEDIR C:\\esp32_semihost" -f board/esp32-wrover-kit-3.3v.cfg
Eclipse output during file request:
Code: Select all
E (138679) esp-rest: Failed to open file : /www/index.html
W (138679) httpd_txrx: httpd_resp_send_err: 500 Internal Server Error - Failed to read existing file
W (138689) httpd_uri: httpd_uri: uri handler execution failed
Code: Select all
Info : Target halted. CPU0: PC=0x400DEF54 (active)
Info : Target halted. CPU1: PC=0x401557EE
Code: Select all
Info : Target halted. CPU0: PC=0x400DEF54 (active)
Info : Target halted. CPU1: PC=0x401557EE
Error: File name length if greater then the maximum possible value!
Also tried running openocd inside eclipse using this guide: https://medium.com/@kondal.kolipaka/gdb ... 7a6661f32f but with only these config options in Debugger tab, output still same:
Code: Select all
-c "set ESP_SEMIHOST_BASEDIR C:\\semihost"
-f board/esp32-wrover-kit-3.3v.cfg
UPD2:
Looks like this guy had same issue: viewtopic.php?p=61230#p61230 still no solution to make it work...