wip_netInit resets


#1

Hello all again.

I have a little problem. I developed an application for a GPRS communication using M1306B modem. It used to work, and I tried the app a few days ago and still was working good. Now I have changed a little code and it does not. wip_netInit function resets again and again. The problem is that the code I've added is run AFTER wip_netInit. I have looked wip manual but it doesn't give a clue on resetting. Could someone give me a hand with this?

Thank you very much in advance.


#2

Have you examined the Backtraces and/or TMT traces to see exactly what’s causing the reset?

The first things to check would be stack size and any out-of-memory problems…


#3

Hello.

My first thought was about stack size, but I just don't know how to change it, if that is possible. On the other hand, I have done lots of traces, but the only information I got to know was that wip_netInit keep restarting the program.

Thanks again.


#4

It’s in the ADL User Guide - near the beginning, under “mandatory variables”, IIRC