Espeasy on M5Stack

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
giobbe
Normal user
Posts: 19
Joined: 20 Mar 2017, 10:29

Espeasy on M5Stack

#1 Post by giobbe » 06 Nov 2021, 19:02

Is possible flash M5STACK and M5STICK with Espeasy??
Thanks
Giobbe

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Espeasy on M5Stack

#2 Post by Ath » 06 Nov 2021, 19:38

Yes, M5Stack should be able to flash, but not all hardware in the M5Stack line is currently supported, although that depends on the model you have ;)
/Ton (PayPal.me)

giobbe
Normal user
Posts: 19
Joined: 20 Mar 2017, 10:29

Re: Espeasy on M5Stack

#3 Post by giobbe » 07 Nov 2021, 15:23

Thanks,
I have a M5STACK Basic (ESP32).
Are displays and buttons supported?
How do you proceed with the flash?
Which version to install?
Thanks
Giobbe

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Espeasy on M5Stack

#4 Post by Ath » 07 Nov 2021, 15:37

Did a quick check on the interwebz.
- The display controller seems to be an ILI9342, and that is not officially supported by ESPEasy, only the ILI9341 is supported atm. Not sure what the exact difference is though, have to do some research (probably needs a somewhat different initialization).
- Buttons are connected to GPIO pins, and that is fully supported by ESPEasy.
- The speaker I didn't find any technical docs on yet, needs more investigation.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Espeasy on M5Stack

#5 Post by Ath » 07 Nov 2021, 16:39

The official M5Stack documentation should be the best place to find more info :D
https://docs.m5stack.com/en/core/basic
- Speaker is on GPIO25, not sure what the best way to use that would be, probably the 'tone' command could be of help
- IP5306 is not supported, AFAIK
- I2S is not supported in ESPEasy (but I2C is)
- Serial port is supported for multiple ports and protocols
- Bluetooth is not supported in ESPEasy.

I think that sums it up for the hardware.
/Ton (PayPal.me)

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Espeasy on M5Stack

#6 Post by ManS-H » 07 Nov 2021, 18:33


giobbe
Normal user
Posts: 19
Joined: 20 Mar 2017, 10:29

Re: Espeasy on M5Stack

#7 Post by giobbe » 08 Nov 2021, 09:29

How do you proceed with the flash?
Which version to install?
Thanks
Giobbe

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Espeasy on M5Stack

#8 Post by Ath » 08 Nov 2021, 10:53

giobbe wrote: 08 Nov 2021, 09:29 How do you proceed with the flash?
Which version to install?
You should use the latest available release, whenever possible.

For Linux/Mac you will have to use esptool.py to flash. (don't have much knowledge about that, sorry).
When on Windows you can use the Flash tool included with the full release download, for ESP32 it is often better to use the Espressif flash tool (separate download from the Espressif site). For an initial load, always flash the ESP_Easy...-factory.bin variant on address 0x0, and no extra .bin files as the required bootloader and partition stuff is included in that. After that, you can update using the Update Firmware feature of the web interface, to upload a .bin without -factory in the name. (Be sure to use the same size like 4M316k or 16M1M etc. depending on the initial load, or you will lose your configuration. For a 16MB M5Stack you can use one of the MAX builds, that have all available plugins and options enabled. No need to use an _ETH version, as I haven't seen an M5Stack with wired Ethernet interface yet.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Espeasy on M5Stack

#9 Post by TD-er » 08 Nov 2021, 20:07

You can also try to flash using the web flasher (only tested on Chrome)
https://td-er.nl/ESPEasy/

martinus
Normal user
Posts: 129
Joined: 15 Feb 2020, 16:57

Re: Espeasy on M5Stack

#10 Post by martinus » 07 Dec 2021, 11:27

I'm using M5Stack modules with the official M5Stack library (included in custom ESPEasy firmware).
But that library is also using an ILI9341 driver. So plugin P095 may also work. But you would have to figure out the exact pin config for the M5Stack display

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests