PicoMite V6.00.02 release candidates - all versions
Author
Message
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6171
Posted: 12:08pm 08 May 2025
Hi Lyle,
Thanks for confirming. I have analyzed the I2C communication, and have to re-confirm that all I2C communication is sound. There is no corrupted packets, and the WII Classic response is consistent until the breakdown of the pico. I am testing on a 2040, and the problem shows after 9.2 minutes (between 9.3 and 9.1). Also with corrupted VGA screen.
I tend to agree with you that it looks like the I2C buffer is exceeding it's boundaries, and is writing into VGA screen memory, or some in between screen buffer (because in my case, 30 seconds before crash, there is a clear of the VGA screen, then the program runs fine for another 10 seconds, then corrupted data is shown on screen.)
Tonight I plan to run the program with display of mm.info(system heap) and mm.info(stack). I already know it is not heap, but I did not check system heap.
The RTC on auto mode, also accesses the same I2C bus. And I was afraid for a bus conflict. But in my testing it shows that the RTC is read after power up immediately, and then after 1 hour. But the system crashes at 9 minutes already, so I think that is not the issue here. But it could be something to verify anyway.