User's Manual
Bluegiga Technologies Oy
Page 54 of 71
Notes:
More details of iWRAP software and its features can be found from iWRAP User Guide,
which can be downloaded from
www.bluegiga.com.
9.2 VM Stack
PCM I/O
Host I/O
Radio
48kB RAM Baseband MCU
LC
LM
HCI
L2CAP
RFCOMM SDP
VM Application Software
UART
USB
Host
I/O
PCM
Figure 35: WRAP THOR VM Stack
The version of the stack firmware shown in Figure 35 requires no host processor (but can use a host
processor for debugging etc.). All software layers, including application software, run on the internal RISC
processor in a protected user software execution environment known as a Virtual Machine (VM).
The user may write custom application code to run on the BlueCore VM using BlueLabâ„¢ software
development kit (SDK) supplied with the Casira development kit, available separately from Bluegiga or directly
form CSR. This code will then execute alongside the main WRAP THOR firmware. The user is able to make
calls to the WRAP THOR firmware for various operations. WRAP THOR firmware is not equal to iWRAP
firmware, which on the contrary does not allow users to run their own firmware in the module.
The execution environment is structured so that the user application does not adversely affect the main
software routines, thus ensuring that the Bluetooth stack software component does not need re-qualification
when the application is changed.
Using the VM and the BlueLab SDK, the user is able to develop applications such as a cordless headset or
other profiles without the requirement of a host controller. BlueLab is supplied with example code including a
full implementation of the headset profile.
Notes: