From 81ed5bce3391528ae08c6725712de3139dca13a3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 8 Oct 2011 15:25:53 +0200 Subject: [PATCH] doc: Introduce a chapter on the firmware Begin to document how to get the firmware, how to build it, how to flash it, how to hack on it. Some parts are not there yet. --- docs/chapters/firmware.xml | 44 ++++++++++++++++++++++++++++++++++++++ docs/usermanual.xml | 8 +++++++ 2 files changed, 52 insertions(+) create mode 100644 docs/chapters/firmware.xml diff --git a/docs/chapters/firmware.xml b/docs/chapters/firmware.xml new file mode 100644 index 0000000..a753b62 --- /dev/null +++ b/docs/chapters/firmware.xml @@ -0,0 +1,44 @@ + + + Getting and Building the Firmware +
+ Introduction + The Firmware is the Software that is running on the + Microcontroller of the SIMtrace hardware. The Firmware itself + consists out of a couple of components for different parts of + the system. Besides the source code for the firmware you will + also need to have an ARM Cross-Compile Toolchain, a copy of the + SAM7 utilities to initially program the device or recover from + a fatal error and dfu-util to update the main part of the firmware + using the Device Firmware Update (DFU) mode. +
+ +
+ Getting and Building the Firmware + + + The SIMtrace firmware is based on the OpenPCD RFID Reader Firmware and the + SIMtrace firmware code is located in the OpenPCD repository. You can use the + git to clone the repository. + +$ git clone git://git.gnumonks.org/openpcd.git + + + + + + The firmware consists out of two separate binaries that will be concatted + and flashed into the NOR flash of the microcontroller. The main part is the dfu + program that will handle basic USB functionality and respond to Device Firmware + Update (DFU) requests to allow to update the firmware in the NOR or execute + software in RAM. + +$ cd openpcd/firmware +$ make -f Makefile.dfu BOARD=SIMTRACE +$ make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace +$ cat dfu.bin main_simtrace.bin > main_simtrace.samba +$ cd ../.. + + +
+
diff --git a/docs/usermanual.xml b/docs/usermanual.xml index 626b1dd..3c85255 100644 --- a/docs/usermanual.xml +++ b/docs/usermanual.xml @@ -10,6 +10,7 @@ + ]> @@ -34,6 +35,12 @@ z Document building wireshark + + 0.0.4 + 8 October 2011 + z + Document Firmware + SIMtrace Usermanual @@ -57,6 +64,7 @@ &chapter-hw-details; &chapter-using-sniff; &chapter-building; + &chapter-firmware; &chapter-appendix;