Hello Community,
iam currently experimenting and testing with a now very complex led-animation sketch -
you can find the hole project at https://github.com/s-light/LEDMatrix_animation_base
this evening i went full power on and implemented lots of things and rearranged code...
now i have the phänomen that the ItsyBitsy M4 (or better the SAMD 51) processor is crashing after **~135s**
crash means the SPI output shuts down.
uc usb does stay connected (i have looked in my dmesg log)
but the serial is unresponsive (also the bootloader sequence does not work)
i have to push the reset button - then it is all back to normal
tomorrow i will try and check if i find the commit that introduced this...
i think it is some *overflow* or not allowed access some where..
but time-wise there is no event i know of that could trigger this..
are there any other options to debug something like this?
what does the *Debug - On* option in the Arduino Tools Menu mean or do?
i hope you can give me any kind of tips :-)
thanks in advance!
sunny greeting
stefan
ItsyBits M4 crashes after ~135 seconds
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: ItsyBits M4 crashes after ~135 seconds
For complex programs like that, you can either try to go back in time and find the change that introduced the problem. Or start selectively disabling parts of the code until you find the minimum subset that still exhibits the problem.
- slight
- Posts: 120
- Joined: Wed Sep 12, 2012 2:23 am
Re: ItsyBits M4 crashes after ~135 seconds
thanks @adafruit_support_bill -
i will try both...
what i already did is - i tried another board with another (similar) hw setup.
and tried with an ESP32 as uC -
and in both cases the crash occurs.
so it seems it is not a hw / electrical setup thing..
next thing i try is to go back in time...
i will try both...
what i already did is - i tried another board with another (similar) hw setup.
and tried with an ESP32 as uC -
and in both cases the crash occurs.
so it seems it is not a hw / electrical setup thing..
next thing i try is to go back in time...
Please be positive and constructive with your questions and comments.