KEIL:“error:at 0x530000008:no write permission”

本文介绍了解决调试过程中遇到的“nowritepermission”等权限错误的方法。通过调整内存映射设置及使用特定格式的.ini文件来确保对所需存储空间的正确访问。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

很多年以前出现的问题:


在调试时出现“error:at 0x530000008:no write permission”等此类问题怎么解决?


问题分析:
      发生这类问题往往是由于对相应存储空间没有访问权限造成的,如该存储空间是由用户扩展的,不是标准配置。  
问题解答:
      在debug状态下,在Debug--->Memory Map对话框中,将提示有问题的那一小块地址按照需要的权限将其map range进去; 
      将要用到(添加)的内存映射写成*.ini文件,在Options for target "xxx"--->Debug页中
Initiallization File选中该*.ini文件,选中Load Application at Startup。
      具体语法为:map 0x48000000, 0x60000000 read write 
      指定0x48000000-0x54000000访问许可,可以指定为读(READ)、写(WRITE)和执行(EXEC) 访问 


WS 1, `current_uA WS 1, `voltage_mV WS 1, `power_mW *** error 65: access violation at 0x7EFE80 : no 'read' permission *** error 65: access violation at 0x7EFE80 : no 'write' permission *** error 65: access violation at 0x7EFE82 : no 'write' permission *** error 65: access violation at 0x7EFE80 : no 'read' permission *** error 65: access violation at 0x7EFE80 : no 'write' permission *** error 65: access violation at 0x7EFE88 : no 'read' permission *** error 65: access violation at 0x7EFE88 : no 'write' permission *** error 65: access violation at 0x7EFE80 : no 'read' permission *** error 65: access violation at 0x7EFE80 : no 'write' permission *** error 65: access violation at 0x7EFE81 : no 'write' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission *** error 65: access violation at 0x7EFE82 : no 'read' permission
最新发布
07-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值