From a1275ec0e73f0cdc83783a7ea634f962bd32eb02 Mon Sep 17 00:00:00 2001
From: MMS
+ +
+ ## Features Demonstrated - multiple cooperating active objects - immutable (const) events @@ -67,7 +74,7 @@ examples\arm-cm\dpp_nucleo-c031c6 | ``` -# Builing the example +# Building the example ### GNU/ARM - open terminal window @@ -106,6 +113,17 @@ in IAR EWARM IDE. Build/Debug/Download to the board from the IDE. - Change the build configuration in the "Project Configuration" drop-down menu. +# Uploading the Binary to the Board +The STM32 NUCLEO boards enumerate as a USB drive when connected to the host computer. The boards then can be programmed by **copying** the binary to that USB drive. This can be useful for the command-line GNU/ARM build. For example, to program the binary produced for the Debug configuration, you can type: + +``` +copy dbg\dpp-qk.bin E: +``` +NOTE: The above command assumes that the NUCLEO board enumerated as drive E:. Of course you need to adjust the command for your specific drive letter. + +Alternatively, if you use IDEs, such as KEIL-MDK or IAR EWARM, you can program the board from the IDE (e.g., by starting a debug session). + + # Tracing with QP/Spy When the board is flashed with the Spy build configuration, it produces the QP/Spy software tracing output to the built-in virtual COM port of the TivaC LauchPad board. The trace is binary rather than ASCII, and therefore requires a special host-based application called QSPY. diff --git a/examples/arm-cm/dpp_nucleo-c031c6/qp_arm-cm.jpg b/examples/arm-cm/dpp_nucleo-c031c6/qp_arm-cm.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5d206b5b91e0ca4ba98813822a8e0ce13b344da9 GIT binary patch literal 19322 zcmb5VWmr_-7dAX}cQ*(lFbGO_BQOIDFhj!+K{{pVPC-C&XdF66LUIUEx>LGD8UaB% zMIQg}hxdBEK5KtF>s)KCeRkdJ-s?OrKCS~OA?jdt02US&!1iAQJpKYusrlHr1OTuA zxBviv{okV%fGU6ppMa16pNNo?fTP<3O|~UQ7#6!)`_!m
zrk6~Ppf;9n*n4>D`$R2Tb={PJq}$vptPcm{Ey*=in)T}M*?~3F=005sd_eQCMs4jV
zyb}$0z<;~_%vwtPPWO_4y-K|nZiR)3>6rtGaxJ?rasvI3#@2>kOf}JU4FUND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