![]() ![]() Once completed, push the Reset button on the board to start the Java ME Embedded native platform. If the MDK-ARM tool requires a Flash Upgrade of the debugger, press OK to allow this, then restart the flash.bat when completed. The MDK-ARM tool notifies you when the download has completed. With the board connected, run the batch file flash.bat to download the distribution to the evaluation board. For example:Ĭ:\Keil\UV4\UV4.exe -f jmee.uvproj -o output.txt Ensure that this file contains the correct path to the MDK-ARM tool binary. On the desktop, check the file flash.bat inside the directory flash/ in the Oracle Java ME Embedded software. Switch the "BAT/3V3" jumper near the RS-232C connection on the board to the left (BAT) position, outlined in Figure 1-3.Ĭonnect the board to the Windows desktop computer as you did previously, including the network cable, the USB power cable, and the debugger with its USB cable. Insert the MicroSD card into the SD card slot on the board. If necessary, remove the MicroSD card from the SD card housing.īe sure that the board is not powered up by temporarily disconnecting the USB cables. (In Windows XP, for example, the Safely Remove Hardware tool is present in the lower right system tray near the clock.) Alternatively, you can select the SD card in the My Computer window, right click and select Eject. Use the Safely Remove Hardware function on the Windows desktop to remove the SD card from the computer. Use the following procedure to prepare the SD card and install the firmware: The Java ME Embedded distribution contains a utility that uses the MDK-ARM software to erase and flash the Oracle Java ME Embedded binary onto the evaluation board. Installing the Firmware on the Evaluation Board Set the property odt_run_on_start to true to enable ODD. If you plan to use on-device debugging (ODD) with an IDE, edit the file jwc_prop.ini in the java/ directory of the SD card. However, the watchdog may trigger while the board communicates with the Oracle ME SDK and NetBeans, especially during debugging. The watchdog resets the system if a program appears to be stuck. In the file platform.cfg, disable the watchdog by setting its value to false: The following is an example of configuring options for using static IP addresses: If your network uses static IP addresses, uncomment and edit the lines under Static IP Address and comment the line under Dynamic IP Address. If your network uses dynamic IP addresses, uncomment the DHCP line under Dynamic IP Address and comment the lines under Static IP Address. ![]() The MAC address must comply with the IEEE 802.3 standard. # - It should be unique value in the same LAN The following is an example of a MAC address: Open the file platform.cfg on the root directory of the SD card to specify the appropriate networking information for the device.Įdit the MAC address if you have more than one board in your local network or if you think that there is a MAC address conflict. Next, rename the file rtc_upd.cfg to rtc.cfg. For example, the file rtc_upd.cfg could contain the following: ![]() (This can be done by opening the file with a standard text editor.) Edit the current time and date that the device should use, in the format YYYY/MM/DD HH:MM:SS Zone. Once the formatting completes, copy all the files inside the directory sd_card/ in the Oracle Java ME Embedded distribution to the root directory of the SD card.Įdit the file rtc_upd.cfg on the root directory of the SD card. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |