stooged / ESP32-Server-900u

900 with usb emulation
188 stars 56 forks source link

Request #80

Closed neo305 closed 1 year ago

neo305 commented 1 year ago

He man sorry to bother you but would you have time to make a how to create bin file using flash download tool? https://gbatemp.net/threads/esp8266-how-to-make-a-ps4-exploit-bin-file-to-host-and-flash.576934/page-2 I use to be able to do esp8266 boards but this esp32-s2 is difficult

stooged commented 1 year ago

i am not quite sure what you mean...

are you looking for a compiled binary file to flash to the esp board?

neo305 commented 1 year ago

No i mean how to create a bin file from sketch. Cuz I can flash my sketch to board np but would like to convert it into a bin file to flash later as a faster method.

stooged commented 1 year ago

you create a bin file from a sketch by selecting "export compiled binary" in the arduino ide it will be created in the same folder the sketch is in.

neo305 commented 1 year ago

ok please tell me it is not that easy lol I try that and get a 847kb file ESP32_Server_900u.ino.esp32s2.bin. What are the steps? I select Upload then in Tools select Sketch Data Upload, then under Sketch select compile. Correct?

neo305 commented 1 year ago

Sketch uses 866950 bytes (82%) of program storage space. Maximum is 1048576 bytes. Global variables use 46912 bytes (14%) of dynamic memory, leaving 280768 bytes for local variables. Maximum is 327680 bytes.

stooged commented 1 year ago

ESP32_Server_900u.ino.esp32s2.bin

Is the compiled bin file.

You could use that bin to do an ota update or convert it to a .hex file and use tools to upload it to the board over serial.

https://linuxhint.com/create-bin-file-arduino-code/

There is another way to get the individual bins used for boot, code, partitions and upload them all separately but it is all much more complicated than a single bin

https://www.aranacorp.com/en/generating-and-uploading-bin-files-to-an-esp8266/amp/

neo305 commented 1 year ago

Thanks. Last thing. Any plans for the new RaspberryPi Pico W? Or can esp32 work on it?

stooged commented 1 year ago

https://github.com/stooged/Pico-Server-900