keil调试时老是出现这个:*** error 65: access violation at C:0x0000 : no 'execute/read' permis
答案:5 悬赏:0
解决时间 2021-03-02 18:49
- 提问者网友:川水往事
- 2021-03-01 19:41
keil调试时老是出现这个:*** error 65: access violation at C:0x0000 : no 'execute/read' permission。
最佳答案
- 二级知识专家网友:青灯有味
- 2021-03-01 19:55
你的代码 入口点 指定了吗》?在启动文件里!startUp.s 文件里,如果没有的话,程序只能从0x0开始执行啊!而在0x0都是NOP!
你的 ORG 30H 说明第一条指令在 0x30处,但是你执行是从0x0开始的,故执行不到你的程序那里去!
你把你的代码 改成
ORG0H
试试
你的 ORG 30H 说明第一条指令在 0x30处,但是你执行是从0x0开始的,故执行不到你的程序那里去!
你把你的代码 改成
ORG0H
试试
全部回答
- 1楼网友:荒野風
- 2021-03-01 23:09
| Back to logs list
39477155 2009 年 05 月 20 日 00:03 Reading (loading. ..) Comments (0) Category: Personal Diary
; train whistling in the past, the traditional green, blue modified, stylish white, usually from the previous train, to the general Fast - Speed - Express, the era of progress,loewe bag, society is advancing,cheap designer bags, people are constantly growing!
train bound for East and West in different cities, different places, with travel have to do something urgent, there are home visits, there are migrant workers in; a rush to another city to another way of living, there are a few years did not rush home to visit relatives; have to relax travel there to various places studying studying,replica chanel handbags!
However, when he heard the familiar sound of the train, watching the track has been used, but not know where to go. go or stay, institutionalized? or innovation of ? do not know how to decide, perhaps,miu miu bags, this is the place to go immature!
thought, or to adjust after their own, then do yourself! per trip After the train,chanel bags sale, on behalf of a certain passage of time, do not know how many times the train in the past, will be on track to meet the new beginning, perhaps, elements of time!
39477155 2009 年 05 月 20 日 00:03 Reading (loading. ..) Comments (0) Category: Personal Diary
; train whistling in the past, the traditional green, blue modified, stylish white, usually from the previous train, to the general Fast - Speed - Express, the era of progress,loewe bag, society is advancing,cheap designer bags, people are constantly growing!
train bound for East and West in different cities, different places, with travel have to do something urgent, there are home visits, there are migrant workers in; a rush to another city to another way of living, there are a few years did not rush home to visit relatives; have to relax travel there to various places studying studying,replica chanel handbags!
However, when he heard the familiar sound of the train, watching the track has been used, but not know where to go. go or stay, institutionalized? or innovation of ? do not know how to decide, perhaps,miu miu bags, this is the place to go immature!
thought, or to adjust after their own, then do yourself! per trip After the train,chanel bags sale, on behalf of a certain passage of time, do not know how many times the train in the past, will be on track to meet the new beginning, perhaps, elements of time!
- 2楼网友:酒安江南
- 2021-03-01 22:47
首先打开Keil软件,打开一个工程,点击keil的编译图标,编译软件。
2.确保已经连接了仿真器,而且已经给MCU上电,然后下载程序,等待下载完成。
3.软件程序下载完成,现在就完成了程序下载,可以开始仿真了。
4.单击软件的调试图标,进入软件调试模式。
5.现在就已经打开运行模式。
6.单击全速运行,运行软件仿真。
7.程序正在全速运行。
8.仿真完成以后单击调试图标,就可以退出调试模式。
keil
Keil C51是美国Keil Software公司出品的51系列兼容单片机C语言软件开发系统,与汇编相比,C语言在功能上、结构性、可读性、可维护性上有明显的优势,因而易学易用。Keil提供了包括C编译器、宏汇编、链接器、库管理和一个功能强大的仿真调试器等在内的完整开发方案,通过一个集成开发环境(μVision)将这些部分组合在一起。运行Keil软件需要WIN98、NT、WIN2000、WINXP等操作系统。如果你使用C语言编程,那么Keil几乎就是你的不二之选,即使不使用C语言而仅用汇编语言编程,其方便易用的集成环境、强大的软件仿真调试工具也会令你事半功倍。
- 3楼网友:轮獄道
- 2021-03-01 21:50
在void main()函数中先加一个大循环while(1){},然后把你的程序放到大循环里,就正常了,我遇到同一问题,就是这么解决的。
- 4楼网友:玩家
- 2021-03-01 21:13
……楼主是否知道单片机复位后的PC值是多少??????
回复 gan451001su:
既然知道复位后PC指向0,为何0000H没有程序?
回复 gan451001su:
既然知道复位后PC指向0,为何0000H没有程序?
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯