您的位置: OpenADSP社区论坛 -> Blackfin专区 -> 新手上路 -> BF512中断异常问题
本帖共有436个阅读者
发表帖子 发表投票 回复主题
BF512中断异常问题
kaye_zerone(论坛新手)
kaye_zerone
头衔:社区公民
帮派:无帮无派
帖数:14
金钱:181
积分:13
注册时间:2015/7/23
楼主信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
BF512中断异常问题
使用的是BF512,开了一个timer0,每200us进一次中断,在中断里面加了一个函数(函数什么都不做),
调试的时候让它全速运行,运行一段时间约5秒后就出现异常:
A fatal error or exception has occurred.
Description:Attemp read or write to Supervisor resource, or inllegal data memory access(Exception with EXCAUSE=0x23)
General Type:  UnhandledException
Specific Type: DataAccessProtection
General Code:  0x9
Specific Code: 0x23
Error Value:   0x00000000
Error PC:      0xffa07ce0
Warning: External memory is disabled for this region of memory.
Warning: External memory is disabled for this region of memory.


「该帖子被 kaye_zerone 在 2015-07-23 14:59:47 编辑过」

世上无难事,只要肯攀登
等级:论坛新手 参考IP地址:*.*.*.*
2015/7/23 14:55:37
kaye_zerone(论坛新手)
kaye_zerone
头衔:社区公民
帮派:无帮无派
帖数:14
金钱:181
积分:13
注册时间:2015/7/23
1信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
求高手解答。。。

世上无难事,只要肯攀登
等级:论坛新手 参考IP地址:*.*.*.*
2015/7/24 10:18:43
kaye_zerone(论坛新手)
kaye_zerone
头衔:社区公民
帮派:无帮无派
帖数:14
金钱:181
积分:13
注册时间:2015/7/23
2信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
问题已解决

世上无难事,只要肯攀登
等级:论坛新手 参考IP地址:*.*.*.*
2015/7/24 10:54:14
尊贵身份标志
andy(论坛版主)
andy
头衔:社区公民
帮派:无帮无派
帖数:2287
金钱:11132
积分:2263
注册时间:2011/6/8
3信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
你的代码运行到一处不可用的内存,如SDRAM内存中超过SDRAM可用容量的部分,导致代码跑飞。

这家伙很懒,什么也没有留下!
等级:论坛版主 参考IP地址:*.*.*.*
2015/7/26 16:44:23
Powered by OpenADSP Copyright © 2010 www.Openadsp.com. All rights reserved.160056 Call, 1 Queries, Processed in 0.031250 second(s),