From 1547a8712f4a7ee53cd17e588a94f5c18682cbc4 Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Tue, 16 Feb 2016 16:12:47 -0800 Subject: [PATCH] doc : arduino_101 : Adding in step to power on device The current documentation seems to gloss over the fact that powering on the device before any JTAG operation is necessary. Change-Id: Id7a46b611ddba97fa72e0a3a33ddc189b1e4a7c4 Signed-off-by: Dan Kalowsky --- doc/board/arduino_101.rst | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/doc/board/arduino_101.rst b/doc/board/arduino_101.rst index 47a5a9d6795..92f9bb5a40a 100644 --- a/doc/board/arduino_101.rst +++ b/doc/board/arduino_101.rst @@ -140,7 +140,6 @@ Connecting JTAG to Arduino 101 - Making a Backup =============== @@ -157,6 +156,13 @@ IDE. On the Arduino 101, this option is not currently functional. #. Open a terminal window. +#. Verify the JTAG debugger is properly attached to the Arduino 101 board and + to the host computer. + +#. Connect the Arduino 101 to a power source. + +#. Open a terminal window + #. Source the :file:`zephyr-env.sh` file. #. Change directories to :file:`$ZEPHYR_BASE`. @@ -184,6 +190,13 @@ Restoring a Backup #. Open a terminal window. +#. Verify the JTAG debugger is properly attached to the Arduino 101 board and + to the host computer. + +#. Connect the Arduino 101 to a power source. + +#. Open a terminal window + #. Source the :file:`zephyr-env.sh` file. #. Change directories to :file:`$ZEPHYR_BASE`. @@ -233,6 +246,14 @@ needs to be flashed just once. To flash a Zephyr-compatible boot ROM, use bootloader can be found in the :file:`$ZEPHYR_BASE/boards/arduino_101/support/README` +#. Verify the JTAG debugger is properly attached to the Arduino 101 board and + to the host computer. + +#. Connect the Arduino 101 to a power source. + +#. The Zephyr Project has included a pre-compiled version of a bootloader for + general use on the Arduino 101. Details about how to build your own + .. code-block:: console $ cd $ZEPHYR_BASE/boards/arduino_101/support @@ -254,6 +275,10 @@ Flashing an ARC Kernel $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel $ make pristine && make BOARD=arduino_101_sss ARCH=arc +#. Verify the JTAG debugger is properly attached to the Arduino 101 board. + +#. Verify the Arduino 101 has power. + #. Once the image has been built, flash it with: .. code-block:: console @@ -281,6 +306,10 @@ Flashing an x86 Kernel $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel $ make pristine && make BOARD=arduino_101 ARCH=x86 +#. Verify the JTAG debugger is properly attached to the Arduino 101 board. + +#. Verify the Arduino 101 has power. + #. Once the image has been built, flash it with: .. code-block:: console