MDK能下载但不能调试,不能指向main

问题描述:

MDK工程在进入调试模式时,Commond窗口提示:

Cannot access Memory

Error while accessing a target resource. The resource is perhaps not available or a wrong access was attempted.

*** error 57: illegal address (0x08000000)

解决方法:

在Options for Target-》Debug-》Settings-》Debug-》Download Options对话框中取消勾选Download to Flash选项。即可

 


版权声明:本文为qq_19390445原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。