V1 Unpatched Switch ESP32-S3 payload injector

  • Thread starter Thread starter AmeliaFox
  • Start date Start date
  • Views Views 8,306
  • Replies Replies 71
  • Likes Likes 8
OK that's good so now we know what the issue is and we can narrow it down even further.

1: Either you have a wrong USB library installed or you need to update your boards.

First check you have this boards file installed - if not make sure you do.
View attachment 587616
i had 3.3.11. uninstalled and now have 3.3.7 installed. build and upload firmware again?
 
ok, so that didnt work but i noticed that it must have injected something because switch is still black screen but when i plug it in to my pc and check tegrarcmgui, it doesnt show connected in RCM Mode.

the file with 3.3.7 boards is 1612KB
the file with 3.3.11 boards was 1616KB
 
ok, so that didnt work but i noticed that it must have injected something because switch is still black screen but when i plug it in to my pc and check tegrarcmgui, it doesnt show connected in RCM Mode.

the file with 3.3.7 boards is 1612KB
the file with 3.3.11 boards was 1616KB
Reboot the switch and put it into RCM mode again and try injection again, sometimes the switch does that. Arduino is also a bit strange and doesn't delete cached files properly sometimes so close Arduino and remove all the folders in the sketches folder, then rebuild and flash the waveshare again.
 
  • Love
Reactions: impeeza
Reboot the switch and put it into RCM mode again and try injection again, sometimes the switch does that. Arduino is also a bit strange and doesn't delete cached files properly sometimes so close Arduino and remove all the folders in the sketches folder, then rebuild and flash the waveshare again.
it did the same thing again

edit:
checked the system information after that attempt and i see this:
1787628847389.png


edit2:
my bad on this, i built with PSRAM disabled this time. rebuilding now
 
Last edited by mcPickleRick,
it did the same thing again
OK, then what we need to do next is look at the sketch - at the top you'll see all the include files - these are the libraries we are using, so go through those and tell me what versions you have installed and then I'll compare with the ones I have installed. For example -
<ArduinoJson.h> I have 7.4.2
<ESPAsyncWebServer.h> - I have 3.10.0

Do that for all the libs we are using (ignore the ones that come pre-packaged in the src folder). I am going to my bed now, but if you make a list I will check them when I get up and see what you have different.
 
OK, then what we need to do next is look at the sketch - at the top you'll see all the include files - these are the libraries we are using, so go through those and tell me what versions you have installed and then I'll compare with the ones I have installed. For example -
<ArduinoJson.h> I have 7.4.2
<ESPAsyncWebServer.h> - I have 3.10.0

Do that for all the libs we are using (ignore the ones that come pre-packaged in the src folder). I am going to my bed now, but if you make a list I will check them when I get up and see what you have different.
looks like the issue was with the boards version. i updated the firmware again after build with PSRAM on and it works now. appreciate all the time you spent helping me work through this!
 
yup, ill do some more testing tomorrow with a full compile and flash with the 3.3.7 boards version to see if it works straight that way
It will work fine now, the bootloader comes with the boards file and we know that one works, the firmware file works and lastly the partitions is built when we compile so that's not an issue. If you have it working now, build for your other chips. Make sure to change boards definitions for the waveshare mini to - waveshare esp32-s3-zero or it won't work. Also I think the PSRAM is octal for that rather than quad, so you should make sure to test that when you select that you pick the one starting with O.
 
Last edited by snuffbot1,
It will work fine now, the bootloader comes with the boards file and we know that one works, the firmware file works and lastly the partitions is built when we compile so that's not an issue. If tou have it working now, build for your other chips. Make sure to change boards definitions for the waveshare mini to - wavesahre esp32-s3-zero or it won't work. Also I think the PSRAM is octal for that rather than quad, so you should make sure to test that when you select that you pick the one starting with Q.
i just updated the firmware for the waveshare tiny. i used the esp32s3 dev module as the board and the custom partitions.csv for the 8MB flash, PSRAM set to OPI PSRAM and it is working as well now!
 
i just updated the firmware for the waveshare tiny. i used the esp32s3 dev module as the board and the custom partitions.csv for the 8MB flash, PSRAM set to OPI PSRAM and it is working as well now!
Great, now I can sleep in peace. Well done, you got there in the end.
:)
Post automatically merged:

@mcPickleRick

I've attached a couple of files to show you how to code the buttons/touchscreen and show battery information for the waveshare 1.8 v1 touch. These can be used to help you create a UI for it and put in into standby/swap payloads etc from from touchscreen.

I can't post the dongle files with the touch/button code included as it doesn't belong to me and I don't want to piss mrdude off, but the code attached can be used to help you as I made it myself. You can give the code to AI and ask it to implement it into the dongle code and it should do it very quickly if you don't know how to code yourself. You should download and install the waveshare examples from waveshare site and put in your arduino folder so you have the correct libraries.
 

Attachments

Last edited by snuffbot1,

Site & Scene News

Popular threads in this forum