-
Notifications
You must be signed in to change notification settings - Fork 7.6k
S3 sketch fails to execute when built on Linux (Ubuntu) but executes perfectly when built on Windows. Unexpected Maker S3 boards #6661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And you are sure that you are using the same versions on both machines? Did you install from board manager? Except the toolchain, everything else is exactly the same on all operating systems. |
Is esptool.py v3.3 used? Only the v3.3 includes the needed header patching fix for the S3. Without you encounter issues with boards and partitions using a other scheme than 4MB |
At this time, I have moved away from Linux and on to Windows because of these difficulties and am unable to reproduce at this time. At the time, under Linux, I tried installing the toolchain manually AND via board manager. Both caused problems with the UM boards. Regarding esptool 3.3, all was set up using a current toolchain as it was a brand new install of Linux. Under windows, esptool is most certainly 3.3. I have uninstalled Linux, but it is my belief that 3.3 was being used. I have to say, I cannot confirm this absolutely at this time. It is worth mentioning that irrespective of partition scheme used, for the UM Tiny S3, no partition scheme worked at all. I realise this is unhelpful. By reporting this issue, I was hoping to provide a service to the community and help with the improvement of the toolchain. It is worth stating that I am not a technical expert, just an amateur doing his best and trying to help. I fully realise this is a partially "incomplete" report, and in order to just get on with things, I have decided to move back to Windows, where I have no problems at all. Presently, I have removed my Linux installation and cannot reproducce for further investigation. It is worth mentioning that a contact, via Unexpected Maker's Discord Server has experienced exactly the same difficulties, especially with the UM Tiny S3 and has himself reverted to using Windows, where the same problem isn't being experienced for him too. |
@me-no-dev I'm able to build and deploy on the Mac with all of my boards, and @prplz is able to build and deploy on Windows with all of my S3 boards, but I had to install latest from Master and manually run So I'm thinking that installing from board manager is not installing the tool chain properly on some systems? I'm running macOS 12.3.1, Arduino IDE 1.8.19 |
I'm seeing the same issue on the TinyS3 running esptool.py v3.3-dev on Ubuntu 20.04. |
3.3-dev is older than 3.3. Can you try upgrading your esptool? |
Where might I find 3.3? I just re-did the manual install per https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html and 3.3-dev is the version that was installed again. |
There is no valid entry for the ESP32-S3 in this file So updating Arduino with this package_esp32_index.json is not a working way. |
Have just rebuilt a Linux Mint 20.03LTS installation and have set up the toolchain using... https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ...in the Additional Boards Manager URL settings and can confirm that the problem is present and can confirm that v3.3 of esptool.py is being used. Using default settings, the serial monitor is repeatedly showing:
|
Those are just list of boards. Not something required for S3 to work. In the 2.0.3 final, there is an S3 board too. Testing on x86 linux ix an issue for me currently as I am buried in ARMs around me. I'll see what I can do. |
Hi, I don't have the boards you are using. I tested only on official DevKitC-1 v1.6 and could not replicate the issue. |
Hi, just had tried to flash tinyS3 without success on linus as well. OS: Manjaro up-to-date Flashing simple or even emtpy arduino .ino files results in endless serial monitor output like:
Board settings as below Any more information needed? |
can you try using the same settings but on the general "ESP32-S3 Dev Board"? |
I tried the same board on windows, which I can confirm is working just fine. Tried the "ESP32-S3 Dev Module" on linux, without success. |
which one is missing? you should have all those options for the dev module |
And what is missing from the above, that you can not switch to using that config? |
Any updates on this? |
As far we are not able to reproduce it, please if you still face this issue, share the steps how to reproduce it. Otherwise this issue will be closed. Thanks in advance! |
Closing as expired due to no answer. If it's still needed, please reopen the issue. Thanks for understanding. |
Board
Unexpected Maker Tiny S3 (ESP32-S3FN8) and Feather S3 (ESP32-S3)
Device Description
Bare board- nothing else attached.
Hardware Configuration
No devices connected
Version
v2.0.2
IDE Name
Arduino IDE and Arduino via vs.code
Operating System
Linux Mint (Ubuntu 20.04LTE) and Windows 10
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
921600
Description
Tested using 2.02 and 2.03RC1
When compiling any sketch under Linux, in all circumstances, for the UM Tiny S3, the board enters a continuous boot loop. For the UM Feather S3 board, SOME partitioning schemes will run, without boot looping.
Under Windows 10, everything compiles and loads perfectly well with no problems for either board.
For the UMFeather S3, under Linux, the schemes marked in red always fail.

For the UM Tiny S3, all schemes fail.
Sketch
Debug Message
Other Steps to Reproduce
Compile Blink sketch on Linux IDE results in failures to execute.
Compile Blink sketch on Windows IDE, results in success.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: