X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Ftutorial%2Ftutorial.tex;fp=doc%2Ftutorial%2Ftutorial.tex;h=1bd06c4e7fb07513f36df806ce848f91b3d209aa;hb=73765950a6e995c004706df37aaf9507739c468b;hp=1d16735dadb66a943532cff7716e1cdd9eded5e9;hpb=6a7d5855898d8088b631e4aea5c2c7454edb8920;p=fw%2Fstlink diff --git a/doc/tutorial/tutorial.tex b/doc/tutorial/tutorial.tex index 1d16735..1bd06c4 100644 --- a/doc/tutorial/tutorial.tex +++ b/doc/tutorial/tutorial.tex @@ -71,15 +71,19 @@ git clone https://github.com/texane/stlink stlink.git \end{small} \paragraph{} -The GDB server is called st-util and is built using:\\ +Everything can be built from the top directory:\\ \begin{small} \begin{lstlisting}[frame=tb] -$> cd stlink.git; -$> make ; -$> cd gdbserver ; +$> cd stlink.git ; $> make ; \end{lstlisting} \end{small} +It includes: +\begin{itemize} +\item a communication library (stlink.git/libstlink.a), +\item a GDB server (stlink.git/gdbserver/st-util), +\item a flash manipulation tool (stlink.git/flash/flash). +\end{itemize} \newpage @@ -152,8 +156,8 @@ Flash memory reading and writing is done by a separate tool. A binary running in be linked against address 0x8000000. The flash tool is then used as shown below:\\ \begin{small} \begin{lstlisting}[frame=tb] -# build the flash tool -$> cd stlink.git/flash ; make ; +# change to the flash tool directory +$> cd stlink.git/flash ; # stlinkv1 command to read 4096 from flash into out.bin $> ./flash read /dev/sg2 out.bin 0x8000000 4096