Technical information
MIDlet Manager
3-4 G24 KJAVA User’s Guide July 15, 2008
MIDlet Manager
The MIDlet Manager manages and executes the MIDlet. It is activated when KMgr pin is ON.
MIDlet Manager executes UM if it exists and valid, otherwise it executes the DM. In case DM is
invalid too, MIDlet Manager will move to "Fault" state (reports can be observed via AMS logs
mechanism) - waiting for MIDlet upgrade via JTool commands.
When MIDlet exits by invalid operations, it is marked with "Invalidity flag".
• DM - Flag is effective to the current session and will be cleared upon reset.
• UM - Flag is effective until UM upgrade (replacement).
Figure 3-2 demonstrates the MIDlet Manager flow:
Figure 3-2: MIDlet Manager Flow
Note:
• Switching to JTool mode, OTA download and Shutdown (reset, watchdog expired,
panic, …) are considered valid exit operations.
• Both UM and DM "invalidity flag" can be cleared using the JTool command:
"OEMconfig_clearFlag", see Table 4-1.
• Run fault information can be accessed via OSC.getProperty("oem.lastfault.running")
method.
Is GPIO ON?
Yes
Start procedure
No
Is UM Valid?
No
Is DM Valid?
Store Fault Info
Run UM
Yes
Run DM
Yes
No
Crashed MIDlet Recovery
JTOOL
Manager
Steady Fault
State
Check Exit
Type
Faulty
Mark UM/DM
as invalid
OTA
GPIO OFF
notification
GPIO ON
notification