Gemalto is now part of the Thales Group, find out more.

You are here

BGS5T will reset on MIDlet stop | Thales IoT Developer Community

October 17, 2018 - 9:21am, 1364 views

Hello,

I have one MIDlet which has 5 diffrent configurations. In two of those configratuons module will reset if I stop the MIDlet or if MIDlet is stopped durring OTAP update, so OTAP won't finish.

What are the things that can reset the module when you are stopping the MIDlet? I have tryed killing all the threads except the thread(IMlet) which extends the MIDlet but it won't help. After IMlet thread starts all other threads and loads configuration her only job is to keep while loop runing, so that which toggles 1 GPIO port, to keep the HW watchdog runing. Watchdog resets the module after 3 minutes, so that can't be the problem.

I am trying to find watch diffrence could be between those configrations but I can't find it.

Program structure is like this:

Configurations only affect how is SerialThread working, how is data parsed and saved. There is no additional threads for any of the configurations,

Regards,

Jure