FX30 - How to view modem log events that occur before connection to DS?

Hi all,

I’m having a problem with my app development that I can’t figure out. Sometimes after I power cycle my F30XS-LTE, my app crashes. I connect to the modem via DS to determine what caused my app to crash, but the events are not recorded or logged that I can tell. If I restart my app from within DS, it runs with no problem.

How can I log/view events that happened before I connect with DS so that I can see what’s causing my app to crash and fix it?

Thanks!

Regards,

Eddie

Hi Eddie,
I recommend enabling the console logs to the serial port:
AT!MAPUART=16,1
AT!RESET

Connect the serial port to your PC and use a terminal application to view the logs upon the app crash. You can enable Legato debug logs as well.

BR,
Chris

Thanks Chris!

I was able to find what the problem was and correct it.

Regards,

Eddie