Using Semihosting with the Restful Server example on Mac OS X

circuithappy
Posts: 1
Joined: Mon Jun 17, 2019 9:23 pm

Using Semihosting with the Restful Server example on Mac OS X

Postby circuithappy » Wed Jun 10, 2020 11:26 pm

Hello!

I am trying to use the semihosting option in the Restful Server example and not having any luck getting my WROOM DevKitc_V4 board to see my local file system via JTAG interface.

My JTAG interface is a TIAO Tumpa Lite board.
I am on Mac OS X 10.14.6.
I am using ESP-IDF v4.2-dev-1660-g7d7521367

I am successfully starting an OpenOCD session and the Restful Server project builds. I see a note printed to the terminal "esp_semihost: OpenOCD Semihosting v.1 [Read from an OpenOCD response]" So I think Semihosting is loading fine.

But when I try to load index.html I get the error message "esp-rest: Failed to open file : /www/index.html"

If I understand correctly, I am supposed to pass the absolute file path to my build web files, set in the menuconfig, file path looks something like this:
/Users/MyUser/esp/MyProject/front/web-project/build

The Restful Server project does work fine if I use the SPIFFS and write the build files to the /www directory.

Am I missing something in my configuration to get this working? Do I need to add something to the board cfg file for the Tumpa-Lite board?

Thank you for any help you can offer!

Ed

Who is online

Users browsing this forum: No registered users and 82 guests