PlummersSoftwareLLC / NightDriverStrip

NightDriver client for ESP32
https://plummerssoftwarellc.github.io/NightDriverStrip/
GNU General Public License v3.0
1.29k stars 210 forks source link

New M5StickC Plus2 doesn't work #618

Open platini76 opened 3 months ago

platini76 commented 3 months ago

I tried to upload project as old M5stickc plus and did not work, don't reach wifi config. someone has experience ?

rbergen commented 3 months ago

@platini76 Personally, I have no experience with the M5StickC Plus2. However, to narrow the field of investigation into what it is you're running into, it would be helpful if you could provide answers to the following questions:

  1. Do I understand correctly that you are using the WebInstaller to upload the image?
  2. What project/configuration are you trying to flash? I know the device you mentioned is the M5StickC Plus, but I'm not yet sure which of the projects that are available for that device.
  3. Do you see any activity on the device's built-in LCD screen after the upload?
platini76 commented 2 months ago

hello, I did notm find any particular project... I simply flash using web installer.. can you suggest particular project?

rbergen commented 2 months ago

As far as I'm aware, you must select a project before you can try to flash. This is the relevant section on the WebInstaller page:

image

As you can see, you have to select a device in the first drop-down - I understand from your first message that you selected "M5StickC Plus" there, as shown in the picture. You then have to select a project in the second drop-down; if you don't the CONNECT button you have to push to start the flash doesn't even show underneath. So, my question is what project you selected there when you got stuck.

I can't really recommend a project without knowing what it is you are trying to do - i.e. what you are flashing the your M5StickC Plus2 for.

platini76 commented 2 months ago

I select m5stick plus... it flashed... correctly, and when arrivate to next page... it say again ..... flash... dont recognize any flashed devices for wifi config

rbergen commented 2 months ago

Can you maybe provide screen shots of what you're seeing?

platini76 commented 2 months ago

sure!

Screenshot 2024-04-09 alle 19 43 05 Screenshot 2024-04-09 alle 19 43 26 Screenshot 2024-04-09 alle 19 44 36 Screenshot 2024-04-09 alle 19 46 00 Screenshot 2024-04-09 alle 19 46 25 Screenshot 2024-04-09 alle 19 46 54
rbergen commented 2 months ago

Thank you, that's very helpful. Simply put, the last screenshot shows me that the M5StickC Plus2 isn't booting the image you flashed - or even trying to. I think this means the M5StickC Plus2 cannot be made to work using an image for a "plain" M5StickC Plus. Which means we'll have to wait for someone to add support for the Plus2 to the project.

platini76 commented 2 months ago

thank you... hope someone will do it quickly...

rbergen commented 2 months ago

@platini76 I've done some more Googling about this, and it seems that the first hurdle is adding support for the M5StickC Plus2 to PlatformIO. There is an issue on their espressif32 project repo requesting exactly that: platformio/platform-espressif32#1346.

rbergen commented 8 hours ago

@platini76 It turns out that @davepl found a way to add support for the Plus2 to NightDriverStrip without requiring "official" support in PlatformIO, and made the non-trivial effort required to apply the necessary changes to the codebase.

He discusses this in #641. As he also mentions, he has now added this support to his fork (at https://github.com/davepl/NightDriverStrip); you can pull and test the Plus2 support from there for now.

A merge of the relevant code into the main tree here will follow at a later time.