Page 1 of 1

RTOS_SDK template problem

Posted: Mon Oct 17, 2016 11:26 am
by LubomirBogdanov
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 ...

Re: RTOS_SDK template problem

Posted: Mon Oct 17, 2016 2:45 pm
by ESP_Me-no-dev
You are using the wrong SDK :)
Look here: https://github.com/espressif/esp-idf

Re: RTOS_SDK template problem

Posted: Tue Oct 18, 2016 9:01 am
by LubomirBogdanov
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.

Re: RTOS_SDK template problem

Posted: Tue Oct 18, 2016 10:35 pm
by ESP_Angus
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!

Re: RTOS_SDK template problem

Posted: Wed Oct 19, 2016 8:00 am
by LubomirBogdanov
OK, thank you!
I will stay tuned! :-)