Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] MIPI camera not working with default Android 7.1.2 image

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43

【General】 MIPI camera not working with default Android 7.1.2 image

Posted at 11/29/2018 22:43:28      View:3789 | Replies:1        Print      Only Author   [Copy Link] 1#
I connected the OV13850 camera board to J22 on my Firefly-RK3399 (that is the RX-only CSI MIPI channel on PHY2). I am using the  default Android 7.1.2 image, and the camera is not recognised.  Is this expected?

It is not clear to me whether I need to build a custom image or just make some changes to files on the board.  The documentation on configuration does not explain anything much, so I would appreciate a complete explanation..

I have been looking at the XML configuration file on your web site at
http://en.t-firefly.com/doc/product/info/id/287.html
under the heading/sub-heading
Configuration Steps/Android Layer Configuration

I wanted to compare it with the file /system/etc/cam_board.xml on my Firefly board. To make it more readable I ran it through this online XML to JSON converter
https://www.browserling.com/tools/xml-to-json

The converter complained of errors when trying to parse this XML,
so I corrected the errors, saving the file (with DOS newlines) as
web-corrected.xml

This file still has a lot of trailing spaces, so I removed them, making file web-corrected-nosp.xml

I have pasted both files below.

File web-corrected.xml

  1. <?xml version="1.0" ?>
  2. <BoardFile>        
  3. <BoardXmlVersion version="v0.0xf.0">        
  4. </BoardXmlVersion>        
  5. <CamDevie>            
  6. <HardWareInfo>               
  7. <Sensor>                    
  8. <SensorName name="OV13850" ></SensorName>                  
  9. <SensorDevID IDname="CAMSYS_DEVID_SENSOR_1A"></SensorDevID>                  
  10. <SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
  11. <SensorI2cBusNum busnum="1"></SensorI2cBusNum>                    
  12. <SensorI2cAddrByte byte="2"></SensorI2cAddrByte>                    
  13. <SensorI2cRate rate="100000"></SensorI2cRate>
  14. <SensorAvdd name="NC" min="28000000" max="28000000" delay="0"></SensorAvdd>
  15. <SensorDvdd name="NC" min="12000000" max="12000000" delay="0"></SensorDvdd>
  16. <SensorDovdd name="NC" min="18000000" max="18000000" delay="5000"></SensorDovdd>
  17. <SensorMclk mclk="24000000" delay="1000"></SensorMclk>
  18. <SensorGpioPwen ioname="RK30_PIN1_PC7" active="1" delay="1000"></SensorGpioPwen>     
  19. <SensorGpioRst ioname="RK30_PIN0_PB0" active="1" delay="1000"></SensorGpioRst>
  20. <SensorGpioPwdn ioname="NC" active="0" delay="0"></SensorGpioPwdn>
  21. <SensorFacing facing="back"></SensorFacing>
  22. <SensorInterface interface="MIPI"></SensorInterface>                    
  23. <SensorMirrorFlip mirror="0"></SensorMirrorFlip>                    
  24. <SensorOrientation orientation="0"></SensorOrientation>                    
  25. <SensorPowerupSequence seq="1234"></SensorPowerupSequence>                    
  26. <SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>                    
  27. <SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>                    
  28. <SensorPhy phyMode="CamSys_Phy_Mipi" lane="2" phyIndex="1" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>      
  29. </Sensor>               
  30. <VCM>                    
  31. <VCMDrvName name="BuiltInSensor"></VCMDrvName>                    
  32. <VCMName name="NC"></VCMName>                    
  33. <VCMI2cBusNum busnum="3"></VCMI2cBusNum>                    
  34. <VCMI2cAddrByte byte="0"></VCMI2cAddrByte>                    
  35. <VCMI2cRate rate="0"></VCMI2cRate>                    
  36. <VCMVdd name="NC" min="0" max="0"></VCMVdd>                    
  37. <VCMGpioPwdn ioname="NC" active="0"></VCMGpioPwdn>                    
  38. <VCMGpioPower ioname="NC" active="0"></VCMGpioPower>                    
  39. <VCMCurrent start="20" rated="80" vcmmax="100" stepmode="13"  drivermax="100"></VCMCurrent>               
  40. </VCM><Flash>      
  41. <FlashName name="Internal"></FlashName>      
  42. <FlashI2cBusNum busnum="0"></FlashI2cBusNum>      
  43. <FlashI2cAddrByte byte="0"></FlashI2cAddrByte>      
  44. <FlashI2cRate rate="0"></FlashI2cRate>      
  45. <FlashTrigger ioname="NC" active="0"></FlashTrigger>      
  46. <FlashEn ioname="NC" active="0"></FlashEn>      
  47. <FlashModeType mode="1"></FlashModeType>      
  48. <FlashLuminance luminance="0"></FlashLuminance>      
  49. <FlashColorTemp colortemp="0"></FlashColorTemp>   
  50. </Flash></HardWareInfo> <SoftWareInfo>      
  51. <AWB>               
  52. <AWB_Auto support="1"></AWB_Auto>               
  53. <AWB_Incandescent support="1"></AWB_Incandescent>               
  54. <AWB_Fluorescent support="1"></AWB_Fluorescent>               
  55. <AWB_Warm_Fluorescent support="1"></AWB_Warm_Fluorescent>               
  56. <AWB_Daylight support="1"></AWB_Daylight>               
  57. <AWB_Cloudy_Daylight support="1"></AWB_Cloudy_Daylight>               
  58. <AWB_Twilight support="1"></AWB_Twilight>               
  59. <AWB_Shade support="1"></AWB_Shade>         
  60. </AWB>         
  61. <Sence>               
  62. <Sence_Mode_Auto support="1"></Sence_Mode_Auto>               
  63. <Sence_Mode_Action support="1"></Sence_Mode_Action>               
  64. <Sence_Mode_Portrait support="1"></Sence_Mode_Portrait>               
  65. <Sence_Mode_Landscape support="1"></Sence_Mode_Landscape>               
  66. <Sence_Mode_Night support="1"></Sence_Mode_Night>               
  67. <Sence_Mode_Night_Portrait support="1"></Sence_Mode_Night_Portrait>               
  68. <Sence_Mode_Theatre support="1"></Sence_Mode_Theatre>               
  69. <Sence_Mode_Beach support="1"></Sence_Mode_Beach>               
  70. <Sence_Mode_Snow support="1"></Sence_Mode_Snow>               
  71. <Sence_Mode_Sunset support="1"></Sence_Mode_Sunset>               
  72. <Sence_Mode_Steayphoto support="1"></Sence_Mode_Steayphoto>               
  73. <Sence_Mode_Pireworks support="1"></Sence_Mode_Pireworks>               
  74. <Sence_Mode_Sports support="1"></Sence_Mode_Sports>               
  75. <Sence_Mode_Party support="1"></Sence_Mode_Party>               
  76. <Sence_Mode_Candlelight support="1"></Sence_Mode_Candlelight>               
  77. <Sence_Mode_Barcode support="1"></Sence_Mode_Barcode>               
  78. <Sence_Mode_HDR support="1"></Sence_Mode_HDR>         
  79. </Sence>         
  80. <Effect>               
  81. <Effect_None support="1"></Effect_None>               
  82. <Effect_Mono support="1"></Effect_Mono>               
  83. <Effect_Solarize support="1"></Effect_Solarize>               
  84. <Effect_Negative support="1"></Effect_Negative>               
  85. <Effect_Sepia support="1"></Effect_Sepia>               
  86. <Effect_Posterize support="1"></Effect_Posterize>               
  87. <Effect_Whiteboard support="1"></Effect_Whiteboard>               
  88. <Effect_Blackboard support="1"></Effect_Blackboard>               
  89. <Effect_Aqua support="1"></Effect_Aqua>         
  90. </Effect>               
  91. <FocusMode>                    
  92. <Focus_Mode_Auto support="1"></Focus_Mode_Auto>                    
  93. <Focus_Mode_Infinity support="1"></Focus_Mode_Infinity>                    
  94. <Focus_Mode_Marco support="1"></Focus_Mode_Marco>                    
  95. <Focus_Mode_Fixed support="1"></Focus_Mode_Fixed>                    
  96. <Focus_Mode_Edof support="1"></Focus_Mode_Edof>         
  97. <Focus_Mode_Continuous_Video support="0"></Focus_Mode_Continuous_Video>         
  98. <Focus_Mode_Continuous_Picture support="1"></Focus_Mode_Continuous_Picture></FocusMode>               
  99. <FlashMode>                    
  100. <Flash_Mode_Off support="1"></Flash_Mode_Off>                    
  101. <Flash_Mode_On support="1"></Flash_Mode_On>                    
  102. <Flash_Mode_Torch support="1"></Flash_Mode_Torch>                    
  103. <Flash_Mode_Auto support="1"></Flash_Mode_Auto>                    
  104. <Flash_Mode_Red_Eye support="1"></Flash_Mode_Red_Eye>               
  105. </FlashMode>               
  106. <AntiBanding>                    
  107. <Anti_Banding_Auto support="1"></Anti_Banding_Auto>                    
  108. <Anti_Banding_50HZ support="1"></Anti_Banding_50HZ>                    
  109. <Anti_Banding_60HZ support="1"></Anti_Banding_60HZ>                    
  110. <Anti_Banding_Off support="1"></Anti_Banding_Off>               
  111. </AntiBanding>               
  112. <HDR support="1"></HDR>               
  113. <ZSL support="1"></ZSL>               
  114. <DigitalZoom support="1"></DigitalZoom>               
  115. <Continue_SnapShot support="1"></Continue_SnapShot>               
  116. <PreviewSize width="800" height="600"></PreviewSize>               
  117. <DV>
  118. <DV_QCIF name="qcif" width="176" height="144" fps="10" support="1"></DV_QCIF>
  119. <DV_QVGA name="qvga" width="320" height="240" fps="10" support="1"></DV_QVGA>
  120. <DV_CIF name="cif" width="352" height="288" fps="10" support="1"></DV_CIF>
  121. <DV_VGA name="480p" width="640" height="480" fps="10" support="0"></DV_VGA>
  122. <DV_480P name="480p" width="720" height="480" fps="10" support="0"></DV_480P>
  123. <DV_720P name="720p" width="1280" height="720" fps="10" support="1"></DV_720P>
  124. <DV_1080P name="1080p" width="1920" height="1080" fps="10" support="1"></DV_1080P>
  125. </DV>            
  126. </SoftWareInfo>        
  127. </CamDevie>
  128. <!--
  129. //DVP
  130. -->      
  131. <CamDevie>
  132. <HardWareInfo>
  133. <Sensor>
  134. <SensorName name="OV5640" ></SensorName>
  135. <SensorDevID IDname="CAMSYS_DEVID_SENSOR_2"></SensorDevID>
  136. <SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
  137. <SensorI2cBusNum busnum="4"></SensorI2cBusNum>
  138. <SensorI2cAddrByte byte="2"></SensorI2cAddrByte>
  139. <SensorI2cRate rate="100000"></SensorI2cRate>
  140. <SensorMclk mclk="24000000"></SensorMclk>
  141. <SensorAvdd name="NC" min="0" max="0"></SensorAvdd>
  142. <SensorDovdd name="NC" min="18000000" max="18000000"></SensorDovdd>
  143. <SensorDvdd name="NC" min="0" max="0"></SensorDvdd>
  144. <SensorGpioPwen ioname="NC" active="1"></SensorGpioPwen>
  145. <SensorGpioRst ioname="NC" active="0"></SensorGpioRst>
  146. <SensorGpioPwdn ioname="RK30_PIN2_PB4" active="1"></SensorGpioPwdn>
  147. <SensorFacing facing="front"></SensorFacing>
  148. <SensorInterface mode="CCIR601"></SensorInterface>
  149. <SensorMirrorFlip mirror="0"></SensorMirrorFlip>
  150. <SensorOrientation orientation="0"></SensorOrientation>
  151. <SensorPowerupSequence seq="1234"></SensorPowerupSequence>
  152. <SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>
  153. <SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>
  154. <SensorPhy phyMode="CamSys_Phy_Cif" sensor_d0_to_cif_d="0" cif_num="0" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>
  155. </Sensor>
  156. <VCM><VCMDrvName name="NC"></VCMDrvName>               
  157. <VCMName name="NC"></VCMName>
  158. <VCMI2cBusNum busnum="0"></VCMI2cBusNum>
  159. <VCMI2cAddrByte byte="0"></VCMI2cAddrByte><VCMI2cRate rate="0"></VCMI2cRate>
  160. <VCMVdd name="NC" min="0" max="0"></VCMVdd>
  161. <VCMGpioPwdn ioname="NC" active="0"></VCMGpioPwdn>
  162. <VCMGpioPower ioname="NC" active="0"></VCMGpioPower>
  163. <VCMCurrent start="20" rated="80" vcmmax="100" stepmode="13"  drivermax="100"></VCMCurrent></VCM>
  164. <Flash>        
  165. <FlashName name="NC"></FlashName>        
  166. <FlashI2cBusNum busnum="0"></FlashI2cBusNum>        
  167. <FlashI2cAddrByte byte="0"></FlashI2cAddrByte>        
  168. <FlashI2cRate rate="0"></FlashI2cRate>        
  169. <FlashTrigger ioname="NC" active="1"></FlashTrigger>        
  170. <FlashEn ioname="NC" active="1"></FlashEn>        
  171. <FlashModeType mode="0"></FlashModeType>               
  172. <FlashLuminance luminance="0"></FlashLuminance>        
  173. <FlashColorTemp colortemp="0"></FlashColorTemp></Flash>
  174. </HardWareInfo>
  175. <SoftWareInfo>
  176. <AWB>
  177. <AWB_Auto support="1"></AWB_Auto>        
  178. <AWB_Incandescent support="1"></AWB_Incandescent>
  179. <AWB_Fluorescent support="1"></AWB_Fluorescent>
  180. <AWB_Warm_Fluorescent support="1"></AWB_Warm_Fluorescent>
  181. <AWB_Daylight support="1"></AWB_Daylight>
  182. <AWB_Cloudy_Daylight support="1"></AWB_Cloudy_Daylight>        
  183. <AWB_Twilight support="1"></AWB_Twilight>
  184. <AWB_Shade support="1"></AWB_Shade></AWB>
  185. <Sence>
  186. <Sence_Mode_Auto support="1"></Sence_Mode_Auto>
  187. <Sence_Mode_Action support="1"></Sence_Mode_Action>
  188. <Sence_Mode_Portrait support="1"></Sence_Mode_Portrait>
  189. <Sence_Mode_Landscape support="1"></Sence_Mode_Landscape>
  190. <Sence_Mode_Night support="1"></Sence_Mode_Night>
  191. <Sence_Mode_Night_Portrait support="1"></Sence_Mode_Night_Portrait>
  192. <Sence_Mode_Theatre support="1"></Sence_Mode_Theatre>
  193. <Sence_Mode_Beach support="1"></Sence_Mode_Beach>
  194. <Sence_Mode_Snow support="1"></Sence_Mode_Snow>
  195. <Sence_Mode_Sunset support="1"></Sence_Mode_Sunset>
  196. <Sence_Mode_Steayphoto support="1"></Sence_Mode_Steayphoto>
  197. <Sence_Mode_Pireworks support="1"></Sence_Mode_Pireworks>
  198. <Sence_Mode_Sports support="1"></Sence_Mode_Sports>
  199. <Sence_Mode_Party support="1"></Sence_Mode_Party>
  200. <Sence_Mode_Candlelight support="1"></Sence_Mode_Candlelight>
  201. <Sence_Mode_Barcode support="1"></Sence_Mode_Barcode>
  202. <Sence_Mode_HDR support="1"></Sence_Mode_HDR>
  203. </Sence>
  204. <Effect>
  205. <Effect_None support="1"></Effect_None>
  206. <Effect_Mono support="1"></Effect_Mono>
  207. <Effect_Solarize support="1"></Effect_Solarize>        
  208. <Effect_Negative support="1"></Effect_Negative>
  209. <Effect_Sepia support="1"></Effect_Sepia>
  210. <Effect_Posterize support="1"></Effect_Posterize>        
  211. <Effect_Whiteboard support="1"></Effect_Whiteboard>
  212. <Effect_Blackboard support="1"></Effect_Blackboard>
  213. <Effect_Aqua support="1"></Effect_Aqua>
  214. </Effect><FocusMode><Focus_Mode_Auto support="0"></Focus_Mode_Auto>
  215. <Focus_Mode_Infinity support="0"></Focus_Mode_Infinity>
  216. <Focus_Mode_Marco support="0"></Focus_Mode_Marco>
  217. <Focus_Mode_Fixed support="0"></Focus_Mode_Fixed>
  218. <Focus_Mode_Edof support="0"></Focus_Mode_Edof>
  219. <Focus_Mode_Continuous_Video support="0"></Focus_Mode_Continuous_Video>
  220. <Focus_Mode_Continuous_Picture support="0"></Focus_Mode_Continuous_Picture>
  221. </FocusMode>
  222. <FlashMode>
  223. <Flash_Mode_Off support="1"></Flash_Mode_Off>
  224. <Flash_Mode_On support="1"></Flash_Mode_On
  225. ><Flash_Mode_Torch support="1"></Flash_Mode_Torch>
  226. <Flash_Mode_Auto support="1"></Flash_Mode_Auto>
  227. <Flash_Mode_Red_Eye support="1"></Flash_Mode_Red_Eye>
  228. </FlashMode>
  229. <AntiBanding>
  230. <Anti_Banding_Auto support="1"></Anti_Banding_Auto>
  231. <Anti_Banding_50HZ support="1"></Anti_Banding_50HZ>
  232. <Anti_Banding_60HZ support="1"></Anti_Banding_60HZ>
  233. <Anti_Banding_Off support="1"></Anti_Banding_Off></AntiBanding>        
  234. <HDR support="1"></HDR>
  235. <ZSL support="1"></ZSL>
  236. <DigitalZoom support="1"></DigitalZoom>
  237. <Continue_SnapShot support="1"></Continue_SnapShot>
  238. <PreviewSize width="800" height="600"></PreviewSize>
  239. <DV>
  240. <DV_QCIF name="qcif" width="176" height="144" fps="10" support="1"></DV_QCIF>
  241. <DV_QVGA name="qvga" width="320" height="240" fps="10" support="1"></DV_QVGA>
  242. <DV_CIF name="cif" width="352" height="288" fps="10" support="1"></DV_CIF>
  243. <DV_VGA name="480p" width="640" height="480" fps="10" support="1"></DV_VGA>
  244. <DV_480P name="480p" width="720" height="480" fps="10" support="0"></DV_480P>
  245. <DV_720P name="720p" width="1280" height="720" fps="10" support="0"></DV_720P>
  246. <DV_1080P name="1080p" width="1920" height="1080" fps="10" support="0"></DV_1080P>
  247. </DV>
  248. </SoftWareInfo>
  249. </CamDevie>
  250. </BoardFile>
Copy the code


File web-corrected-nosp.xml

  1. <?xml version="1.0" ?>
  2. <BoardFile>
  3. <BoardXmlVersion version="v0.0xf.0">
  4. </BoardXmlVersion>
  5. <CamDevie>
  6. <HardWareInfo>
  7. <Sensor>
  8. <SensorName name="OV13850" ></SensorName>
  9. <SensorDevID IDname="CAMSYS_DEVID_SENSOR_1A"></SensorDevID>
  10. <SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
  11. <SensorI2cBusNum busnum="1"></SensorI2cBusNum>
  12. <SensorI2cAddrByte byte="2"></SensorI2cAddrByte>
  13. <SensorI2cRate rate="100000"></SensorI2cRate>
  14. <SensorAvdd name="NC" min="28000000" max="28000000" delay="0"></SensorAvdd>
  15. <SensorDvdd name="NC" min="12000000" max="12000000" delay="0"></SensorDvdd>
  16. <SensorDovdd name="NC" min="18000000" max="18000000" delay="5000"></SensorDovdd>
  17. <SensorMclk mclk="24000000" delay="1000"></SensorMclk>
  18. <SensorGpioPwen ioname="RK30_PIN1_PC7" active="1" delay="1000"></SensorGpioPwen>
  19. <SensorGpioRst ioname="RK30_PIN0_PB0" active="1" delay="1000"></SensorGpioRst>
  20. <SensorGpioPwdn ioname="NC" active="0" delay="0"></SensorGpioPwdn>
  21. <SensorFacing facing="back"></SensorFacing>
  22. <SensorInterface interface="MIPI"></SensorInterface>
  23. <SensorMirrorFlip mirror="0"></SensorMirrorFlip>
  24. <SensorOrientation orientation="0"></SensorOrientation>
  25. <SensorPowerupSequence seq="1234"></SensorPowerupSequence>
  26. <SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>
  27. <SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>
  28. <SensorPhy phyMode="CamSys_Phy_Mipi" lane="2" phyIndex="1" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>
  29. </Sensor>
  30. <VCM>
  31. <VCMDrvName name="BuiltInSensor"></VCMDrvName>
  32. <VCMName name="NC"></VCMName>
  33. <VCMI2cBusNum busnum="3"></VCMI2cBusNum>
  34. <VCMI2cAddrByte byte="0"></VCMI2cAddrByte>
  35. <VCMI2cRate rate="0"></VCMI2cRate>
  36. <VCMVdd name="NC" min="0" max="0"></VCMVdd>
  37. <VCMGpioPwdn ioname="NC" active="0"></VCMGpioPwdn>
  38. <VCMGpioPower ioname="NC" active="0"></VCMGpioPower>
  39. <VCMCurrent start="20" rated="80" vcmmax="100" stepmode="13"  drivermax="100"></VCMCurrent>
  40. </VCM><Flash>
  41. <FlashName name="Internal"></FlashName>
  42. <FlashI2cBusNum busnum="0"></FlashI2cBusNum>
  43. <FlashI2cAddrByte byte="0"></FlashI2cAddrByte>
  44. <FlashI2cRate rate="0"></FlashI2cRate>
  45. <FlashTrigger ioname="NC" active="0"></FlashTrigger>
  46. <FlashEn ioname="NC" active="0"></FlashEn>
  47. <FlashModeType mode="1"></FlashModeType>
  48. <FlashLuminance luminance="0"></FlashLuminance>
  49. <FlashColorTemp colortemp="0"></FlashColorTemp>
  50. </Flash></HardWareInfo> <SoftWareInfo>
  51. <AWB>
  52. <AWB_Auto support="1"></AWB_Auto>
  53. <AWB_Incandescent support="1"></AWB_Incandescent>
  54. <AWB_Fluorescent support="1"></AWB_Fluorescent>
  55. <AWB_Warm_Fluorescent support="1"></AWB_Warm_Fluorescent>
  56. <AWB_Daylight support="1"></AWB_Daylight>
  57. <AWB_Cloudy_Daylight support="1"></AWB_Cloudy_Daylight>
  58. <AWB_Twilight support="1"></AWB_Twilight>
  59. <AWB_Shade support="1"></AWB_Shade>
  60. </AWB>
  61. <Sence>
  62. <Sence_Mode_Auto support="1"></Sence_Mode_Auto>
  63. <Sence_Mode_Action support="1"></Sence_Mode_Action>
  64. <Sence_Mode_Portrait support="1"></Sence_Mode_Portrait>
  65. <Sence_Mode_Landscape support="1"></Sence_Mode_Landscape>
  66. <Sence_Mode_Night support="1"></Sence_Mode_Night>
  67. <Sence_Mode_Night_Portrait support="1"></Sence_Mode_Night_Portrait>
  68. <Sence_Mode_Theatre support="1"></Sence_Mode_Theatre>
  69. <Sence_Mode_Beach support="1"></Sence_Mode_Beach>
  70. <Sence_Mode_Snow support="1"></Sence_Mode_Snow>
  71. <Sence_Mode_Sunset support="1"></Sence_Mode_Sunset>
  72. <Sence_Mode_Steayphoto support="1"></Sence_Mode_Steayphoto>
  73. <Sence_Mode_Pireworks support="1"></Sence_Mode_Pireworks>
  74. <Sence_Mode_Sports support="1"></Sence_Mode_Sports>
  75. <Sence_Mode_Party support="1"></Sence_Mode_Party>
  76. <Sence_Mode_Candlelight support="1"></Sence_Mode_Candlelight>
  77. <Sence_Mode_Barcode support="1"></Sence_Mode_Barcode>
  78. <Sence_Mode_HDR support="1"></Sence_Mode_HDR>
  79. </Sence>
  80. <Effect>
  81. <Effect_None support="1"></Effect_None>
  82. <Effect_Mono support="1"></Effect_Mono>
  83. <Effect_Solarize support="1"></Effect_Solarize>
  84. <Effect_Negative support="1"></Effect_Negative>
  85. <Effect_Sepia support="1"></Effect_Sepia>
  86. <Effect_Posterize support="1"></Effect_Posterize>
  87. <Effect_Whiteboard support="1"></Effect_Whiteboard>
  88. <Effect_Blackboard support="1"></Effect_Blackboard>
  89. <Effect_Aqua support="1"></Effect_Aqua>
  90. </Effect>
  91. <FocusMode>
  92. <Focus_Mode_Auto support="1"></Focus_Mode_Auto>
  93. <Focus_Mode_Infinity support="1"></Focus_Mode_Infinity>
  94. <Focus_Mode_Marco support="1"></Focus_Mode_Marco>
  95. <Focus_Mode_Fixed support="1"></Focus_Mode_Fixed>
  96. <Focus_Mode_Edof support="1"></Focus_Mode_Edof>
  97. <Focus_Mode_Continuous_Video support="0"></Focus_Mode_Continuous_Video>
  98. <Focus_Mode_Continuous_Picture support="1"></Focus_Mode_Continuous_Picture></FocusMode>
  99. <FlashMode>
  100. <Flash_Mode_Off support="1"></Flash_Mode_Off>
  101. <Flash_Mode_On support="1"></Flash_Mode_On>
  102. <Flash_Mode_Torch support="1"></Flash_Mode_Torch>
  103. <Flash_Mode_Auto support="1"></Flash_Mode_Auto>
  104. <Flash_Mode_Red_Eye support="1"></Flash_Mode_Red_Eye>
  105. </FlashMode>
  106. <AntiBanding>
  107. <Anti_Banding_Auto support="1"></Anti_Banding_Auto>
  108. <Anti_Banding_50HZ support="1"></Anti_Banding_50HZ>
  109. <Anti_Banding_60HZ support="1"></Anti_Banding_60HZ>
  110. <Anti_Banding_Off support="1"></Anti_Banding_Off>
  111. </AntiBanding>
  112. <HDR support="1"></HDR>
  113. <ZSL support="1"></ZSL>
  114. <DigitalZoom support="1"></DigitalZoom>
  115. <Continue_SnapShot support="1"></Continue_SnapShot>
  116. <PreviewSize width="800" height="600"></PreviewSize>
  117. <DV>
  118. <DV_QCIF name="qcif" width="176" height="144" fps="10" support="1"></DV_QCIF>
  119. <DV_QVGA name="qvga" width="320" height="240" fps="10" support="1"></DV_QVGA>
  120. <DV_CIF name="cif" width="352" height="288" fps="10" support="1"></DV_CIF>
  121. <DV_VGA name="480p" width="640" height="480" fps="10" support="0"></DV_VGA>
  122. <DV_480P name="480p" width="720" height="480" fps="10" support="0"></DV_480P>
  123. <DV_720P name="720p" width="1280" height="720" fps="10" support="1"></DV_720P>
  124. <DV_1080P name="1080p" width="1920" height="1080" fps="10" support="1"></DV_1080P>
  125. </DV>
  126. </SoftWareInfo>
  127. </CamDevie>
  128. <!--
  129. //DVP
  130. -->
  131. <CamDevie>
  132. <HardWareInfo>
  133. <Sensor>
  134. <SensorName name="OV5640" ></SensorName>
  135. <SensorDevID IDname="CAMSYS_DEVID_SENSOR_2"></SensorDevID>
  136. <SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
  137. <SensorI2cBusNum busnum="4"></SensorI2cBusNum>
  138. <SensorI2cAddrByte byte="2"></SensorI2cAddrByte>
  139. <SensorI2cRate rate="100000"></SensorI2cRate>
  140. <SensorMclk mclk="24000000"></SensorMclk>
  141. <SensorAvdd name="NC" min="0" max="0"></SensorAvdd>
  142. <SensorDovdd name="NC" min="18000000" max="18000000"></SensorDovdd>
  143. <SensorDvdd name="NC" min="0" max="0"></SensorDvdd>
  144. <SensorGpioPwen ioname="NC" active="1"></SensorGpioPwen>
  145. <SensorGpioRst ioname="NC" active="0"></SensorGpioRst>
  146. <SensorGpioPwdn ioname="RK30_PIN2_PB4" active="1"></SensorGpioPwdn>
  147. <SensorFacing facing="front"></SensorFacing>
  148. <SensorInterface mode="CCIR601"></SensorInterface>
  149. <SensorMirrorFlip mirror="0"></SensorMirrorFlip>
  150. <SensorOrientation orientation="0"></SensorOrientation>
  151. <SensorPowerupSequence seq="1234"></SensorPowerupSequence>
  152. <SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>
  153. <SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>
  154. <SensorPhy phyMode="CamSys_Phy_Cif" sensor_d0_to_cif_d="0" cif_num="0" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>
  155. </Sensor>
  156. <VCM><VCMDrvName name="NC"></VCMDrvName>
  157. <VCMName name="NC"></VCMName>
  158. <VCMI2cBusNum busnum="0"></VCMI2cBusNum>
  159. <VCMI2cAddrByte byte="0"></VCMI2cAddrByte><VCMI2cRate rate="0"></VCMI2cRate>
  160. <VCMVdd name="NC" min="0" max="0"></VCMVdd>
  161. <VCMGpioPwdn ioname="NC" active="0"></VCMGpioPwdn>
  162. <VCMGpioPower ioname="NC" active="0"></VCMGpioPower>
  163. <VCMCurrent start="20" rated="80" vcmmax="100" stepmode="13"  drivermax="100"></VCMCurrent></VCM>
  164. <Flash>
  165. <FlashName name="NC"></FlashName>
  166. <FlashI2cBusNum busnum="0"></FlashI2cBusNum>
  167. <FlashI2cAddrByte byte="0"></FlashI2cAddrByte>
  168. <FlashI2cRate rate="0"></FlashI2cRate>
  169. <FlashTrigger ioname="NC" active="1"></FlashTrigger>
  170. <FlashEn ioname="NC" active="1"></FlashEn>
  171. <FlashModeType mode="0"></FlashModeType>
  172. <FlashLuminance luminance="0"></FlashLuminance>
  173. <FlashColorTemp colortemp="0"></FlashColorTemp></Flash>
  174. </HardWareInfo>
  175. <SoftWareInfo>
  176. <AWB>
  177. <AWB_Auto support="1"></AWB_Auto>
  178. <AWB_Incandescent support="1"></AWB_Incandescent>
  179. <AWB_Fluorescent support="1"></AWB_Fluorescent>
  180. <AWB_Warm_Fluorescent support="1"></AWB_Warm_Fluorescent>
  181. <AWB_Daylight support="1"></AWB_Daylight>
  182. <AWB_Cloudy_Daylight support="1"></AWB_Cloudy_Daylight>
  183. <AWB_Twilight support="1"></AWB_Twilight>
  184. <AWB_Shade support="1"></AWB_Shade></AWB>
  185. <Sence>
  186. <Sence_Mode_Auto support="1"></Sence_Mode_Auto>
  187. <Sence_Mode_Action support="1"></Sence_Mode_Action>
  188. <Sence_Mode_Portrait support="1"></Sence_Mode_Portrait>
  189. <Sence_Mode_Landscape support="1"></Sence_Mode_Landscape>
  190. <Sence_Mode_Night support="1"></Sence_Mode_Night>
  191. <Sence_Mode_Night_Portrait support="1"></Sence_Mode_Night_Portrait>
  192. <Sence_Mode_Theatre support="1"></Sence_Mode_Theatre>
  193. <Sence_Mode_Beach support="1"></Sence_Mode_Beach>
  194. <Sence_Mode_Snow support="1"></Sence_Mode_Snow>
  195. <Sence_Mode_Sunset support="1"></Sence_Mode_Sunset>
  196. <Sence_Mode_Steayphoto support="1"></Sence_Mode_Steayphoto>
  197. <Sence_Mode_Pireworks support="1"></Sence_Mode_Pireworks>
  198. <Sence_Mode_Sports support="1"></Sence_Mode_Sports>
  199. <Sence_Mode_Party support="1"></Sence_Mode_Party>
  200. <Sence_Mode_Candlelight support="1"></Sence_Mode_Candlelight>
  201. <Sence_Mode_Barcode support="1"></Sence_Mode_Barcode>
  202. <Sence_Mode_HDR support="1"></Sence_Mode_HDR>
  203. </Sence>
  204. <Effect>
  205. <Effect_None support="1"></Effect_None>
  206. <Effect_Mono support="1"></Effect_Mono>
  207. <Effect_Solarize support="1"></Effect_Solarize>
  208. <Effect_Negative support="1"></Effect_Negative>
  209. <Effect_Sepia support="1"></Effect_Sepia>
  210. <Effect_Posterize support="1"></Effect_Posterize>
  211. <Effect_Whiteboard support="1"></Effect_Whiteboard>
  212. <Effect_Blackboard support="1"></Effect_Blackboard>
  213. <Effect_Aqua support="1"></Effect_Aqua>
  214. </Effect><FocusMode><Focus_Mode_Auto support="0"></Focus_Mode_Auto>
  215. <Focus_Mode_Infinity support="0"></Focus_Mode_Infinity>
  216. <Focus_Mode_Marco support="0"></Focus_Mode_Marco>
  217. <Focus_Mode_Fixed support="0"></Focus_Mode_Fixed>
  218. <Focus_Mode_Edof support="0"></Focus_Mode_Edof>
  219. <Focus_Mode_Continuous_Video support="0"></Focus_Mode_Continuous_Video>
  220. <Focus_Mode_Continuous_Picture support="0"></Focus_Mode_Continuous_Picture>
  221. </FocusMode>
  222. <FlashMode>
  223. <Flash_Mode_Off support="1"></Flash_Mode_Off>
  224. <Flash_Mode_On support="1"></Flash_Mode_On
  225. ><Flash_Mode_Torch support="1"></Flash_Mode_Torch>
  226. <Flash_Mode_Auto support="1"></Flash_Mode_Auto>
  227. <Flash_Mode_Red_Eye support="1"></Flash_Mode_Red_Eye>
  228. </FlashMode>
  229. <AntiBanding>
  230. <Anti_Banding_Auto support="1"></Anti_Banding_Auto>
  231. <Anti_Banding_50HZ support="1"></Anti_Banding_50HZ>
  232. <Anti_Banding_60HZ support="1"></Anti_Banding_60HZ>
  233. <Anti_Banding_Off support="1"></Anti_Banding_Off></AntiBanding>
  234. <HDR support="1"></HDR>
  235. <ZSL support="1"></ZSL>
  236. <DigitalZoom support="1"></DigitalZoom>
  237. <Continue_SnapShot support="1"></Continue_SnapShot>
  238. <PreviewSize width="800" height="600"></PreviewSize>
  239. <DV>
  240. <DV_QCIF name="qcif" width="176" height="144" fps="10" support="1"></DV_QCIF>
  241. <DV_QVGA name="qvga" width="320" height="240" fps="10" support="1"></DV_QVGA>
  242. <DV_CIF name="cif" width="352" height="288" fps="10" support="1"></DV_CIF>
  243. <DV_VGA name="480p" width="640" height="480" fps="10" support="1"></DV_VGA>
  244. <DV_480P name="480p" width="720" height="480" fps="10" support="0"></DV_480P>
  245. <DV_720P name="720p" width="1280" height="720" fps="10" support="0"></DV_720P>
  246. <DV_1080P name="1080p" width="1920" height="1080" fps="10" support="0"></DV_1080P>
  247. </DV>
  248. </SoftWareInfo>
  249. </CamDevie>
  250. </BoardFile>
Copy the code

Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 11/30/2018 15:45:20        Only Author  2#
Officail Firmware is okay with ov13850
Just make sure your board connecting and camera module.
http://en.t-firefly.com/doc/product/info/id/267.html
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list