login|Register
Forum > Camera board
Post|
看66562|回31|Favorite
atomiq 看全部
2015-2-10 20:10:53
Hi,

yesterday i got my orange pi board and 2 original orange pi camera modules. Unfortunatelly i was not able to activate the camera with the bananian image form the orange pi download section.

I tried this:

modprobe ov5640
modprobe sun4i_csi0
dmesg

[CSI]V4L2 device registered as video0
[CSI][OV5640]disalbe oe!
[CSI_ERR][OV5640]chip found is not an target chip.
[CSI_ERR]sensor initial error when csi open!

Has anyone activate the camera?

Thanks
atomiq







jefftut 看全部
2015-2-12 18:38:26

quote:

atomiq replied at 2015-2-11 19:08
This are the parameters in the FEX-File:

I'm trying to get it working as well under Lubuntu but until now, no success at all. I continue to investigate and will keep you informed.
gaara 看全部
2015-2-10 21:24:57
Hi,
Take a look here, you certainly have to configure this.
atomiq 看全部
2015-2-10 23:13:20
Edited by atomiq at 2015-2-10 23:55

Thanks for the link, gaara. You are right, i have to configure the FEX.

Does anyone know, which chip is used by this camera and what are the right parameters:

http://www.aliexpress.com/store/ ... 71_32255931892.html

The cable is labelled with: SH-2035-IPLAY but i did not find any information.

If this is the "official" camera it should be supported by the "official" images
atomiq 看全部
2015-2-11 19:08:36
This are the parameters in the FEX-File:

code:

  1. [csi0_para]
  2. csi_used = 1
  3. csi_dev_qty = 1
  4. csi_stby_mode = 0
  5. csi_mname = "ov5640"
  6. csi_twi_id = 1
  7. csi_twi_addr = 0x3c
  8. csi_if = 0
  9. csi_vflip = 1
  10. csi_hflip = 0
  11. csi_iovdd = "axp20_pll"
  12. csi_avdd = ""
  13. csi_dvdd = ""
  14. csi_vol_iovdd = 2800
  15. csi_vol_dvdd =
  16. csi_vol_avdd =
  17. csi_flash_pol = 0
  18. csi_facing = 0
  19. csi_pck = port:PE00<3><default><default><default>
  20. csi_ck = port:PE01<3><default><default><default>
  21. csi_hsync = port:PE02<3><default><default><default>
  22. csi_vsync = port:PE03<3><default><default><default>
  23. csi_d0 = port:PE04<3><default><default><default>
  24. csi_d1 = port:PE05<3><default><default><default>
  25. csi_d2 = port:PE06<3><default><default><default>
  26. csi_d3 = port:PE07<3><default><default><default>
  27. csi_d4 = port:PE08<3><default><default><default>
  28. csi_d5 = port:PE09<3><default><default><default>
  29. csi_d6 = port:PE10<3><default><default><default>
  30. csi_d7 = port:PE11<3><default><default><default>
  31. csi_reset = port:PH14<1><default><default><0>
  32. csi_power_en = port:PH16<1><default><default><0>
  33. csi_stby = port:PH19<1><default><default><0>

  34. [camera_list_para]
  35. camera_list_para_used = 1
  36. ov7670 = 0
  37. gc0308 = 0
  38. gt2005 = 0
  39. hi704 = 0
  40. sp0838 = 0
  41. mt9m112 = 0
  42. mt9m113 = 0
  43. ov2655 = 0
  44. hi253 = 0
  45. gc0307 = 0
  46. mt9d112 = 0
  47. ov5640 = 1
  48. gc2015 = 0
  49. ov2643 = 0
  50. gc0329 = 0
  51. gc0309 = 0
  52. tvp5150 = 0
  53. s5k4ec = 0
  54. ov5650_mv9335 = 0
  55. siv121d = 0
  56. gc2035 = 0

I checked the user manual and the schematics. The ports seem to be right.

i2cdetect -y 1 gives me the device address 0x3c and i can read the registers with i2cdump -y 1 0x3c.

The communication between the board and the camera seem to work.

But if i used modprobe sun4i_csi0 i2c_addr=0x3c ccm="ov5640" i get:

[ 1844.630141] incomplete xfer (0x20)
[ 1844.634424] [CSI_ERR][OV5640]Error -70 on register write
[ 1844.646490] [CSI_ERR][OV5640]sensor_read err at sensor_detect!
[ 1844.658511] [CSI_ERR][OV5640]chip found is not an target chip.
[ 1844.670003] [CSI_ERR]sensor initial error when csi open!

Is there any way to get information about the chip on the camera module?

zhao_steven 看全部
2015-2-11 22:05:56
camera module is gc2035 chip. Isn't ov5640
1234.. 7NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC