Chinaunix首页 | 论坛 | 博客
  • 博客访问: 641132
  • 博文数量: 75
  • 博客积分: 7001
  • 博客等级: 少将
  • 技术积分: 1465
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-11 17:39
文章分类

全部博文(75)

文章存档

2010年(1)

2009年(25)

2008年(49)

我的朋友

分类: LINUX

2008-05-04 15:39:54

In the past few days, I devlivered a version of driver for camera to colleagues in TaiWai. Not long before that, the feedback comes back, saying, " when running the test code, it prints " -bash: /bin/ls: Accessing a corrupted shared library".

 

In the beginning, I concentrated on the funcitonality of camera, that is to say, to make it work, ignoring the affections to other components of the platform. So, the problems comes, and it will come out sooner or later.

 

Now that, the bug comes, which means my anguished days come. Fortunately, it tooks me a little more than two days to dispose the bug.

 

 

The root reason for the phenomenone that “ Accessing a corrupted shared libraies” has been found out, which results from the definition of  registers

and the read and write operation functions to the corresponding registers.

I strongly recommond to define a header file, which could not be changed unless permission was obtained.

Note:

The frame rate for capturing pic is set to 15 frames per second, or else, the judgement for whether the MPEG DMA is transferring data will not pass.

 

 

阅读(3808) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~