A new way to flash the modules

The Annex CNN channel
Post Reply
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

A new way to flash the modules

Post by cicciocb »

EDIT : the current version online is the 1.47.2 that fixes the ELSEIF function
--------------------------------------------------------------------------------------------
Hi all,
after some time spent into the development of the Annex Toolkit, I finally discovered another way to program devices using the WEB.

I developed a simple web page where it is possible to program the ESP32 modules simply using the web browser without any other utility.

The page is accessible here [Local Link Removed for Guests]

This page contains the latest version I developed (the 1.47.1) for all the ESP32 devices, including the ESP32-S2, the ESP32-C3 and the ESP32-S3.

To use it is very simple :

Select the version and click on connect then follow the indications provided.

Please try it and let me know; this is the way I would release the software in the future as it is easy and multi platform.

Do not hesitate to do remarks and suggestions.

cicciocb

P.S.
This new version (1.47.1) implements the following change / improvements
- Implemented the support for the ESP32-C3, ESP32-S2 and the ESP32-S3
- Speed increase : the code has been largely optimized and now it should run around 2x faster
- Implemented the fast boot function
- Implemented the possibility to load and save files from the local computer (2 new buttons in the editor bar)
- It is possible to freely define all the pin functions (SDCARD, TFT, SPI, I2S, ..) in the config page
- Implemented the ELSEIF command
- fixed the "SELECT CASE string comparison problems" [Local Link Removed for Guests]
- fixed the email function (now works properly, including gmail)
- fixed the command option.cpufreq [Local Link Removed for Guests]
BeanieBots
Posts: 345
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 183 times
Been thanked: 112 times

Re: A new way to flash the modules

Post by BeanieBots »

Shame about no Firefox support which begs the question, are other browsers likely to follow suit due to "security reasons"?
None the less, it works for me using Edge.

There are many other functions/tools available in the installed version. Will these be comming later?
Are there release notes for V1.47.1?
Can we have 1.47.1 available as a .bin for use with the installed version as well?
What is "Annex with USB serial"?
User avatar
Electroguard
Posts: 860
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 274 times
Been thanked: 322 times

Re: A new way to flash the modules

Post by Electroguard »

Nice new addition, especially with S2, but a great shame it cannot be used by Firefox and I have no intention of giving in to the corporate chrome trap now, so I'll wait for a Toolkit update.
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Oct 18, 2022 9:24 am Shame about no Firefox support which begs the question, are other browsers likely to follow suit due to "security reasons"?
None the less, it works for me using Edge.
The WEB Serial is a quite recent feature included in the WEB browsers so it is not supposed to be removed. web serial
It's just Firefox who decided not to implement it, so it's up to them to adopt it or not in the future Firefox position
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Oct 18, 2022 9:24 am There are many other functions/tools available in the installed version. Will these be comming later?
I do not plan to release another version of the toolkit, too much work to maintain it
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Oct 18, 2022 9:24 am Are there release notes for V1.47.1?
Can we have 1.47.1 available as a .bin for use with the installed version as well?
What is "Annex with USB serial"?
- No, I not yet compiled the release notes for this version
- I do not plan to release the .bin at short term as I need feedback on this way to release the SW
- Annex with USB serial is for the modules like the ESP32-S2 that includes a direct support for the USB (do not rely on USB-to-Serial converters like the CH340 ...)
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Oct 18, 2022 9:54 am Nice new addition, especially with S2, but a great shame it cannot be used by Firefox and I have no intention of giving in to the corporate chrome trap now, so I'll wait for a Toolkit update.
Even if I understand your point of view I do not plan to release another version of the toolkit, at least not a short term.

Maybe you can try with Opera Browser (that is based on Chromium) :roll:
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: A new way to flash the modules

Post by PeterN »

Hi Cicciocb

Flashing an M5 ATOM ECHO was OK.
But it crashed a M5Stack. It ended in a GURU meditarion error and a reset loop. Tried to return to V1.44.1
... but now the module only reports:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

Hi Peter,
thanks for your testing.

If I understand well, now you cannot flash back the version 1.44.1 ?
What kind of M5Stack module is ?
If I remember well, there were a problem with the PSRAM access with some chips that I probably forgot to include in this version.
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: A new way to flash the modules

Post by PeterN »

Hi Francesco

yes I can not flash one of the elder M5Stack-Modules with PSRAM back to the formerly installed 1.44.2 now.
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

It is really strange that you cannot come back to the previous version, maybe you should erase the memory and try again.

Could you specify what kind of M5stack module is? the exact model
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

Hi again Peter,
can you retry again? I modified the firmware and this should fix the problem
Post Reply