Hi all,
I've been working on a long time project that uses the following libraries:
IntervalTimer - used for handling a GUI library timing mechanism
LVGL v7/8 - a GUI library
FlexCAN_t4 - CAN bus communication
ILI948x_t4_mm - my own display driver that uses FlexIO & DMA over an 8080 parallel interface
Teensy MicroMod running at 398Mhz
If using these four libraries at the same time, the Teensy will hang after working for 5-10 seconds.
If I disable the CAN transmission, it works fine.
If I disable the DMA transfer to the screen and use good old polling method, it works fine.
I am in the process of building a simplified program to demonstrate the behavior, but the real question is how do I debug this if the Teensy just hangs/freezes and stays in that state until it's powered down and back up?
I don't get any crashing, so crashReport is useless in this case, and USB comms die out when it freezes so I can't see where it's dying if I do use serial prints.
Any suggestions on how to tackle this?
I've been working on a long time project that uses the following libraries:
IntervalTimer - used for handling a GUI library timing mechanism
LVGL v7/8 - a GUI library
FlexCAN_t4 - CAN bus communication
ILI948x_t4_mm - my own display driver that uses FlexIO & DMA over an 8080 parallel interface
Teensy MicroMod running at 398Mhz
If using these four libraries at the same time, the Teensy will hang after working for 5-10 seconds.
If I disable the CAN transmission, it works fine.
If I disable the DMA transfer to the screen and use good old polling method, it works fine.
I am in the process of building a simplified program to demonstrate the behavior, but the real question is how do I debug this if the Teensy just hangs/freezes and stays in that state until it's powered down and back up?
I don't get any crashing, so crashReport is useless in this case, and USB comms die out when it freezes so I can't see where it's dying if I do use serial prints.
Any suggestions on how to tackle this?