Skip to content

Commit d8d543b

Browse files
Improve comments a bit
1 parent 50a79e9 commit d8d543b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

targets/upload_method_cfg/NUMAKER_IOT_M487.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
# 1. The Nuvoton fork of OpenOCD is required: https://github.com/OpenNuvoton/OpenOCD-Nuvoton/releases .
77
# Point CMake to it via setting the OpenOCD option:
88
# -DOpenOCD="C:/Program Files (x86)/OpenOCD-nuvoton/bin/openocd.exe"
9-
# 2. Take note of the "MSG" switch on the Nu-Link section of the board. If set to ON, the Nu-Link will run in
9+
# 2. Take note of the "MSG" DIP switch on the Nu-Link section of the board. If set to ON, the Nu-Link will run in
1010
# mass storage mode and can only work with the "MBED" upload method. If set to OFF, the Nu-Link will run in
1111
# Nu-Link mode and only works with Nuvoton OpenOCD.
1212
# 3. On Windows you will need to install the Nu-Link Keil USB driver, which can be found near the bottom here:
1313
# https://www.nuvoton.com/tool-and-software/ide-and-compiler/
14+
# 4. The onboard nu-link does not have a unique USB serial number configured, so the MBED_UPLOAD_SERIAL_NUMBER
15+
# option will not work (and it doesn't seem to work with OpenOCD 0.10.x anyway). This means, sadly, it's impossible
16+
# to work with more than one Nuvoton board at a time on a given machine.
1417

1518
# General config parameters
1619
# -------------------------------------------------------------

targets/upload_method_cfg/NUMAKER_PFM_M487.cmake

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@
66
# 1. The Nuvoton fork of OpenOCD is required: https://github.com/OpenNuvoton/OpenOCD-Nuvoton/releases .
77
# Point CMake to it via setting the OpenOCD option:
88
# -DOpenOCD="C:/Program Files (x86)/OpenOCD-nuvoton/bin/openocd.exe"
9-
# 2. Take note of the "MSG" switch on the Nu-Link section of the board. If set to ON, the Nu-Link will run in
9+
# 2. Take note of the "MSG" DIP switch on the Nu-Link section of the board. If set to ON, the Nu-Link will run in
1010
# mass storage mode and can only work with the "MBED" upload method. If set to OFF, the Nu-Link will run in
1111
# Nu-Link mode and only works with Nuvoton OpenOCD.
1212
# 3. On Windows you will need to install the Nu-Link Keil USB driver, which can be found near the bottom here:
1313
# https://www.nuvoton.com/tool-and-software/ide-and-compiler/
14+
# 4. The onboard nu-link does not have a unique USB serial number configured, so the MBED_UPLOAD_SERIAL_NUMBER
15+
# option will not work (and it doesn't seem to work with OpenOCD 0.10.x anyway). This means, sadly, it's impossible
16+
# to work with more than one Nuvoton board at a time on a given machine.
17+
# 5. To upgrade the Nu-Link firmware, the official instructions didn't work for me at first -- I had to use
18+
# the ICP Programming Tool to get to a newer version. Then I could use the method of holding down the
19+
# DAP button to get into bootloader mod, and flash the binary from here:
20+
# https://github.com/OpenNuvoton/Nuvoton_Tools/blob/master/Latest_NuLink_Firmware/NuLink1FW.bin
1421

1522
# General config parameters
1623
# -------------------------------------------------------------

0 commit comments

Comments
 (0)