Chapter 6
FreeMASTER Driver
6.1
Introduction
The FreeMASTER driver handles a communication between embedded application and the PC
running the FreeMASTER tool. A communication protocol and the FreeMASTER tool enables
real-time access to target resources, especially C-language variables and memory in general.
FreeMASTER protocol features:
•
Read/Write Access to any memory location on the target.
•
Atomic bit manipulation on target memory (bit-wise write access).
•
Oscilloscope access - optimized real time access to variables (up to 8 variables). Sample rate
depends on communication speed.
•
Recorder - access to fast transient recorder running on-board as a part of FreeMASTER driver.
Sample rate is limited by microcontroller CPU speed only. The length of data recorded depends on
amount of available memory, 64kB maximum.
•
Application commands - high level message delivery from PC to the application.
FreeMASTER driver features:
•
Full FreeMASTER protocol implementation.
•
SCI or JTAG as a native communication interface.
•
Ability to write-protect memory regions or individual variables.
•
Ability to deny access to unsafe memory.
•
Two ways of how to handle Application Commands
— Classic: the application polls the App.Command status to determine any command is pending.
— Callback: the application registers a callback function which is automatically invoked upon
reception of given command.
— The two approaches may be mixed in the application. Callback commands do not appear in the
polling mechanism.
In DSP56800E_Quick_Start r2.1, the FreeMASTER driver was completely re-written to enable
better code portability and memory protection features. The former Quick Start versions included
similar driver named "pc_master", which is still available for backward compatibility.
FREESCALE SEMICONDUCTOR
Targeting 56F8xxx Platform
6-1