esp32-C3 esp-idf issue
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
esp32-C3 esp-idf issue
Hi All,
Need your help, I have installed the esp-IDF and espressif tools for esp32_c3. Version is the master branch. I also tried all versions of esp-idf 4.1,4.2 and 4.3 all have the same response. The response is that esp32_c3 reboots again and again with the following as mentioned in the attached image "reboots_continously". Can you help me in this regard? Everything works well, compiling and downloading into esp32_c3
Thanks in Advance
Need your help, I have installed the esp-IDF and espressif tools for esp32_c3. Version is the master branch. I also tried all versions of esp-idf 4.1,4.2 and 4.3 all have the same response. The response is that esp32_c3 reboots again and again with the following as mentioned in the attached image "reboots_continously". Can you help me in this regard? Everything works well, compiling and downloading into esp32_c3
Thanks in Advance
- Attachments
-
- reboots_continously
- reboots_continously.jpg (407 KiB) Viewed 6556 times
Re: esp32-C3 esp-idf issue
Just make sure you are not using strapping pins:
page 14: https://www.espressif.com/sites/default ... eet_en.pdfThe strapping combination of GPIO8 = 0 and GPIO9 = 0 is invalid and will trigger unexpected behavior.
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
Re: esp32-C3 esp-idf issue
thank you so much for the response. No, i am not using the strapping pins ,. One thing more which I have observed is that I have installed the esp-idf into another pc and its still working fine. In comparison between these two PCs, I have observed one thing that the working PC has the following sdkconfig file as attached wth the esp32_c3 is enabled and another image is attached with nonworking pc with esp32 enabled.
Is that the issue? can you help me where to enable esp32_c3 so that it gets enabled in the esp32_c3 file? I manually changed it but when I compiled all changes revert back.
Thanks in Advance and for the response !
Best Regards,
Is that the issue? can you help me where to enable esp32_c3 so that it gets enabled in the esp32_c3 file? I manually changed it but when I compiled all changes revert back.
Thanks in Advance and for the response !
Best Regards,
- Attachments
-
- non working pc sdkconfig file
- sdkconfig_esp32.jpeg (170.09 KiB) Viewed 6513 times
-
- working pc sdkconfig file
- sdkconfig_esp32_c3.jpeg (158.16 KiB) Viewed 6513 times
Re: esp32-C3 esp-idf issue
There is 2 things:
- on PC with "esp32" you should not be able to flash C3 with this sdkconfig
- yes, you can use this command and all should be fine:
- on PC with "esp32" you should not be able to flash C3 with this sdkconfig
- yes, you can use this command and all should be fine:
Code: Select all
idf.py set-target esp32c3
idf.py flash
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
Re: esp32-C3 esp-idf issue
thank you for the response!
I run this command :idf.py set-target esp32c3"
and got the following response
"IDF_PATH environment variable needs to be set to use this tool"
I will try to resolve this message and try to flash the esp32_c3 by using commands as you mentioned. And will update you further on it.
Thank You!
I run this command :idf.py set-target esp32c3"
and got the following response
"IDF_PATH environment variable needs to be set to use this tool"
I will try to resolve this message and try to flash the esp32_c3 by using commands as you mentioned. And will update you further on it.
Thank You!
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
Re: esp32-C3 esp-idf issue
I have tested using the command and load the program as shown in the image "using_command_line".
and I get the same output on dock light . As shown in the image.
This time output changes but still rebooting . Talking about the chip revision which should be a minimum 3. Can you help me in this regard?
Thanks in advance !
and I get the same output on dock light . As shown in the image.
This time output changes but still rebooting . Talking about the chip revision which should be a minimum 3. Can you help me in this regard?
Thanks in advance !
- Attachments
-
- after reboot
- dock_light_output.jpg (384.76 KiB) Viewed 6437 times
-
- using command line
- using_command_line.jpg (230.48 KiB) Viewed 6437 times
Re: esp32-C3 esp-idf issue
Try:
Then use slash(/) to enable searching and try to find word "revision" and change minimum required revision to 2.
Code: Select all
idf.py menuconfig
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
Re: esp32-C3 esp-idf issue
thank you so much for the help !
It worked!
I want to share my observations for the newcomers in this post.
When I run the "idf.py menuconfig" command and find the "revision" by '/' character as described by you.
Made changes, and run these two commands
idf.py set-target esp32c3
idf.py flash
then it reverts changes back to revision = 3 and I got the same error.
but when I directly run the command " idf.py flash " after set revision =2, it worked!
is there any reason behind that?
In the end, again thank you!
Best Regards,
It worked!
I want to share my observations for the newcomers in this post.
When I run the "idf.py menuconfig" command and find the "revision" by '/' character as described by you.
Made changes, and run these two commands
idf.py set-target esp32c3
idf.py flash
then it reverts changes back to revision = 3 and I got the same error.
but when I directly run the command " idf.py flash " after set revision =2, it worked!
is there any reason behind that?
In the end, again thank you!
Best Regards,
Re: esp32-C3 esp-idf issue
When you set target with
then default values are applied in sdkconfig.
Code: Select all
idf.py set-target esp32xx
-
- Posts: 28
- Joined: Tue Mar 23, 2021 10:44 am
Re: esp32-C3 esp-idf issue
thank you !
Who is online
Users browsing this forum: Usama Masood and 102 guests