PPUC / ZeDMD

A real DMD for virtual pinball machines and PPUC driven real pinball machines
GNU General Public License v2.0
25 stars 4 forks source link

try to load in esp32 s3 #63

Open shiryu55 opened 1 month ago

shiryu55 commented 1 month ago

supposedly loaded the firmware corresponding to my s3, ZeDMD-S3-N16R8_256x64 by this command line. esptool --chip esp32s3 write_flash 0x0 ZeDMD.bin I finished the firmware loading process correctly.

no response from the panels

mkalkbrenner commented 1 month ago

Are the wires correct? External Power supply for the panels?

shiryu55 commented 1 month ago

captura

I have it connected this way, plus the pins on the panel with a PC power supply However, with the normal ESP32 programmed with the app, the panels work perfectly, so it is not a power problem. It could be a firmware loading mode problem on the esp32 s3. I'm out of ideas.

shiryu55 commented 1 month ago

image As you can see in this other screenshot, I have no problem with the old esp32. perform firmware upload with ZeDMD_Updater.

It's something related to the S3 firmware or the way to load it.

mkalkbrenner commented 1 month ago

Are you sure that your S3 is a N16R8?

shiryu55 commented 1 month ago

image

yes , sure

shiryu55 commented 1 month ago

I don't know if you could try your compilation https://github.com/PPUC/ZeDMD/releases/download/v3.6.0/ZeDMD-S3-N16R8_256x64.zip with an S3. or some step-by-step guide on to compile. I tried to compile the source version 3.6 , platformio.ini modify [platformio] default_envs = S3-N16R8_256x64 but it generates a 300kb firm, I don't know what I'm doing wrong

mkalkbrenner commented 1 month ago

try to build from 'main' branch, not 3.6.0

shiryu55 commented 1 month ago

compile the main version and then 3.6 with the same result

shiryu55 commented 1 month ago

the link is not right Anyway, could you try the firm 3.60 that you compiled for the s3 and can you confirm how it works in case I make a mistake or is it the compiled file?

shiryu55 commented 1 month ago

a build guide would be great

shiryu55 commented 1 month ago

Recompile the main version with the new changes, I'm still the same doesn't show any signs of life the panels.

gustavoalara commented 1 month ago

Hi @mkalkbrenner

Same for me, I'm trying to load the firmware to the same S3 Shiryu55 uses. The result are the same. No problem uploading using the right USB conector on the S3 but when connecting to the left connector the panel doesn't show anything and the ESP32 continuosly connects and disconnects on Windows.

mkalkbrenner commented 1 month ago

S3 support is still experimental and has known issues, especially with USB. If you want to test it, you should build and flash the latest version of the main branch. That could be done from VSCode with platformio plugin or via the platformio command line tool. Or download the latest github action artifact and flash it using the the esptool: https://github.com/PPUC/ZeDMD/actions/runs/11259693865 If you don't know how to do that, it might be better to wait for a release.

shiryu55 commented 1 week ago

I recently saw the new revision, 4.0.
I'll try if it works for me

mkalkbrenner commented 1 week ago

we had an issue with the bootloader in the bin files for S3. Should be fixed now.

riyadchowdhury commented 6 days ago

Btw in the above screenshot C pin is connected to GPIO46 but if you look at https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/blob/master/src/platforms/esp32s3/esp32s3-default-pins.hpp C pin is actually on GPIO 3. I was having issues until I connected 3 to GPIO3 on a esp32-s3

shiryu55 commented 6 days ago

“Hello Markus,

I’ve tested the new firmware version (4.0.2) with the ESP32, and everything is perfect; the improvement in smoothness is very noticeable.

However, with the S3, I’m still having issues and can’t get anything to display on the matrices.

These are the steps I’m following:

  1. This is the pin assignment I’ve set up (photo attached).
  2. I connect the USB to the left port of the S3 and load the firmware using the latest version of esptool (4.8.1)
  3. The firmware seems to load correctly (screenshot attached).
  4. I connect the USB to the right port of the S3. But nothing is displayed on the screen.”

imageimage image

mkalkbrenner commented 5 days ago

What happens with the left one?

shiryu55 commented 5 days ago

It doesn’t matter if I connect the right or left USB; it doesn’t display any information on the matrices.

However, I soldered a new S3 board without Dupont connectors, using a direct cable, with the same result.

I’m not sure if my mistake is in how I’m uploading the firmware to the S3.