From: Fabien Le Mentec Date: Sun, 16 Oct 2011 08:24:45 +0000 (-0500) Subject: [update] documentation X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=fa4a8c1ec49e2c7d6801bbcf2cf170c3f127cf71;p=fw%2Fstlink [update] documentation --- diff --git a/doc/tutorial/tutorial.pdf b/doc/tutorial/tutorial.pdf index 622e60f..8bb15c7 100644 Binary files a/doc/tutorial/tutorial.pdf and b/doc/tutorial/tutorial.pdf differ diff --git a/doc/tutorial/tutorial.tex b/doc/tutorial/tutorial.tex index 53a220d..f177e2b 100644 --- a/doc/tutorial/tutorial.tex +++ b/doc/tutorial/tutorial.tex @@ -144,6 +144,19 @@ $> continue The board BLUE and GREEN leds should be blinking (those leds are near the user and reset buttons). +\newpage +\section{Notes} +\paragraph{} +By default, the disassemble command in GDB operates in ARM mode. The programs running on CORTEX-M3 +are compiled in THUMB mode. To correctly disassemble them under GDB, uses an odd address. For instance, +if you want to disassemble the code at 0x20000000, use:\\ +\begin{small} +\begin{lstlisting}[frame=tb] +$> disassemble 0x20000001 +\end{lstlisting} +\end{small} + + \newpage \section{References} \begin{itemize}