Technical information

Chapter 2: General Setup
July 15, 2008 G24 KJAVA Users Guide 2-5
MIDlet Downloading
Serial (UART2)
Downloading a MIDlet via serial communications can be done using two different applications.
The first is a multipurpose tool developed alongside the G24, called "Jadpur".
The second is a Motorola Java loader application tool called "MIDway".
Both tools are available in MOTODEV website [4].
Jadpur Setup Stages
:
Note: Jadpur requires MS .NET framework installed on your PC.
1. Connect G24 UART2 to PC COM via RS232 cable.
2. Switch the KMgr pin to JTool mode.
3. Run Jadpur, use the Ports button to select the desired COM port, and from "File"->Settings
-> Communication menu option to configure the COM port baudrate to 19200 bps.In the
Settings menu, check-mark the "One Click Download" option.
4. Use "File">"Open JAD" menu item to select the JAD file for download. JAD file properties
will be displayed in the upper right corner window frame.
5. Click the Download button, located in the bottom toolbar, to send the oemdownload
command and send JAD file.
6. MIDlet download and installation process reports are sent to terminal window, ending with
"MIDlet installation completed".
MIDway Setup Stages
:
1. Connect G24 UART2 to PC COM via RS232 cable.
2. Run MIDway and from "File"->Settings menu-> "Communication Settings" configure to
19200 bps. In the "AT command" box enter "OEMdownload" and click OK.
3. Switch the KMgr pin to JTool mode.
4. Select "File"->"Send AT command" menu item to send the download command to the
device.
5. Select "File">"Open JAD" menu item to select JAD file.
6. Select "File">"Send JAD" menu item to send the JAD file (JAR file will be sent
automatically).
Note: Using "AT command" box and “Debug Log” Tab in MIDway imitates the traditional
terminal use. It is possible to work separately - sending JTool commands through external
terminal and limiting the MIDway to handle the download process only.
Over the Air
Provides the ability to download and install content over a wireless network.
MIDlets stored on a web server can be downloaded to the unit in two ways:
1. Using the OTADownload API from a UM.