Skip to content
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

UF2 file for ESP32 S3 #149

Open
Toogo opened this issue Aug 31, 2023 · 7 comments
Open

UF2 file for ESP32 S3 #149

Toogo opened this issue Aug 31, 2023 · 7 comments

Comments

@Toogo
Copy link

Toogo commented Aug 31, 2023

Can you publish a UF2 file to upload to an ESP32 Supreme.

Frank

@VirusPilot
Copy link

You can do it on your own, you just need to download the script from here:

https://github.com/microsoft/uf2/tree/master/utils

The command is the following:

uf2conv.py infile.bin -c -b 0x00 -f ESP32S3 -o outfile.uf2

But I don't really see a good reason to stay with uf2 only because the modules are shipped with SoftRF in a uf2 configuration. Simply put your Supreme board in Espressif Service Mode (press and keep holding BOOT, press and release RESET, thereafter release BOOT) and then flash GXAirCom directly - this only needs to be done once.

@Toogo
Copy link
Author

Toogo commented Aug 31, 2023

Ok, but what are te settings and Mem address, does it need to be on 80Mhz, QiO?
All these files?

boot_app0.bin
bootloader_dio_40m.bin
firmware_v5.4.0_T-Beam-S3Core.bin
partitions.bin
spiffs_v5.4.0.bin

@VirusPilot
Copy link

You need to flash in two steps:

  1. esptool --baud 921600 --chip esp32s3 -p /dev/your_serial_port write_flash 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware_v5.4.0_T-Beam-S3Core.bin
  2. esptool --baud 921600 --chip esp32s3 -p /dev/your_serial_port write_flash 0x7d0000 spiffs_v5.4.0.bin

Step 1 can also be performed inside PlatformIO

Step 2 is only required once, further firmware updates only require step 1 (unless the spiffs layout is changed)

@Toogo
Copy link
Author

Toogo commented Aug 31, 2023

I used the bootloader_dio_40m.bin (correct one?), which I could find in the BIN folder. I uploaded the files but It is not working, getting repeating USB connect and disconnect.

@VirusPilot
Copy link

Did you put the Supreme in service mode? I would simply try flashing with PlatformIO first ...

Not sure about the bootloader file ...

@Toogo
Copy link
Author

Toogo commented Sep 1, 2023

I did put it in Service mode, I will fiddle more :-), Thank you.

@slash-bit
Copy link

Hi , did that get resolved? I am also flashing Supreme ESP32 S3 in Service mode , using Espresif Flash Download tool. I tried with 2 step approach.
After restarting I am also getting COM4 on and off repeatedly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants