diff --git a/boards/nucleo-f207zg/doc.txt b/boards/nucleo-f207zg/doc.txt index 4c19510336..d9891d7ddf 100644 --- a/boards/nucleo-f207zg/doc.txt +++ b/boards/nucleo-f207zg/doc.txt @@ -53,6 +53,8 @@ STM32F207ZG microcontroller with 128Kb of SRAM and 1Mb of ROM Flash. ## Flashing the device +### Flashing the Board Using OpenOCD + The ST Nucleo-F207ZG board includes an on-board ST-LINK V2-1 programmer. The easiest way to program the board is to use OpenOCD. Once you have installed OpenOCD (look [here](https://github.com/RIOT-OS/RIOT/wiki/OpenOCD) for @@ -66,6 +68,19 @@ and debug via GDB by simply typing make BOARD=nucleo-f207zg debug ``` +### Flashing the Board Using ST-LINK Removable Media + +On-board ST-LINK programmer provides via composite USB device removable media. +Copying the HEX file causes reprogramming of the board. This task +could be performed manually; however, the cpy2remed (copy to removable +media) PROGRAMMER script does this automatically. To program board in +this manner, use the command: +``` +make BOARD=nucleo-f207zg PROGRAMMER=cpy2remed flash +``` +@note This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates +could be found on [this STM webpage](https://www.st.com/en/development-tools/stsw-link007.html). + ## Supported Toolchains For using the ST Nucleo-F207ZG board we strongly recommend the usage of the [GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded)