Tool/software: Code Composer Studio
Hi
I have coded up firmware based on TI-RTOS with USB which interface (SPI) with external dual ADC (24 bits) which captures data into RAM, process data stream and placed into USB firmware from the TI library.
It was running very well but it tends to crash after 4-48 hours (unpredictable timing) while streaming data to Laptop.
I have not yet ruled out whether this issue is USB related or not.
I welcome any suggestions on how to debug this issue, how to trap these crashes, especially working with 3rd party library and my firmware. Is there a useful strategy to look into RTOS, USB to detect this event.
I have been working on TI-RTOS from CC2640R2 and this device for 4-5 years so I'm pretty experienced but I have not done much for some advanced debugging level that I'm learning more.
In case there som bugs in TI library, what the best course of action and how to avoid bug fixed being overwritten from an update?
One thing I do notice the RTOS and TI library for TM4C is quite old 2017 and has not been updated for some time, I can't help wondering what this really means for the future of the TM4C family.
R.