8148之更换摄像头出现异常---REISZER OVERFLOW OCCURED: RESTARTING
my iss config as:
rsz_reg->SRC_VSZ = 1079;//715;
rsz_reg->SRC_HSZ = 1919;//1277;
rszA_reg->RZA_V_DIF = 256;
rszA_reg->RZA_H_DIF = 256;
rszA_reg->RZA_DWN_EN = 0;
rszA_reg->RZA_DWN_AV = 0;
rszB_reg->RZB_V_DIF = 256;//380; //1280/720*256;
rszB_reg->RZB_H_DIF = 256;//450; //720/480*256;
isif_reg->HDW = 1919;//1281;
isif_reg->VDW = 1079;//721;
isif_reg->PPLN = 1919;//1281;
isif_reg->LPFR = 2159;//1439;
isif_reg->LNH = 1920;//2561;
isif_reg->LNV = 1080;//721;
isif_reg->CCOLP = 58596;
isif_reg->CGAMMAWD = 16;
isif_reg->SPH = 1;//3;
rsz_reg->SRC_FMT0 = 1;
isif_reg->MODESET = 0x100C;//0x200C; //for YUV
isif_reg->HSIZE = 80 ;
ipipeif_reg->CFG2 = 0x0E;//0xCE;
rsz_reg->SRC_HPS = 0x1;
isif_reg->CCDCFG = 0x8000;//0x8002;
isif_reg->CLDCOFST = 0;
ipipe_reg->SRC_COL = 27;
ipipe_reg->SRC_VSZ = 1079;//721;
ipipe_reg->SRC_HSZ = 1919;//1281;
gIss_captCommonObj.pModuleInstance->nLscTableIsValid = MSP_TRUE;
ipipe_reg->WB2_WGN_R = 600;
ipipe_reg->WB2_WGN_B = 750;
ipipe_reg->RGB1_MUL_RR = 256;
ipipe_reg->RGB1_MUL_GR = 0;
ipipe_reg->RGB1_MUL_BR = 0;
ipipe_reg->RGB1_MUL_RG = 0;
ipipe_reg->RGB1_MUL_GG = 256;
ipipe_reg->RGB1_MUL_BG = 0;
ipipe_reg->RGB1_MUL_RB = 0;
ipipe_reg->RGB1_MUL_GB = 0;
ipipe_reg->RGB1_MUL_BB = 256;
*(MSP_U32 *)(0x5505006C) &= 0xBFFFFF;
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/380821.aspx
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/61389.aspx
http://processors.wiki.ti.com/index.php/File:DM813x_DDR_Controller_Register_Configuration_spreadsheet_v1.0.zip
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/59379.aspx?pi2132219853=2
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/242555.aspx
Thanks for you reply.
I think It's relate to the DMM LISA MAP and DDR3 timing configure.
I have two board, One is used 4x128M DDR3 (K4B1G1646G-BCH9), other is used 2x256M DDR3(K4B2G1646G-BCH9); And the result(at same test env), the first camera is ok, and the second camera often happend RSZ OVERFLOW.
The first camera configure(default value of IPNC3.2), 4x128 DDR3
#define PG2_1_DMM_LISA_MAP__0 0x0
#define PG2_1_DMM_LISA_MAP__1 0x0
#define PG2_1_DMM_LISA_MAP__2 0x805C0300
#define PG2_1_DMM_LISA_MAP__3 0xA05C0300
/* TI814X DDR3 EMIF CFG Registers values 400MHz */
#define DDR3_EMIF_READ_LATENCY 0x00170208 //RD_ODT=0x2, IDLE_ODT=0x0, Dynamic power_down enabled
#define DDR3_EMIF_TIM1 0x0AAAD4DB
#define DDR3_EMIF_TIM2 0x682F7FDA
#define DDR3_EMIF_TIM3 0x501F82BF
#define DDR3_EMIF_REF_CTRL 0x00000C30
#define DDR3_EMIF_SDRAM_CONFIG 0x61C011B2
#define DDR3_EMIF_SDRAM_ZQCR 0x50074BE1
And the second camera configure(configure by myself), 2x256 DDR3 connect to EMIF0, using the same timing configure.
In order to in reduce the jointing cost, we want to using 2 pieces of DDR3.
#define PG2_1_DMM_LISA_MAP__0 0x805C0100
#define PG2_1_DMM_LISA_MAP__1 0xA05C0100
#define PG2_1_DMM_LISA_MAP__2 0x0
#define PG2_1_DMM_LISA_MAP__3 0x0
/* TI814X DDR3 EMIF CFG Registers values 400MHz */
#define DDR3_EMIF_READ_LATENCY 0x00170208 //RD_ODT=0x2, IDLE_ODT=0x0, Dynamic power_down enabled
#define DDR3_EMIF_TIM1 0x0AAAD4DB
#define DDR3_EMIF_TIM2 0x682F7FDA
#define DDR3_EMIF_TIM3 0x501F82BF
#define DDR3_EMIF_REF_CTRL 0x00000C30
#define DDR3_EMIF_SDRAM_CONFIG 0x61C011B2
#define DDR3_EMIF_SDRAM_ZQCR 0x50074BE1

Who can give me some advice? Thanks a lot.
问题发现:
可以看出,坑定是scale 缩放时除了问题,后面经过测试,发现原来是8148的缩放比例不能是输入1080p(1920x1080),然后scale也是1080p,导致的,要么去掉没用的scale link,通过输出为480x320时,就可以了!,前面无论是等比缩放,还是绝对尺寸,效果都一样,死掉
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/60868/135006.aspx
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/30102/92261.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/189966/683632.aspx
http://m.blog.csdn.net/blog/mianhuantang848989/27226631
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/51488/115830.aspx#115830
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/242555.aspx 8127的溢出
http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/17576/58690.aspx#58690
8148之更换摄像头出现异常---REISZER OVERFLOW OCCURED: RESTARTING的更多相关文章
- 未处理的异常 stack overflow
今天在编译程序时遇到“0x00e304f7 处有未经处理的异常: 0xC00000FD: Stack overflow”的错误,也就是栈溢出了,google了一下,原来是我申请的一个变量太大了,con ...
- IE 6/7下自赋值导致 overflow 溢出
情景是要限制一个textarea的最大输入字数(100字, 这字数限制也太少了点吧,不大气) 由于限制输入后需要允许 回退,全选等功能键,故放弃keyup, keydown组合 选用property ...
- USB工业摄像头设计之上位机
在工业相机中对摄像头要求较高,且采集的图像数据要求是源数据,未经过任何处理. 为了兼容xp.win7(32bit 64bit) 程序采用VS2008 MFC编制,参考网上一些应用. CYUSB驱动与 ...
- (趣味哈哈镜)JMF中摄像头相关的问题
JMF已经非常古老了.最近由于做实验的需要,不得不使用JMF处理视频.开发使用win10系统和eclipse.使用中的问题如下: 1.首先想要使用JMF需要必须安装32位JDK,同时编译软件也需要是3 ...
- C++异常处理小例
学习程序的好方法是阅读代码和改进代码.下面的程例来自<An Overview of the C++ Programming Language>(5.1 异常和错误处理)程序用途:使用C ...
- Hive+Sqoop+Mysql整合
Hive+Sqoop+Mysql整合 在本文中,LZ随意想到了一个场景: 车,道路,监控,摄像头 即当一辆车在道路上面行驶的时候,道路上面的监控点里面的摄像头就会对车进行数据采集. 我们对采集的数据进 ...
- C# Language Specification 5.0 (翻译)第四章 类型
C# 语言的类型分为两大类:值类型(value type)和引用类型(reference type),而它们又都同时具有至少一个类型形参的泛型类型(generic type).类型形参(type pa ...
- 【转载】C# 中的委托和事件(详解)
<div class="postbody"> <div id="cnblogs_post_body" class="blogpost ...
- 【数据结构 Python & C++】顺序表
用C++ 和 Python实现顺序表的简单操作 C++代码 // Date:2019.7.31 // Author:Yushow Jue #include<iostream> using ...
随机推荐
- Linux内核情景分析之消息队列
早期的Unix通信只有管道与信号,管道的缺点: 所载送的信息是无格式的字节流,不知道分界线在哪,也没通信规范,另外缺乏控制手段,比如保温优先级,管道机制的大小只有1页,管道很容易写满而读取没有及时,发 ...
- 交叉编译x264和ffmpeg
1.x264 ./configure --host=arm-hisiv300-linux CC=arm-hisiv300-linux-gcc --enable-pic --prefix=/usr/lo ...
- hdu 4519(数学题)
郑厂长系列故事——体检 Time Limit: 500/200 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total S ...
- AC日记——还是01串 51nod 1396
还是01串 思路: 前缀和: 来,上代码: #include <cstdio> #include <cstring> #include <iostream> #in ...
- (4)django mtv模式
mtv模式 http://blog.csdn.net/dbanote/article/details/11338953 models 官方介绍 https://docs.djangoproject.c ...
- 洛谷——P1996 约瑟夫问题
P1996 约瑟夫问题 (什么?!要给学弟学妹讲约瑟夫问题?!难道就不怕我给他们讲错了吗?! 啊啊啊,为了不给学弟学妹们讲错,蒟蒻表示要临阵磨一下刀...) 题目背景 约瑟夫是一个无聊的人!!! 题目 ...
- Android属性动画:动画流控制
今天的文章里,我将会和大家讨论对动画流的控制.我们可以通过Animator系列的API来控制动画的开始.停止和取消.在 KitKat也就是API level 19中,我们还可以控制动画的暂停和恢复.在 ...
- TOYS-POJ2318
本题主要是确定给定的点在那块区域.原题给出n条直线,将长方形分为n+1快区域.我们可以对每个给定的点来判断它在那块区域,判段方法可以根据点与直线的位置关系,具体如下,对于点(x0,y0)和直线ax+b ...
- 蒙特卡洛法MATLAB
%%unifrnd函数的使用 %unifrnd函数可以创建随机的连续均匀分布的数组,一般式为R=unifrnd(A,B); %A和B是标量或者相同维数的行向量或者列向量.R=unifrnd(A,B,[ ...
- sencha toucha获取 constructor中的数据
config:{ tmp:null }, constructor : function(conf) { this.config.tmp=conf; } 添加配置属性,然后直接用 this.config ...