RTOS_SDK template problem

LubomirBogdanov
Posts: 6
Joined: Mon Oct 17, 2016 11:08 am

RTOS_SDK template problem

Postby LubomirBogdanov » Mon Oct 17, 2016 11:26 am

Hello, everyone!
I've recently bought an Adafruit ESP32 development board (https://www.adafruit.com/product/3269) containing the ESP32-WROOM-32.

I've downloaded the ESP32_RTOS_SDK and when i tried to flash it it fails:

cd ./ESP32_RTOS_SDK/examples/project_template
export SDK_PATH=/path/to/ESP32_RTOS_SDK
make

(Which returns:
===============================================================
Generate related files successully in folder ./bin
boot.bin------------------>0x00000
drom0.bin----------------->0x04000
irom0_flash.bin----------->0x40000
user.ota------------------>(used for OTA)
===============================================================
)

and when I try:
make flash_all

while I hold the proper buttons (reset, then reset+boot pin, then only boot, then release) I get:
===============================================================
Connecting...
Erasing flash...
SET FLASH PARAMS

A fatal error occurred: Failed to config flash (result "0x0, 0x0, 0x0, 0x0")
===============================================================

I know the board can be flashed successfully - I tried an example with the IDF (esp-idf-v0.9) and it was flashed successfully.
I'm stuck on this one and I've tried many things, including flashing it from the command line but nothing worked. I'm out of ideas.

Any help is apprectiated ...

User avatar
ESP_Me-no-dev
Posts: 80
Joined: Mon Jan 04, 2016 6:30 pm

Re: RTOS_SDK template problem

Postby ESP_Me-no-dev » Mon Oct 17, 2016 2:45 pm

You are using the wrong SDK :)
Look here: https://github.com/espressif/esp-idf

LubomirBogdanov
Posts: 6
Joined: Mon Oct 17, 2016 11:08 am

Re: RTOS_SDK template problem

Postby LubomirBogdanov » Tue Oct 18, 2016 9:01 am

OK, I got this one working (the IDF) but I wanted to use the ADC and I saw that a driver for the ADC is only available with the RTOS SDK.

So if the RTOS_SDK is not working for my board, then can I get some information about the ADC?
Like - register description, because I can see the registers in the ADC header file but I find no documentation. Maybe it's still under development?

Regards,
L. B.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: RTOS_SDK template problem

Postby ESP_Angus » Tue Oct 18, 2016 10:35 pm

LubomirBogdanov wrote: So if the RTOS_SDK is not working for my board, then can I get some information about the ADC?
Like - register description, because I can see the registers in the ADC header file but I find no documentation. Maybe it's still under development?
That's correct. Technical reference documentation & sample drivers for the ADC are in development, but they're not available yet. Thanks for bearing with us, we want to get those released as well!

LubomirBogdanov
Posts: 6
Joined: Mon Oct 17, 2016 11:08 am

Re: RTOS_SDK template problem

Postby LubomirBogdanov » Wed Oct 19, 2016 8:00 am

OK, thank you!
I will stay tuned! :-)

Who is online

Users browsing this forum: No registered users and 86 guests