*** error 65: access violation at 0x40021000 : no 'read' permission

出现这个,根本原因是因为官方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
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值