diff --git a/examples/arm-cm/dpp_nucleo-c031c6/README.md b/examples/arm-cm/dpp_nucleo-c031c6/README.md index 16866fc7..fe6f55ae 100644 --- a/examples/arm-cm/dpp_nucleo-c031c6/README.md +++ b/examples/arm-cm/dpp_nucleo-c031c6/README.md @@ -9,6 +9,13 @@ This example demonstrates the [Dining Philosophers Problem (DPP) application](ht STM32 NUCLEO-C031C6
+> **NOTE** +This example can be used as a starting point for any other ARM Cortex-M MCU, including those based on differnt Cortex-M cores (M0/M0+/M3/M4/M7/M23/M33/M55/M85...) The most simplifying factor is that the QP-ports to Cortex-M don't need to change at all (the correct port is selected automatically based on the standard preprocessor macros provided by the compiler). + ++ +
+ ## 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 00000000..5d206b5b Binary files /dev/null and b/examples/arm-cm/dpp_nucleo-c031c6/qp_arm-cm.jpg differ