> From: Lawrence Glaister [mailto:[EMAIL PROTECTED]]
>
> [SNIP]
>
> item 2:
> I have been pouring over the registers and noticed what
> appears to be an
> error in the values used for lncnt. (claudio see line 845-856
> of your latest
> ov511.c). The values are set to 0x3d for 480 line modes which
> according to
> the spec would allow 496 lines of data to be transfered from
> the sensor... I
> think the correct values should be 0x4b.  The other
> resolutions seem to have
> a similar problem. The ov511 data sheet shows a default of 0x1d which
> computes as (0x1d+1)*8 = 0xf0 = 240 lines. Is there a reason
> why we allow
> the sensor to send up to 16 extra lines? The lncnt value
> ultimately gets
> output to the ov511 register 0x13. I wonder if this may be
> the cause of the
> overnight hanging problems... could we be getting extra data
> from the sensor
> which is not being read by the driver, resulting in a pile up
> of unread data
> (ov511 fifo full?).

The original linecount values were based on input from Herbert Duerr (email
attached).  He ran the camera under win98 and had an analyzer (or something)
that allowed him to read the regs after setting it in different modes.  This
was done before the camera driver worked at all - we were desperately trying
to get enough of the registers right so that we'd get something
decipherable.

Have you tried it with the other values?  If they work, then I agree it
should be changed to match ovt's docs.

Bret


On Thu, 6 Jan 2000 11:50:35    Bret Wallach wrote:
>It's not beautiful and I haven't dealt with the color yet but it is what
the
>camera is looking at!!!!!!!!!!!!

WOW!!!! This is great news.
I'm looking forward to play with this golden driver.

Here is some more food for your OV5111 regs:

Video Settings1: 640x480, 24bit RGB, quality>speed
Video Settings2: 320x240, I420, quality>speed
Video Settings3: 160x120, I420, quality>speed

Only changed register values have been written down
        (regno) (vs1)   (vs2)   (vs3)

OV511 regs:
        10      00
        11      01
        12      4f      27      13
        13      3d      1f      10
        14      00              01
        15      00              01
        16      01
        17      00
        18      03              01
        19      00
        1a      4f
        1b      3b
        1c      00
        1d      00
        1e      01
        1f      06

        20      01
        21      01
        22      01
        23      1a

        30      1f      18      10
        31      03
        38      00
        39      00
        3e      00

        40      07
        41      00
        42      00
        43      00
        44      00
        45      00
        46      00
        47      00
        48      13
        49      00

        50      00
        51      00
        52      01
        53      01
        5e      5a
        5f      00

        70      3f
        71      3f
        72      01
        73      01
        74      01
        75      01
        76      01
        77      01
        78      07
        79      03

        80      10
        81      21
        82      32
        83      43
        84      11
        85      21
        86      32
        87      44
        88      11
        89      22
        8a      43
        8b      44
        8c      22
        8d      32
        8e      44
        8f      44
        90      22
        91      43
        92      54
        93      55
        94      33
        95      44
        96      55
        97      55
        98      43
        99      44
        9a      55
        9b      55
        9c      44
        9d      44
        9e      55
        9f      55

        a0      20
        a1      32
        a2      44
        a3      44
        a4      22
        a5      42
        a6      44
        a7      44
        a8      22
        a9      43
        aa      44
        ab      44
        ac      43
        ad      44
        ae      44
        af      44
        b0      44
        b1      44
        b2      44
        b3      44
        b4      44
        b5      44
        b6      44
        b7      44
        b8      44
        b9      44
        ba      44
        bb      44
        bc      44
        bd      44
        be      44
        bf      44

OV7610 regs:
        00      1E      0f      0f
        01      80      3f      80
        02      80      40      80
        03      86      c0      c0
        04      80
        05      ff      00      00
        06      5a      60      5c
        07      d4
        08      80
        09      80
        0a      80
        0b      e0
        0c      1f      24      24
        0d      1f      24      24
        0e      15
        0f      03
        10      ff
        11      01      00      00
        12      24      04      04
        13      01
        14      04      24      24
        15      01
        16      06
        17      38
        18      03
        19      05
        1a      f4
        1b      28
        1c      7f
        1d      a2
        1e      c4
        1f      04
        20      1c
        21      80
        22      80
        23      2a
        24      10
        25      8a
        26      70
        27      c2
        28      24
        29      11
        2a      04
        2b      ac
        2c      fe
        2d      93
        2e      80
        2f      b0      30      30
        30      71      ff      71
        31      90      ff      90
        32      22      ff      22
        33      20
        34      8b
        35      9e      1e      1e
        36      7f
        37      7f
        38      81




LYCOShop is now open. On your mark, get set, SHOP!!!
http://shop.lycos.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to