Sun Microsystems 1 Wheelchair User Manual


 
Chapter 1 Installing the SATSA Reference Implementation 5
In order to load this EEPROM image into CRef, do the following:
1. Start up a Windows 2000 command shell window.
2. Enter the following command into the command prompt, without line breaks:
C:\>%JC_HOME%\bin\cref.exe -p <port number>-i
%MIDP_HOME%\bin\jc_eeprom_image
In the command line above, the <port number> should be one of the ports specified
in the com.sun.midp.io.j2me.apdu.hostsandports property in the
internal.config file. (For more information on the internal.config file, see
“The internal.config File in this chapter.)
Once you have entered the cref.exe command above, you should see output as
shown in CODE EXAMPLE 1.
CODE EXAMPLE 1 CRef Output
__________________________________________________________________
Java Card 2.2.1 C Reference Implementation Simulator (version 0.41)
32-bit Address Space implementation - no cryptography support
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Memory Configuration
Type Base Size MAX Addr
RAM 0x0 0x500 0x4ff
ROM 0x2000 0xa000 0xbfff
E2P 0x10020 0xffe0 0x1ffff
ROM Mask size = 0x578c 22412 bytes
Highest ROM address in mask = 0x778b 30603 bytes
Space available in ROM = 0x4874 18548 bytes
EEPROM (0xffe0 bytes) restored from file
“C:\satsa1.0\bin\jc_eeprom_image”
Using a pre-initialized Mask
__________________________________________________________________________
At this point, CRef is ready to receive commands and respond to MIDlet requests.
For more information on working with EEPROM images and CRef, see the
documentation for Java Card Platform Development Kit 2.2.1 Reference
Implementation.