@mdevel1 After your message, I opened my M5Stick-C too, but in my case, the magnets is in a properly slots. I didn't found any problems after a quick look in the board and components.
If anyone have any idea about how to procedure, I'll appreciate!
Thank you in advance and thank you for share with us.
I just experimented with how to solve the problem.
(1) I disconnect the base of M5Stack Fire (it is labeled M5GO) and uploaded the same program many times (until the Fire became "hot condition"). It seemed OK.
(2) I docked the Fire to the original base and uploaded the same program many times and again the issue appeared.
At least in this stage, I can conclude (without knowing the reason) that the base of the M5Stack Fire (M5GO) may be the cause of the problem. The other possibility is that by disconnecting the base, no power is supplied to the core so that everything is reset and things go to normal. I do not know.
I just thought, you were using the ui flow firmware previously right. I think there is an issue if you have flashed one of the micropython firmwares and try to use arduino afterwards without completely wiping the memory. Please try to use the erase tool in the M5 burner tool and then try and flash an arduino sketch again
Well, I have a couple of spots in my project that a button press would make things very easy. For example, I'm using M5ez for my interface, and use Blynk to display events on the M5 screen. I have backlight timeout set to 30 seconds. A new event doesn't turn the backlight back on, but a keypress does. So, in my if (newEvent) loop, I could have a M5.BtnA.press(), that would wake up the screen. Can I go into the M5ez library, figure out what happens after a real button press to wake the screen and replicate that? Yes, of course, and I have certainly tried that, but some of the items that need to be set are private, so calling them from a main loop is problematic. Rewriting that stuff so it's all public might work, but that solves one problem. I'd also like menus to time out - if there's no activity after going into a menu, I'd like it to time out and go back to the main menu. Again, code can certainly make that happen, but a M5.BtnA.press() would be a lot easier to implement... Does this make sense?
This means the M5Stack is officially certified for use with Microsoft Azure cloud services.
Below is a link to a video demo showing how to connect M5Stack to Azure using Mongoose OS. This video is targeted at Mac users but Mongoose OS can also be used on Windows or Linux.
Details on Mongoose OS: https://mongoose-os.com/
Details on Microsoft - Azure IoT Fundamentals: https://docs.microsoft.com/en-us/azure/iot-fundamentals/