Sun Microsystems V2.0 Welding System User Manual


 
52
Memory usage
The Sun SPOT flash memory runs from 0x10000000 to 0x10400000 (4M bytes), and is organized
as 8 x 8Kb followed by 62 x 64Kb followed by 8 x 8Kb sectors. The flash memory is allocated as
follows:
Start address Space Use
0x10000000 64Kb Bootloader
0x10010000 256Kb VM executable
0x10050000 512Kb Squawk bootstrap suite bytecodes
0x100D0000 448Kb Library suite bytecodes
0x10140000 384Kb Application slot 1
0x101A0000 384Kb Application slot 2
0x10200000 2Mb less 16Kb Available for data storage
0x103FC000 16Kb Persistent properties and config page
The Sun SPOT external RAM is mapped to run from 0x20000000 to 0x20080000 (512K bytes).
SDK files
The SDK installer places a number of files and directories into the SDK directory specified during
installation. This section explains the purpose of each file and directory.
sunspot-sdk
Ant [Private - holds ant scripts]
Arm Directory holding binary files specific to the Sun SPOT
Bin Host-specific executables
Doc Documentation
Lib Various jar files
upgrade Files used to upgrade firmware during “ant upgrade”
Src Library source code
Tests Test programs
build.xml The master ant build script
Default.properties Default property settings for the master ant build script
index.html Index into supplied documentation
SunSPOT.inf [Private – a copy of the Windows USB device
information file, which should not be needed by the user]
version.properties The version of the installed SDK
Contents of the arm directory:
bootloader-spot.bin The ready-to-flash version of the bootloader for the Sun SPOT
device.
spotlib.suite The base Sun SPOT device library suite.
squawk.suite The bootstrap suite used when creating Sun SPOT application
suites.
transducerlib.suite A Sun SPOT library suite containing the base library, the
comms stack and the eDemo board library.
vm-spot.bin The ready-to-flash version of the VM executable.
Contents of the lib directory: