\label{sec-background}
In this document, the term \emph{Rapid Prototyping Platform} denotes a
-hardware board and accompanying software. The hardware is
-\develkitname{} development kit from Texas Instruments based on ARM
-Cortex R4 safety microcontroller \mcuname{}. This MCU contains several
-protective mechanisms (two cores in lockstep, error correction
-mechanisms for SRAM and Flash memory, voltage monitoring, etc.) to
-fulfill the requirements for safety critical applications.
-See~\cite{\tgrefman} for details.
+hardware board and accompanying software. The hardware board is
+\tgtBoardName{} based on ARM Cortex R4 safety microcontroller
+\mcuname{}. This MCU contains several protective mechanisms (two cores
+in lockstep, error correction mechanisms for SRAM and Flash memory,
+voltage monitoring, etc.) to fulfill the requirements for safety
+critical applications. See~\cite{\tgrefman} for details.
In order to develop non-trivial applications for the RPP, an operating
system is necessary. The RPP is based on FreeRTOS -- a simple
\section{Hardware description}
\label{sec-hardware-description}
-This section provides a brief description of the Texas Instrument
-\develkitname{} development kit. For a more detailed information refer to
-\cite{\tghdkman}. The kit is depicted in
-Figure~\ref{fig-board_photo}.
+This section provides a brief description of the \tgtBoardName{}
+board. For a more detailed information refer to \cite{\tghdkman}. The
+kit is depicted in Figure~\ref{fig-board_photo}.
+% TODO: Fix this section - conditional compilation
\begin{figure}\begin{center}
\noindent
\includegraphics[width=300px]{images/board.png}
- \caption{The \develkitname{} kit \cite[p. 8]{\tghdkman}}
+ \caption{The \tgtBoardName{} \cite[p. 8]{\tghdkman}}
\label{fig-board_photo}
\end{center}\end{figure}
independently of how that are connected to the MCU, providing a single
unified API.
-Note that this functionality is not needed in the current version of
-for \develkitname, because all IOs are controlled directly by GPIO pins.
+Note that this functionality is not needed in the current version for
+\tgtBoardName, because all IOs are controlled directly by GPIO pins.
As a result, the higher layers do not have to know anything about the
wiring of the peripherals, they can just call read, write or configure
headers and other files necessary for building and downloading
Simulink models.
\item[rpp-test-sw] Contains an application for interactive testing and
- control of the \develkitname{} board over the serial interface. Details can be
+ control of the \tgtBoardName{} board over the serial interface. Details can be
found in Chapter~\ref{chap-rpp-test-software}.
The package also contains the binary of the RPP Library and all
\item Connect the Texas Instruments XDS100v2 USB emulator to the JTAG port.
\item Connect a USB cable to the XDS100v2 USB emulator and the development computer.
\else
- \item Connect the USB cable to the \develkitname{} board.
+ \item Connect the USB cable to the \tgtBoardName{} board.
\fi
\item Plug in the power supply.
\item In the Code Composer Studio click on the
Code $\rightarrow$ Build Model}.
\end{enumerate}
-To run the model on the \develkitname{} board continue with Section
+To run the model on the \tgtBoardName{} board continue with Section
\ref{sec-running-model-on-hw}.
\subsection{Running models on the RPP board}
\label{sec-running-model-on-hw}
-To run the model on the \develkitname{} hardware you have to enable the download
+To run the model on the \tgtBoardName{} hardware you have to enable the download
feature and build the model by following this procedure:
\begin{enumerate}
\item Open the model you want to run (see
\end{itemize}
Use GtkTerm on Linux or Bray Terminal on Windows for accessing the
-serial interface. On \develkitname{}, the serial line is tunneled over
-the USB. % See Section \ref{sec-hardware-description} for reference about
+serial interface. On \tgtBoardName{} board, the serial line is tunneled over
+the USB.
+% TODO: Conditional compilation
+ % See Section \ref{sec-hardware-description} for reference about
% the position of the serial interface connector on the RPP board.
\section{Bug reporting}
\item[refs/] Contains third party references, which license allows the
distribution.
\item[rpp/blocks] Contains the Simulink blocks specific to the
- \develkitname{} board and their sources (.c and .tlc files). When an
+ \tgtBoardName{} board and their sources (.c and .tlc files). When an
user calls \texttt{rpp\_setup.m}, these files are processed and
Simulink block library \texttt{rpp\_lib.slx} is created.
\item[rpp/blocks/tlc\_c]Contains the templates for C code generation from the