出现这个,根本原因是因为官方MDK不支持了!!
但是呢,还支持一些设备,比如我用STM32f105rbt6就不支持了。
看MDK官网原贴:
-------
µVISION DEBUGGER: Simulation of Cortex-M Devices http://www.keil.com/support/docs/3726.htm
-------
µVISION DEBUGGER: Simulation of Cortex-M Devices
Information in this knowledgebase article applies to:
- MDK-ARM Version 5
QUESTION
I am trying to use the Simulator that is available in the µVision Debugger with MDK-ARM Version 5. However when I start the debugger I get the following error:
*** error 65: access violation at address : no 'read' permission
This error happens when my application accesses on-chip peripherals. In the past the µVision Debugger used to provide simulation for the on-chip peripherals. Is this no longer available with MDK-ARM Version 5?
ANSWER
The µVision Debugger provides complete instruction set simulation for all ARM7, ARM9, Cortex-M0/M0+, Cortex-M3 and Cortex-M4 processor cores. However it is impossible to simulate the behavior of the on-chip peripherals for many devices.
Today the capabilities of Target Debugging match the functionality of device simulation when using trace with a powerful debug adapter such as the ULINKpro Debug and Trace Unit. It provides with the real-world application features such as Code Coverage, Performance Analyzer, Event Viewer, and Logic Analyzer.
For some older devices, the legacy device simulation is still available and can also be used together with MDK Version 5 projects. To enable the device simulation open the dialog Project - Options for Target - Debug. Under the section Use Simulator change the entries for Dialog DLL and Parameter. The values from the tables below give you device simulation for certain devices. Refer to Simulated Features in the µVision Legacy Device Database to get information about the simulated peripherals for each of these devices.
Peripheral Simulation for STMicroelectronics STM32F1 Series
Dialog DLL | Parameter | Microcontroller Device ------------|-----------------|------------------------------------ DARMSTM.DLL | -pSTM32F101C6 | STM32F101C6 DARMSTM.DLL | -pSTM32F101C8 | STM32F101C8 DARMSTM.DLL | -pSTM32F101CBT6 | STM32F101CBT6 DARMSTM.DLL | -pSTM32F101R6 | STM32F101R6 DARMSTM.DLL | -pSTM32F101R8 | STM32F101R8 DARMSTM.DLL | -pSTM32F101RB | STM32F101RB DARMSTM.DLL | -pSTM32F101T6 | STM32F101T6 DARMSTM.DLL | -pSTM32F101T8 | STM32F101T8 DARMSTM.DLL | -pSTM32F101V8 | STM32F101V8 DARMSTM.DLL | -pSTM32F101VB | STM32F101VB DARMSTM.DLL | -pSTM32F103C6 | STM32F103C6 DARMSTM.DLL | -pSTM32F103C8 | STM32F103C8 DARMSTM.DLL | -pSTM32F103CB | STM32F103CB DARMSTM.DLL | -pSTM32F103R6 | STM32F103R6 DARMSTM.DLL | -pSTM32F103R8 | STM32F103R8 DARMSTM.DLL | -pSTM32F103RB | STM32F103RB DARMSTM.DLL | -pSTM32F103T6 | STM32F103T6 DARMSTM.DLL | -pSTM32F103T8 | STM32F103T8 DARMSTM.DLL | -pSTM32F103V8 | STM32F103V8 DARMSTM.DLL | -pSTM32F103VB | STM32F103VB DARMSTM.DLL | -pSTM32F103ZE | STM32F103ZE
Peripheral Simulation for NXP LPC1100 Series
Dialog DLL | Parameter | Microcontroller Device ------------|-----------------|------------------------------------ DARMP1.DLL | -pLPC1111 | LPC1111/002 DARMP1.DLL | -pLPC1111 | LPC1111/101 DARMP1.DLL | -pLPC1111 | LPC1111/102 DARMP1.DLL | -pLPC1111 | LPC1111/103 DARMP1.D