esp-box icon indicating copy to clipboard operation
esp-box copied to clipboard

Can't flash new firmware to ESP32-S3-BOX

Open WH3080 opened this issue 3 years ago • 2 comments

Hello, I just received the ESP32-S3-BOX. Following the recommendations I was hoping I could upgrade the latest firmware according to these instructions: https://github.com/espressif/esp-box/blob/master/docs/firmware_update.md Although I have used this tool successfully multiple times on various other ESP devices, it does not work here. And yes, I also tried holding the boot button etc. It initializes the upload:

AP: 7CDFA1E1C781 STA: 7CDFA1E1C780 BT: 7CDFA1E1C782 ETHERNET: 7CDFA1E1C783

... and then I always get this error:

Uploading stub... Running stub... Stub running...

is stub and send flash finish

Is there any other thing I could try? It's not the cable or computer as I was also able to flash other firmware onto it (Tasmota via the Tasmota Web Installer for instance).

Thank you for your help!

WH3080 avatar Jun 24 '22 21:06 WH3080

You can try Disable download stub in menuconfig like the following diagram. image

TDA-2030 avatar Jun 25 '22 01:06 TDA-2030

I realized that I needed to install the ESP IDF and found menuconfig command to see this screen and follow your advice. It worked.

WH3080 avatar Jun 25 '22 04:06 WH3080

Is it possible to flash through espressif IDE I don,t get how to do that When i have run the command (git clone --recursive https://github.com/espressif/esp-box.git) esp-box folder with required elements are created so how can i run modify code using the IDE. i able to flash using CMD commands.

beginner140BB avatar Nov 11 '22 10:11 beginner140BB

Is it possible to flash through espressif IDE I don,t get how to do that When i have run the command (git clone --recursive https://github.com/espressif/esp-box.git) esp-box folder with required elements are created so how can i run modify code using the IDE. i able to flash using CMD commands.

you want to do some modification in box, and don't know how to install IDF? you can refer to this: installation-step-by-step

espressif2022 avatar Nov 11 '22 11:11 espressif2022

Is it possible to flash through espressif IDE I don,t get how to do that When i have run the command (git clone --recursive https://github.com/espressif/esp-box.git) esp-box folder with required elements are created so how can i run modify code using the IDE. i able to flash using CMD commands.

you want to do some modification in box, and don't know how to install IDF? you can refer to this: installation-step-by-step

currently working in espressif ide(windows) projects based on esp32 is it possible to modify the example code given inside the box esp32 s3 board is already there.

beginner140BB avatar Nov 11 '22 11:11 beginner140BB

does the location of the folder is wrong..?

C:\Espressif\frameworks\esp-idf-v4.4.2\esp-box

beginner140BB avatar Nov 11 '22 11:11 beginner140BB

IDF is the same, you should press cmd to change build target: idf.py set-target esp32s3 so, what's the problem now? I'm not very clear

espressif2022 avatar Nov 11 '22 11:11 espressif2022

so, what's the problem now? I'm not very clear Need to use ESPRESSIF IDE to flash the code and modify the code of esp-box other than using ESP-IDF command promt. what should i do for that? initial step followed was (git clone --recursive https://github.com/espressif/esp-box.git) then try to open the example for building it what may be the issue here.

image

beginner140BB avatar Nov 11 '22 11:11 beginner140BB

Sorry, I didn’t use this IDE before. I asked my colleagues, this is the IDE made by the previous agent, I am not sure whether it has been adapted to the latest chip of S3, this is not our official recommended compilation method, if it is a window environment, you can execute it here [window install step]https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html#get-started-windows-first-steps And linux is recommended, window is too slow; @.*** @.*** @.***

Best regards,

徐新

AE|Espressif Systems

T: 021-61091062

www.espressif.comhttp://espressif.com/ #204, Block 2, 690 Bibo Road,

Zhang Jiang High-Tech Park, Shanghai, China

发件人: @.> 发送时间: 2022年11月11日 19:40 收件人: @.> 抄送: Xu @.>; @.> 主题: Re: [espressif/esp-box] Can't flash new firmware to ESP32-S3-BOX (Issue #36)

[External: This email originated outside Espressif]

so, what's the problem now? I'm not very clear Need to use ESPRESSIF IDE to flash the code and modify the code of esp-box other than using ESP-IDF command promt. what should i do for that? initial step followed was (git clone --recursive https://github.com/espressif/esp-box.git) then try to open the example for building it what may be the issue here.

[image]https://user-images.githubusercontent.com/83206454/201333081-eb728970-79eb-4cf0-9022-cee43e60ed1f.png

― Reply to this email directly, view it on GitHubhttps://github.com/espressif/esp-box/issues/36#issuecomment-1311590592, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PUVSRBW67HTYK6753CJJTWHYWBDANCNFSM5ZZA6BZA. You are receiving this because you commented.Message ID: @.***>

espressif2022 avatar Nov 11 '22 11:11 espressif2022

okay thanks, @espressif2022 so for development side you guys are using external editor and for building you use esp idf cmd right. so there is no possible way to remodify compile the code using ide

beginner140BB avatar Nov 11 '22 12:11 beginner140BB

using the ide is more easy way thats why i asked for that to modify code of esp-box using ide since currently we have been using esp32 based projects using the ide.

is there any other ide that can be used for that such as visual studio code.

beginner140BB avatar Nov 11 '22 12:11 beginner140BB

sorry, you did it with ESP-IDF Eclipse Plugin? ESP-IDF Eclipse Plugin

espressif2022 avatar Nov 11 '22 12:11 espressif2022

sorry, you did it with ESP-IDF Eclipse Plugin? ESP-IDF Eclipse Plugin

yes

beginner140BB avatar Nov 11 '22 12:11 beginner140BB

I am not sure whether it has been adapted to the latest chip of S3

image

beginner140BB avatar Nov 11 '22 12:11 beginner140BB

can you build it ok?

I am not sure whether it has been adapted to the latest chip of S3

image

can you build the examples successfully?

espressif2022 avatar Nov 11 '22 12:11 espressif2022

can you build the examples successfully?

yes, need to know how to include box exampple code to build and flash using IDE rather than using ESP-IDF CMD

beginner140BB avatar Nov 16 '22 04:11 beginner140BB

Hi, if you don't have any questions, please close this issue. Thank you!

ESP-Mars avatar Jun 30 '23 09:06 ESP-Mars