This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Display driver not working on DM365 EVM

Hi,

I'm developing a WinCE Display driver for DM365 EVM board. I'm using the TFT LCD monitor shipped with Davinci(DM6446) EVM for testing the display driver. My display driver when loaded is displaying a green screen on Display. As per the DM365 EVM technical reference, I verified the switch settings for NTSC and they are proper. I could not locate the problem for this behaviour. I'm suspecting the VPBE hardware configuration.

I intend to configure the VPBE controller in Composite-Analog-NTSC mode and in the Standard definition mode. I'm using Video Window 0 and all other windows are deactivated. Just below I pasted the register set dump. Please tell me if I have done anything wrong in configuring the VPBE controller.

========VPSS VPSSCLK Register Dump @ 0x01C70000 ==========
  10392 PID:400002 TID:2c60002 CLKCTRL 0x1

========VPSS VENC Register Dump @ 0x01C70400 ==========
  10394 PID:400002 TID:2c60002 VMOD  0x3

  10395 PID:400002 TID:2c60002 VIDCTRL 0x101

  10397 PID:400002 TID:2c60002 Video Data Processing Register 0x0

  10398 PID:400002 TID:2c60002 Sync Control Register 0x4000

  10399 PID:400002 TID:2c60002 Horizontal Sync Pulse Width Register 0x0

  10400 PID:400002 TID:2c60002 Vertical Sync Pulse Width Register 0x0

  10401 PID:400002 TID:2c60002 Horizontal Interval Register 0x0

  10402 PID:400002 TID:2c60002 Horizontal Valid Data Start Position Register 0x0

  10404 PID:400002 TID:2c60002 Horizontal Data Valid Range Register 0x0

  10405 PID:400002 TID:2c60002 Vertical Interval Register 0x0

  10406 PID:400002 TID:2c60002 Vertical Valid Data Start Position Register 0x0

  10407 PID:400002 TID:2c60002 Vertical Data Valid Range Register 0x0

  10408 PID:400002 TID:2c60002 Horizontal Sync Delay Register 0x0

  10409 PID:400002 TID:2c60002 Veritcal Sync Delay Register 0x0

  10410 PID:400002 TID:2c60002 YCbCr Control Register 0x1

  10412 PID:400002 TID:2c60002 RGB Control Register 0x0

  10413 PID:400002 TID:2c60002 RGB Level Clipping Register 0xFF00

  10414 PID:400002 TID:2c60002 Line Id Control Register 0x0

  10415 PID:400002 TID:2c60002 Culling line control Register 0x0

  10416 PID:400002 TID:2c60002  LCD Output Signal Control Register 0x0

  10417 PID:400002 TID:2c60002 LCD_AC Signal Control 0x0

  10418 PID:400002 TID:2c60002 DCLK Control Register 0x0

  10420 PID:400002 TID:2c60002 DCLK Pattern 0 Register 0x0

  10421 PID:400002 TID:2c60002 DCLK Pattern 1 Register 0x0

  10422 PID:400002 TID:2c60002 DCLK Pattern 2 Register 0x0

  10423 PID:400002 TID:2c60002 DCLK Pattern 3 Register 0x0

  10424 PID:400002 TID:2c60002 DCLK Auxiliary Pattern 0 Register 0x0

  10425 PID:400002 TID:2c60002 DCLK Auxiliary Pattern 1 Register 0x0

  10426 PID:400002 TID:2c60002 DCLK Auxiliary Pattern 2 Register 0x0

  10428 PID:400002 TID:2c60002 DCLK Auxiliary Pattern 3 Register 0x0

  10429 PID:400002 TID:2c60002 Horizontal DCLK Mask start Register 0x0

  10430 PID:400002 TID:2c60002 Horizontal Auxiliart DCLK Mask Atart Register 0x0

  10431 PID:400002 TID:2c60002 Horizontal DCLK Mask Range Register 0x0

  10432 PID:400002 TID:2c60002 Vertical DCLK Mask Start Register 0x0

  10433 PID:400002 TID:2c60002 Vertical DCLK Mask Range Register 0x0

  10434 PID:400002 TID:2c60002 Caption Control Register 0x0

  10435 PID:400002 TID:2c60002 Caption Data Odd Field Register 0x0

  10437 PID:400002 TID:2c60002 Caption Data Even Field Register 0x0

  10438 PID:400002 TID:2c60002 Video Attribute Data 0 Register 0x0

  10439 PID:400002 TID:2c60002 Video Attribute Data 1 Register 0x0

  10440 PID:400002 TID:2c60002 Video Attribute Data 2 Register 0x0

  10441 PID:400002 TID:2c60002 Video Status Register 0x10

  10442 PID:400002 TID:2c60002 GCP-FRC Table RAM Address Register 0x0

  10443 PID:400002 TID:2c60002 GCP-FRC Table RAM Data Port Register 0x0

  10445 PID:400002 TID:2c60002 DAC Test Register 0x0

  10446 PID:400002 TID:2c60002 YOUT and COUT Levels Register 0x0

  10447 PID:400002 TID:2c60002 Sub-Carrier Programming Register 0x17A

  10448 PID:400002 TID:2c60002 Composite Mode Register 0x0

  10449 PID:400002 TID:2c60002 CVBS Timing Control 0 Register 0x0

  10450 PID:400002 TID:2c60002 CVBS Timing Control 1 Register 0x0

  10451 PID:400002 TID:2c60002 Digital RGB Matrix 0 Register 0x400

  10453 PID:400002 TID:2c60002 Digital RGB Matrix 1 Register 0x57C

  10454 PID:400002 TID:2c60002 Digital RGB Matrix 2 Register 0x159

  10455 PID:400002 TID:2c60002 Digital RGB Matrix 3 Register 0x2CB

  10456 PID:400002 TID:2c60002 Digital RGB Matrix 4 Register 0x6EE

  10457 PID:400002 TID:2c60002 Vertical Data Valid Start Position for Even Field Register 0x0

  10458 PID:400002 TID:2c60002 OSD Clock Control 0 Register 0x1

  10459 PID:400002 TID:2c60002 OSD Clock Control 1 Register 0x2

  10460 PID:400002 TID:2c60002 Horizontal Valid Culling Control 0 Register 0x0

  10462 PID:400002 TID:2c60002 Horizontal Valid Culling Control 1 Register 0x0

  10463 PID:400002 TID:2c60002 OSD Horizontal Sync Adavnced Register 0x0

  10464 PID:400002 TID:2c60002 Clock control Register 0x1

  10465 PID:400002 TID:2c60002 Enable gama correction Register 0x0

  10466 PID:400002 TID:2c60002

========VPBE OSD Register Dump @ 0x01C70200 ==========
  10467 PID:400002 TID:2c60002 OSD MODE 0x1200

  10468 PID:400002 TID:2c60002 VIDWIN Mode 0x3

  10470 PID:400002 TID:2c60002 OSD0WIN Mode 0x0

  10471 PID:400002 TID:2c60002 OSD1WIN Mode 0x0

  10472 PID:400002 TID:2c60002 Rectangular Cursor Setup Register 0xF913

  10473 PID:400002 TID:2c60002 Video Window 0 Offset Register 0x45

  10474 PID:400002 TID:2c60002 Video Window 1 Offset Register 0x0

  10475 PID:400002 TID:2c60002 OSD Window 0 Offset Register 0x0

  10476 PID:400002 TID:2c60002 OSD Window 1 Offset Register 0x0

  10478 PID:400002 TID:2c60002 Video Window 01 Address-High register Register 0x30

  10479 PID:400002 TID:2c60002 Video Window 0 Address-Low register Register 0x0

  10480 PID:400002 TID:2c60002 Video Window 1 Address-Low register Register 0x0

  10481 PID:400002 TID:2c60002 OSD Window 01 Address-High register Register 0x0

  10482 PID:400002 TID:2c60002 OSD Window 0 Address-Low register 0x0

  10484 PID:400002 TID:2c60002 OSD Window 1 Address-Low register Register 0x0

  10485 PID:400002 TID:2c60002 Base Pixel X register Register 0x8A

  10486 PID:400002 TID:2c60002 Base Pixel Y register Register 0x12

  10487 PID:400002 TID:2c60002  Video Window 0 X-Position Register 0x0

  10488 PID:400002 TID:2c60002 Video Window 0 Y-Position Register 0x0

  10489 PID:400002 TID:2c60002 Video Window 0 X-Size Register 0x2E0

  10490 PID:400002 TID:2c60002 Video Window 0 Y-Size Register 0xF0

  10492 PID:400002 TID:2c60002 Video Window 1 X-Position Register 0x0

  10493 PID:400002 TID:2c60002 Video Window 1 Y-Position Register 0x0

  10494 PID:400002 TID:2c60002 Video Window 1 X-Size Register 0x0

  10495 PID:400002 TID:2c60002 Video Window 1 Y-Size Register 0x0

  10496 PID:400002 TID:2c60002 OSD Bitmap Window 0 X-Position Register 0x0

  10497 PID:400002 TID:2c60002 OSD Bitmap Window 0 Y-Position Register 0x0

  10498 PID:400002 TID:2c60002 OSD Bitmap Window 0 X-Size Register 0x0

  10499 PID:400002 TID:2c60002 OSD Bitmap Window 0 Y-Size Register 0x0

  10501 PID:400002 TID:2c60002 OSD Bitmap Window 1 X-Position Register 0x0

  10502 PID:400002 TID:2c60002 OSD Bitmap Window 1 Y-Position Register 0x0

  10503 PID:400002 TID:2c60002 OSD Bitmap Window 1 X-Size 0x0

  10504 PID:400002 TID:2c60002 OSD Bitmap Window 1 Y-Size Register 0x0

  10505 PID:400002 TID:2c60002 Rectangular Cursor Window X-Position Register 0x0

  10506 PID:400002 TID:2c60002 Rectangular Cursor Window Y-Position Register 0x0

  10507 PID:400002 TID:2c60002 Rectangular Cursor Window X-Size Register 0x2

  10509 PID:400002 TID:2c60002 Rectangular Cursor Window Y-Size Register 0x1

  10510 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map 0/1 Register 0x0

  10511 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map 2/3 Register 0x0

  10512 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map 4/5 Register 0x0

  10513 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map 6/7 Register 0x0

  10514 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map 8/9 Register 0x0

  10516 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map A/B Register 0x0

  10517 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map C/D Register 0x0

  10518 PID:400002 TID:2c60002 Window 0 Bitmap Value to Palette Map E/F Register 0x0

  10519 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map 0/1 Register 0x0

  10520 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map 2/3 Register 0x0

  10521 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map 4/5 Register 0x0

  10522 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map 6/7 Register 0x0

  10524 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map 8/9 Register 0x0

  10525 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map A/B Register 0x0

  10526 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map C/D Register 0x0

  10527 PID:400002 TID:2c60002 Window 1 Bitmap Value to Palette Map E/F Register 0x0

  10528 PID:400002 TID:2c60002 Test mode Register 0x0

  10529 PID:400002 TID:2c60002 Extended mode Register 0x0

  10530 PID:400002 TID:2c60002 Miscellaneous Control Register 0x1000

  10531 PID:400002 TID:2c60002 CLUT RAMYCB Setup Register 0x0

  10533 PID:400002 TID:2c60002 CLUT RAM Setup Register 0x0

  10534 PID:400002 TID:2c60002 Transparency color code-Lower Register 0x0

  10535 PID:400002 TID:2c60002 Transparency color code-Upper Register 0x0


regards,
T.Dilip Chakravarthy