173 2438 5004
KEROS加密芯片——品牌直销 | 免费样品 | 技术支持
当前位置:网站首页 > 资讯中心 正文 资讯中心

stm32f4无法使用keil5仿真

keros@mark 2023-03-18 资讯中心

STM32F051不能在keil4里面软件仿真error 65: access violation at 0x40021000 no 'read' permission

KEIL给出的官方解答在此:

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.

大概的意思就是,软件仿真不是那么准确,让你去买个类似ULINK pro这样的带trace的高级调试器。所以除了一些老产品还支持软件仿真,新产品都没有软件仿真了!放弃吧孩子

最近刚入门stm32 我按原子教你玩stm32 用keil mdk5 直接用它给的文件创建工程,一直出错

这是我的一个工程文件,其中带有黄色钥匙标志的是必须要有的,core_cm3.c是内核文件、system_stm32f10x.c里面配置了整个系统的时钟、startup文件就是一个启动文件了,其他的应用层的文件自己根据需要添加就可以了。请采纳答案,支持我一下。

求助,keil 5无法加入stm32f4XX的库

Keil μVision3 有两个版本,Keil_C51 和keil_ARM (也叫RV MDK),你把两个都装了,就能同时编译stm32和单片机51了。现在用的都是Keil μVision4了啊!

请教,KEIL到底能不能软件仿真STM32F4

keil的arm版叫MDK,界面一样,启动时也带keil的图标。目前mdk系列,软件仿真无法过锁相环,需要手动修改代码,硬件仿真倒是有相关的驱动/以及方法,mdk4和5都能仿真(需要配置一下)。

keil早就被arm收购了,然后一个软件,根据配属的库的不同,分出了keil C51 以及MDK。MDK可以仿真stm32f4,就是要改几个选项~~~~~

本文标签:stm32f4无法使用keil5仿真

产品列表
产品封装
友情链接