aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2019-07-17 15:09:00 +0800
committerDavid Hu <david.hu@arm.com>2019-07-18 06:36:22 +0000
commit5d08e2fd4e5ecad637511af4dc2a85546380b563 (patch)
treedcdb1b5342daa3f1c6b338219e4ee8bfcb0c30f1
parent9670199dc883b6f13aa74637292b0dba363d52ba (diff)
downloadtrusted-firmware-m-5d08e2fd4e5ecad637511af4dc2a85546380b563.tar.gz
Docs: Adjust command and variable format in Cypress PSoC 6 specificsdualcpu_l1_beta_v01
Change some variables into code format. Remove the extra spaces between options in programming commands. Change-Id: I0bc4f2bdd04290f494260aaa562cfbe00bfc2552 Signed-off-by: David Hu <david.hu@arm.com>
-rw-r--r--platform/ext/target/psoc6/cypress_psoc_6_spec.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/ext/target/psoc6/cypress_psoc_6_spec.rst b/platform/ext/target/psoc6/cypress_psoc_6_spec.rst
index 94b37b7b1..0e31011e6 100644
--- a/platform/ext/target/psoc6/cypress_psoc_6_spec.rst
+++ b/platform/ext/target/psoc6/cypress_psoc_6_spec.rst
@@ -119,8 +119,8 @@ After building, the mcuboot image must be signed using the ModusToolbox tools
and the signed mcuboot image and the TFM image must be programmed into flash
memory on the PSoC 6 device.
-The instructions below assume that you have set up an environment variable CYSDK
-that points to your ModusToolbox installation, for example like this:
+The instructions below assume that you have set up an environment variable
+``CYSDK`` that points to your ModusToolbox installation, for example like this:
.. code-block:: bash
@@ -130,9 +130,9 @@ To program the primary image to the device:
.. code-block:: bash
- ${CYSDK}/tools/openocd-2.1/bin/openocd -s "${CYSDK}/tools/openocd-2.1/scripts" -c "source [find interface/kitprog3.cfg]" -c "source [find target/psoc6.cfg]" -c "program ./cmake_psoc_cm4/tfm_sign.bin offset 0x10020000 verify" -c "reset_config srst_only;psoc6.dap dpreg 0x04 0x00;shutdown"
+ ${CYSDK}/tools/openocd-2.1/bin/openocd -s "${CYSDK}/tools/openocd-2.1/scripts" -c "source [find interface/kitprog3.cfg]" -c "source [find target/psoc6.cfg]" -c "program ./cmake_psoc_cm4/tfm_sign.bin offset 0x10020000 verify" -c "reset_config srst_only;psoc6.dap dpreg 0x04 0x00;shutdown"
-Note that the "0x10020000" in the command above must match the start address
+Note that the ``0x10020000`` in the command above must match the start address
of the secure primary image specified in the file::
platform/ext/target/psoc6/partition/flash_layout.h
@@ -149,7 +149,7 @@ To program the signed mcuboot image to the device:
.. code-block:: bash
- ${CYSDK}/tools/openocd-2.1/bin/openocd -s "${CYSDK}/tools/openocd-2.1/scripts" -c "source [find interface/kitprog3.cfg]" -c "source [find target/psoc6.cfg]" -c "program ./cmake_psoc_cm0p/mcuboot_signed.elf verify" -c "reset_config srst_only;reset run;psoc6.dap dpreg 0x04 0x00;shutdown"
+ ${CYSDK}/tools/openocd-2.1/bin/openocd -s "${CYSDK}/tools/openocd-2.1/scripts" -c "source [find interface/kitprog3.cfg]" -c "source [find target/psoc6.cfg]" -c "program ./cmake_psoc_cm0p/mcuboot_signed.elf verify" -c "reset_config srst_only;reset run;psoc6.dap dpreg 0x04 0x00;shutdown"
Alternatively, it is possible to program the device using ModusToolbox. For
details, please refer to the ModusToolbox documentation.