Module reset when both TCP and CGPS


#1

I am working on small appli based on Opus I QueryApp sample. I observed cyclic resets of the module when starting both the TCP socket and CGPS engine at the same moment, typically when first fix become available. The InitType is normal app reset, not exception. So I delayed CGPS start for some seconds and this cyclic reset disappeared.

However, I am still experiencing some random resets, sometimes a minute after the first fix, sometimes after half an hour or more. The power supply is OK.

Is there some problem with CGPS driver I am not aware of, or should I better look into my adaptation.


#2

Check your stack size(s) - WIP requires extra stack, and the C-GPS code seems to require a huge amount of stack.

I currently have 32K :exclamation: :open_mouth:

See also: https://forum.sierrawireless.com/t/undocumented-how-to-decide-stack-sizes/4950/1