At the beginning of contact Cortex-M0, so everything starts from 0!
First, you must have your own hardware platform. I have a coocox M0 board, and then the download tool. coocox has its own download tool. This afternoon, the driver will be installed, then you need to find this download tool in your own Keil! I have never touched this item before, so it was a little difficult at the beginning. I found it online for a long time before seeing how to install it!
First, install mdk4.03 or a later version, and then download colinkex plugin for Keil realview MDK from the coocox website. The main problem is that the device must be installed under Keil, I think the above mentioned files will be overwritten, so I am stuck in other directories and won't be able to install them several times. Later I found that I am still not doing well, it must be installed in Keil and then selected as the download loader.
Procedure:
1. Open the project you want to debug
2. The configuration project uses colinkex as follows:
If debugging in Flash: 3. Compile and debug your project. For detailed procedures, refer to the coocox website, http://www.coocox.org
Now you can start debugging.ProgramNow!