URN Logo
UNIX Resources » Linux » China Linux Forum » CPU 与 编译器 » 5 » 遇见调试中最不想遇见的问题了--不稳定。各位大侠帮小弟看看!
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
遇见调试中最不想遇见的问题了--不稳定。各位大侠帮小弟看看!
 
 
 
Subject: 遇见调试中最不想遇见的问题了--不稳定。各位大侠帮小弟看看!
Author: smarteasy    Posted: 2006-03-28 22:13    Length: 823 byte(s)
[Original] [Print] [Top]
背景::
SOC的芯片,CPU是MIPS4000,243MHz, 16M flash, 64M DDR
BSP起来后(一个带类似内核的BSP),运行时经常会出exception。

现象:
比如通过串口执行Help, Ping等(有简单的网卡驱动),执行几次就会出exception;
每种运行情况出现的EPC地址都不一样,比如执行Help时的EPC地址经常出现在0X83DF9F40, 执行Ping时的EPC地址经常出现在0x83ff2034.
如果不执行任何任务,不会出EPC

调试:
开始以为可能是DDR不稳定,于是对DDR进行严格的读写测试,结果发现DDR工作非常稳定,没有出错。BSP的版本很成熟,代码不会出那么多的问题。
从EPC地址和CAUSE查的方法,感觉不适合这种情况。
有人认为问题的根源可能是某些硬件部分不稳定,我也这样担心,只是不稳定的硬件同样不好查。

不知道各位朋友有没有碰到这种类似的“不稳定”问题,大家共同探讨。
[Original] [Print] [Top]
Subject: Re: 遇见调试中最不想遇见的问题了--不稳定。各位大侠帮小弟看看!
Author: BNN    Posted: 2006-03-29 22:00    Length: 61 byte(s)
[Original] [Print] [Top]
take a look at Power Supply. 让做板子的查一下电源方面。。。。
----
天若有情天亦老,人间正道是沧桑。
[Original] [Print] [Top]
Subject: Re: 遇见调试中最不想遇见的问题了--不稳定。各位大侠帮小弟看看!
Author: smarteasy    Posted: 2006-03-29 22:33    Length: 841 byte(s)
[Original] [Print] [Top]

Thanks for your great advice BNN!

Actually the power&ground was the first part we debugged. Yet here are one or two not-so-good PCB design, like the ground layer was intrusived by a small plane of 2.5v power supply. We cannot make sure that this is the cause. The power signal probed was not bad (noise within acceptable range). Maybe we will redesign the PCB if we cannot found any other causes. But this is the last and unwanted choice.

A new problem I find today is that the PLL software configuration cannot be actived, that is the PLL
configration register, Active bit, cannot be set. I'm checking on this issue.

Any other advice, we'll be very appreciated!!


Best Regards!
Smarteasy


[Original] [Print] [Top]
« Previous thread
asmlinkage是什么意思?
CPU 与 编译器
5
Next thread »
howto输出gcc调用ld的命令行参数
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2008-07-17 03:47:16, cost 0.060067892074585 ms.