Welcome to MSPM0G3519 Development Board repository
4. DAP-LINK download program
DAP-LINK Program Download
DAP-LINK Program Download1. Hardware Connection2. Related Configuration3. Program Download4. Common Problems
This method directly uses Keil for flashing. DAP-LINK needs to be purchased separately.
Note: Do not use ST-LINK for downloading. It will lock the chip, and the download will show PDSC.
1. Hardware Connection
| DAP-LINK | MSPM0G3519 |
|---|---|
| GND | GND |
| VDD or 3V3 | 3V3 |
| SWCLK | SWCLK(PA20) |
| SWDIO | SWDIO(PA19) |

2. Related Configuration
Click the magic wand Options for Target, select the Debug tab. The emulator is DAP-LINK, so select CMSIS-DAP Debugger here.
Then click Setting

If the hardware is normal and the wiring is correct, a device number will automatically appear in the SW Device area, indicating the chip was recognized successfully.

Then select the Flash Download tab, check Reset and Run, and select the correct chip.

After completing the above configuration, click OK. You can now start downloading the code.
3. Program Download
First click Build to compile. After confirming successful compilation, click the Download icon to start downloading.

Wait for the progress bar at the bottom to complete. When it shows "Flash Load finished", the download was successful.

4. Common Problems
Error: Error: Flash Download failed - "Cortex-M0+"

Answer: Cause 1: Wiring error; Cause 2: Download algorithm not added

Error: Cannot Load Flash Device Description!
Answer: Download algorithm not added. You can add it following this method:
