Which ones are you referring to?Soon there will be tiny low power SoCs that may replace many MCUs unless prices drop
ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
IMPORTANT!:
If you update IDF master branch to the latest version, the Addax V1.0 boards that has the ESP32-S3(beta 3) chips are no longer supported.
Commits have been made at the beggining of June.
Latest branch that seems to supports older S3:
https://github.com/espressif/esp-idf/tr ... 9e3518a6d3
If you update IDF master branch to the latest version, the Addax V1.0 boards that has the ESP32-S3(beta 3) chips are no longer supported.
Commits have been made at the beggining of June.
Latest branch that seems to supports older S3:
https://github.com/espressif/esp-idf/tr ... 9e3518a6d3
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Is there anybody who owns one of the new ESP32-S3 Evalboards, who did a benchmark comparison between ESP32 and ESP32-S3?
"Whoever believes to be someone has stopped becoming someone"
Sokrates
Sokrates
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
If you have working benchmarking code you want tested, I can do the test. I have wrover modules with ESP32 V3 chip, and S3 beta 3 modules.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
You can find some Benchmark Code here:viewtopic.php?f=14&t=800&start=20#p73849.Vader_Mester wrote: ↑Tue Jul 06, 2021 12:32 pmIf you have working benchmarking code you want tested, I can do the test. I have wrover modules with ESP32 V3 chip, and S3 beta 3 modules.
But it is mainly floatingpoint related, which is probably not the most important topic for this type of uC. Nevertheless it will give an indication. It would kind if you could run this test on both ESP32 versions.
Maybe I can provide you a larger code later in order to avoid having the whole program running in cache memory.
"Whoever believes to be someone has stopped becoming someone"
Sokrates
Sokrates
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
OK.squonk11 wrote: ↑Tue Jul 06, 2021 10:15 pmYou can find some Benchmark Code here:viewtopic.php?f=14&t=800&start=20#p73849.Vader_Mester wrote: ↑Tue Jul 06, 2021 12:32 pmIf you have working benchmarking code you want tested, I can do the test. I have wrover modules with ESP32 V3 chip, and S3 beta 3 modules.
But it is mainly floatingpoint related, which is probably not the most important topic for this type of uC. Nevertheless it will give an indication. It would kind if you could run this test on both ESP32 versions.
Maybe I can provide you a larger code later in order to avoid having the whole program running in cache memory.
What interests me is the memory usage. I will try to write benchmarking code to test memory read and write speed both for internal RAM and external SPI-RAM as well. The S3 has an improved MMU.
Also, when it will be available, I want to test code execution speed from SPI-RAM.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Rudi: I can not PM you, so if you would be so kind, to edit the first post with the following information:
Support for ESP32-S3 (beta) chips have been removed from master.
The last snapshot that supports the beta chips is this:
https://github.com/espressif/esp-idf/tr ... 9e3518a6d3
If you go into your IDF folder, and run:
Code: Select all
git reset --hard 3b60c2e131bc382f40d78095bde8af9e3518a6d3
Code: Select all
git reset --soft 3b60c2e131bc382f40d78095bde8af9e3518a6d3
Code: Select all
git checkout 3b60c2e131bc382f40d78095bde8af9e3518a6d3
git submodule update --init --recursive
To make tools work, download the latest tools installer from here:
https://dl.espressif.com/dl/esp-idf/?idf=4.4
Then locate the folder where you have all your tools installed.
On windows machines, the default is C:\users\<username>\.espressif\tools
Detele all tools from here, EXCEPT xtensa-esp32s3-elf-gcc8_4_0-esp-2020r3-...
We need this compiler version to work best with beta chips.
Then, locate your tools.json file in your ESP-IDF directory: \esp-idf\tools\tools.json
Locate this bit, normally at line 214. (if you are running on linux then find the appropriate one for your hardware above this line).
This is the compiler tool required for the risv processors. With default settings below, tools installer will fail, because the riscv32 tool received a patch.
Code: Select all
"win32": {
"sha256": "5711eb407ffe44adddbd1281b6b575a5645e7193ca78faefa27dc5bc5b662bec",
"size": 191266312,
"url": "https://github.com/espressif/crosstool-NG/releases/download/esp-2021r1/riscv32-esp-elf-gcc8_4_0-esp-2021r1-win32.zip"
},
"win64": {
"sha256": "be3c9ec364bd8e92924f922a4aec73136824f16e912e6a0b5cf5b30512f0ab96",
"size": 192799980,
"url": "https://github.com/espressif/crosstool-NG/releases/download/esp-2021r1/riscv32-esp-elf-gcc8_4_0-esp-2021r1-win64.zip"
}
From your specific platform, copy the values from this file to tools.json, and edit the URL. For win64 it will be:
Sha256 file:
Code: Select all
# riscv32-esp-elf-gcc8_4_0-esp-2021r1-patch1-win64.zip: 197027915 bytes
8e8e3e385833960762e9f007bc3f7785daf282deb0c8a4dfdd6340b2cce556b0 *riscv32-esp-elf-gcc8_4_0-esp-2021r1-patch1-win64.zip
Code: Select all
"win64": {
"sha256": "8e8e3e385833960762e9f007bc3f7785daf282deb0c8a4dfdd6340b2cce556b0",
"size": 197027915,
"url": "https://github.com/espressif/crosstool-NG/releases/download/esp-2021r1/riscv32-esp-elf-gcc8_4_0-esp-2021r1-patch1-win64.zip"
}
After the installer is finished, you should remove xtensa-esp32s3-elf-gcc8_4_0-esp-2021r1-..., so IDF will use the older one instead.
Code: Select all
NOTE: On my side it worked with the newest compile tool, but if you experience issues, you can revert back to the old one
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Yes, that is exacly what I am also interested in. This micro probalbly is mostly used for communication purposes (WiFi, BT) and in this case memory reads and writes to the various memories and fetching code from flash etc. are more relevant that floatingpoint operations. In my use case I have an application running a webserver with websocket communication. The app today has a binary size of approx. 1,5MBytes - so most of the code will be executed from ext. flash and not from cache or iram. Since my app currently is too slow I am looking forward to test the ESP32-S3.Vader_Mester wrote: ↑Wed Jul 07, 2021 6:35 amOK.squonk11 wrote: ↑Tue Jul 06, 2021 10:15 pmYou can find some Benchmark Code here:viewtopic.php?f=14&t=800&start=20#p73849.Vader_Mester wrote: ↑Tue Jul 06, 2021 12:32 pm
If you have working benchmarking code you want tested, I can do the test. I have wrover modules with ESP32 V3 chip, and S3 beta 3 modules.
But it is mainly floatingpoint related, which is probably not the most important topic for this type of uC. Nevertheless it will give an indication. It would kind if you could run this test on both ESP32 versions.
Maybe I can provide you a larger code later in order to avoid having the whole program running in cache memory.
What interests me is the memory usage. I will try to write benchmarking code to test memory read and write speed both for internal RAM and external SPI-RAM as well. The S3 has an improved MMU.
Also, when it will be available, I want to test code execution speed from SPI-RAM.
"Whoever believes to be someone has stopped becoming someone"
Sokrates
Sokrates
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
@Vader_Mester : do you have already some Benchmark results with S3 chip?
"Whoever believes to be someone has stopped becoming someone"
Sokrates
Sokrates
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Some DSP related benchmarks of ESP32-S3 are available here: https://docs.espressif.com/projects/esp ... marks.html.
Who is online
Users browsing this forum: renatopinheiro and 104 guests