I am writing an Python application for the M5 TAB5, which was running well but I am now getting memory errors
I am not using any networking in the application. before upgrading 2.3.6 Hotfix 2 it was fine
I am writing an Python application for the M5 TAB5, which was running well but I am now getting memory errors
I am not using any networking in the application. before upgrading 2.3.6 Hotfix 2 it was fine
@scroggyg I rewired the board to Port A and the code works. There seems to be an issue connecting an I2C device on the ExtPort2, the python crashes when the Extio2 is connected. That is all I have tested, there may be other issues.
@scroggyg Felix, I ran your code, but changed to the internal I2C G31 & G32 the bus I am running the M0 from and it crashes.
I have made a board using the M0 from the EXtio2, I am using this successfully with other TAB5s
Thanks Felix, I updated the TAB5 to V2.3.6-hotfix2 but the problem remains. As a trest I write once a second and that works, when I then call it in another function it panics
This code panics
This code works
Any help would be appreciated
I was trying to write an output on EXTIo2 and I got a python crash and a dump.
I then tried to update the TAB5 to V2.3.6-hotfix2.
The device programmed and the default UIFlow screen is showing, but now I cannot program the device.
I reverted to 2.3.5 and I can program the TAB5
I am now working with M5UI, and I am getting a core panic. The message is. The device resets and then the application runs, but the terminal has disconnected and print to the terminal no longer works.
Surely I shouldn't be able to create a core panic using UIFlow2?

I have recently updated to the latest firmware.
I have a relatively simple program that uses a watchdog, and it is now reasonably impossible to reprogram it.
To recover I have to use M5Burner, and that takes several attempts.
It would seem that the watchdog is remaining active during the programming phase, causing the TAB5 to reset mid programming?
Has anyone else seen this?
I do think it is too fragile to be of any practical use, I am trying to surface mount a TAB5 in a 3D printed bezel but as all the other connections are on the side, it isn't easy
I did a check and set scaling to 1 and the display is properly shown i.e. as 9:59 etc
I had crested an application usingthe Tough, but I was asked if I could use a larger screen. The application is very simple, but part of it displays a countdown clock (mins : Secs). As the fonts supplied are quite small I had to scale the text. On the Tough (without Scaling) worked fine on the TAB5 when the time changes to 9:59 it shows 9:590 and the zero persists. Is there a way to format the clock in UIFlow so it would show 09:59?
I would definitely a hardware problem, probably due to the connection to the display.
Also on the point of heat, the TAB5 seems to draw nearly almost 3 Watts, probably mostly on the larger display back light. I have had great problems powering it because of this. at 12 Volts on the HVIN it draws up to 240mA.
Thanks Robski, this is close, but not really the same thing, The Commu module allows native, and simpler RS485, but I will use Modbus.
Thanks
I am trying to use RS485 on the TAB5 main board, whilst there is a connector and SIT3088 I can't find UIFlow support for it, there is for the UART and CAN, but not RS485, have I missed something?
Thanks
I ended up making a PCB for this, I don't think the fine pitch connectors are sufficiently robust, so I connected to a simple PCB and then used a DC Jack plug on the board. MY 3D enclosure then mounts, via a laser cut plate to a UK double gang backbox
You would need to strap the board to do this. I created a board and getting it made at JLCPCB. The CANPwr board is quite expensive, reasonably enough, it is electrically isolated.
I have now bought both the PWRCAN and the Commu modules, neither apply power to SYSVIN or they do generate 5V on pin 28, which needs to be switched. I am using the TAB5 on a UK double gang plate with a 3D printed Bezel, you can't plug anything into the sides, as they would get removed.
It isn't practical to use the ExtPort2, as I would need to create a custom PCB to connect between the fine pitch fines to add a robust connector, are there any other options to power the TAB5 from behind?
Is there a Comms module ( I what to talk between 2 TAB5s over RS485) with a connector I can power the TAB5 from?
Thanks
I assume then the correct way to do this would be to use ExtPort2 and connect up to 12V through HVIN?
I have 2 Tab5 which I am powering through the Port A I2C connector. They won't power up when power cycled. IF I connect the USB C to aa hub, wait a few seconds, they then power up and stayed powered up. I have previously powered Tough boards through the I2C and it all worked fine.
@felmue Thanks Guys, I assume the switch is necessary to switch off the module, and save power when running on battery?
I am trying to implement a watchdog timer on the M5Tough, but it doesn't seem to be supported.
Surely this is a basic function on an Industrial device, can this be supported, I tried adding it in micropython, but I assume the class is not supported