1.使用keil调试过程中,不可以开启看门狗,不然会报错:nu_Link ice:cmderror-get register data error
2.官方方法,没有深入尝试,目前的解决方法是,kill掉所有的端点,再退出调试
µVISION: Error: Encountered an improper argument
Information in this knowledgebase article applies to:
- MDK-ARM Version 5.x
SYMPTOM
Under some circumstances, an error dialog with the text Encountered an improper argument might show up when you exit a debug session. If this happens, µVision needs to be terminated with the Windows Task Manager. In most cases, customers with Asian Windows versions are affected by this issue when Asian characters are used in the project path.
CAUSE
The µVision 5 debugger is currently not able to process DWARF debug information which contains folder or file names with UTF-8 characters.
RESOLUTION
Use only ASCII characters in the folder and file names of your project and all your source files and libraries.