[update] documentation
[fw/stlink] / doc / tutorial / tutorial.tex
index 1e6959eb1858f80c2b40ea69a2bfda7ae60463e7..785d349d2db77c94b06c750320316316cf77e5da 100644 (file)
@@ -66,7 +66,10 @@ git clone https://github.com/texane/stlink stlink.git
 The GDB server is called st-util and is built using:\\
 \begin{small}
 \begin{lstlisting}[frame=tb]
-$> cd stlink.git; make ;
+$> cd stlink.git;
+$> make ;
+$> cd gdbserver ;
+$> make ;
 \end{lstlisting}
 \end{small}
 
@@ -108,7 +111,7 @@ $> $TOOLCHAIN_PATH/bin/arm-none-eabi-gdb
 From GDB, connect to the server using:\\
 \begin{small}
 \begin{lstlisting}[frame=tb]
-$> target extended-remote localhost:4242
+$> target extended localhost:4242
 \end{lstlisting}
 \end{small}
 
@@ -116,7 +119,7 @@ $> target extended-remote localhost:4242
 To load the program, use:\\
 \begin{small}
 \begin{lstlisting}[frame=tb]
-$> load program.elf
+$> load blink.elf
 \end{lstlisting}
 \end{small}
 
@@ -133,7 +136,9 @@ $> run
 \section{References}
 \begin{itemize}
 \item http://www.st.com/internet/mcu/product/248823.jsp\\
-  all the documentation related to STM32L discovery kit
+  documentation related to the STM32L mcu
+\item http://www.st.com/internet/evalboard/product/250990.jsp\\
+  documentation related to the STM32L discovery kit
 \end{itemize}
 
 \end{document}