Home > Database > Mysql Tutorial > body text

Keil 调试ARM时出现的 *** error 65: access violation at xxxx

WBOY
Release: 2016-06-07 15:37:27
Original
3365 people have browsed it

实验用soc:s3c2440 分析原因:内存访问权限错误 解决办法: 1. 调试 开始后使用map命令进行分段更改内存访问权限 例如 调试 小程序时,仅在0~4kB范围内寻址时, 出现 : *** error 65: access violation at 0x00000FFC : no 'write' permission *** error 6

实验用soc:s3c2440

分析原因:内存访问权限错误

解决办法:

1.调试开始后使用map命令进行分段更改内存访问权限

例如调试小程序时,仅在0~4kB范围内寻址时,出现

*** error 65: access violation at 0x00000FFC : no 'write' permission

*** error 65: access violation at 0x000000B4 : no 'write' permission

...

等错误

在command窗口输入

map 0,4095 read write exec

回车,PC复位,Go,即可解决问题。

更多解释:

map命令更改内存访问权限只能对16MB以内的区域进行设定

使用规则如下:如需更详细,请参见Keil的Help文档

Syntax Description
MAP Displays the current memory map.
MAP start, end READ WRITE EXEC VNM Maps the specified memory range (start-end) accesses as specified.
MAP start, end CLEAR Clears a mapped memory range.

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template