Go to previous topic
Go to next topic
Last Post 30 Sep 2016 02:43 PM by  Adam Ford
Frame rotation flicker
 7 Replies
Author Messages
Michael Lavoie
New Member
New Member
Posts:9


--
29 Sep 2016 04:58 PM

    I'm migrating a WinCE SOMOMAP3530 project from the (small) 128MB SDRAM to the (large) 256MB SDRAM version.  I am experiencing a display flicker when the frame refreshes.  I've traced this back to a Platform.reg setting.  A few comments from the file are:

        ; Note: Rotation should not be used with the flat frame buffer, memory/bus bandwidth may
        ; be exceeded by display scanning requirements causing display to flicker and/or lock up.

    There is no flicker when using the small SDRAM version.  There is flicker when using the larger SDRAM version.  I wonder if this issue was ever resolved by later BSP release.   I'm only seeing a single RevA BSP release, dating to Feb2009.

     I've seen some VRFB code support but I'm not able to get this working.  Is this VRFB supposed to work?

    Bottom line is: How can I get the frame rotated 90', when using the "large" SOM.

     

    Thanks for the help

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    30 Sep 2016 09:14 AM
    Can I assume you're referring to an OMAP3530 SOM-LV?

    The latest BSP Source is from 2012 listed as Rev 2.11. http://support.logicpd.co...talid=0&EntryId=1476

    I think the Rev A from 2009 you're referencing is the BSP Labs. http://support.logicpd.co...talid=0&EntryId=1529


    Can you tell me which version of LogicLoader you're using?

    Can you tell me the part number of the SOM you're using, so I can attempt to replicate your issue? The part number should look like 1xxxxxx.

    Thank you,

    adam
    Michael Lavoie
    New Member
    New Member
    Posts:9


    --
    30 Sep 2016 10:18 AM
    yes: OMAP3530 SOM-LV

    This is what I have running:
    -----------------------------------------
    LOGIC OMAP35X SOM Revision Information
    .......................................
    BSP Revision : 2.1.0
    Built for Hardware : OMAP35x SOM-LV
    -----------------------------------------


    LoLo info:
    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2010, Logic Product Development, Inc.
    All Rights Reserved.

    LoLo Version: 2.4.15RC1-OMAP3503 0001
    SOM Model Number: SOMOMAP3530-11-1782IFXR-B
    SOM Part Number: 1027608
    SOM Serial Number: (not shown)

    *****************************************************************
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    30 Sep 2016 12:35 PM
    Michael,

    According to the PCN located here: http://support.logicpd.com/downloads/1140/ the migration from a -10 SOMLV to a -11 changed the RAM and NAND parameters which required a change to Logic Loader, and the WinCE BSP. If you're moving from a SOM with 128MB DDR to 256, you'll need the updated BSP. Having said that, the same PCN shows a change of the USB controller, so if you're using the USB Host controller (not the OTG) you may want to verify the functionality as well.

    Secondly, there are a couple ways of rotating the screen. According to TI's FAQ, they don't recomend using the VRFB when the platform is pre-decided in either Landscape or Portrait mode. http://processors.wiki.ti...need_to_enable_it.3F

    Can you tell me how you are performing the screen rotation, so I can attempt to match your configuration?

    adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    30 Sep 2016 12:45 PM
    Can you also send me the part number of of the 128MB version of the SOM that works for you? I want to double check to see if the older version is -10 or -11

    adam
    Michael Lavoie
    New Member
    New Member
    Posts:9


    --
    30 Sep 2016 02:14 PM
    Old SOM: 1016347 RevC SOMOMAP3530-11-1672IFXR-A
    New SOM: 1027608 RevA SOMOMAP3530-11-1782IFXR-B

    I've pulled in the latest BSP. The Os builds but I have lost my applications settings.

    Now seeing:
    -----------------------------------------
    LOGIC OMAP35X SOM Revision Information
    .......................................
    BSP Revision : 2.1.1
    Built for Hardware : OMAP35x SOM-LV
    -----------------------------------------
    Michael Lavoie
    New Member
    New Member
    Posts:9


    --
    30 Sep 2016 02:22 PM
    The rotation is done with:
    C:\WINCE600\PLATFORM\LOGIC_SOM_OMAP35x\FILES\platform.reg, it propagates to reginit.ini
    [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
    For no rotation:
    "Angle" = dword:0
    For 90' rotation:
    "Angle" = dword:1
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    30 Sep 2016 02:43 PM
    For our kits, according to the developers from 2008, they recomended:

    [HKEY_LOCAL_MACHINE\System\GDI\Drivers]
    "Display"="ddi.dll"
    ; 0 for flat surface manager, 1 for VRFB surface manager
    ; Note: Some video CODECs may fail with VRFB surface manager enabled.
    ; Note: VRFB surface manager provides fast hardware based screen rotation.
    ; Note: Screen rotation using the Flat surface manager does not work at this time.
    IF BSP_NOVRFB
    "SurfaceMgr" = dword:0
    ELSE
    "SurfaceMgr" = dword:1
    ENDIF
    "TVOut" = dword:1
    ; sets initial screen rotation
    ; use 0 for 0 degree, 1 for 90 degree, 2 for 180 degree and 4 for 270 degree
    ; Note: Rotation should not be used with the flat frame buffer, memory/bus bandwidth may
    ; be exceeded by display scanning requirements causing display to flicker and/or lock up.
    "Angle" = dword:1
    ; Logic Display Kits:
    ; not supported 1 == LQ057Q3DC02 TFT QVGA (5.7) Sharp
    ; 2 == LQ121S1DG31 TFT SVGA (12.1) Sharp
    ; 3 == LQ036Q1DA01 TFT QVGA (3.6) Sharp w/ASIC
    ; 5 == LQ64D343 TFT VGA (6.4) Sharp
    ; not supported 6 == LQ035Q7DB02 TFT QVGA (3.5) Sharp
    ; not supported 7 == LQ10D368 TFT VGA (10.4) Sharp
    ; not supported 8 == LQ035Q7DB02-20 TFT QVGA (3.5) Sharp w/ASIC
    ; 15 == LQ043T1DG01 TFT XQVGA (4.3)
    "LcdType"=dword:F
    ;
    ; DSS registers, LCD registers, RFB registers, VENC registers, SDRAM palette
    ; LCD parameters (Bpp, GPIO Pin, Width,Height) VRFB rotation (Eanble/Disable),
    ; GrayPalette(Enable/Disable, for 8Bpp/4Bpp mode),
    ; OverlayPipeline (1/2: Video 1 or Video 2)
    ;
    "MemBase"=multi_sz:"48050000","48050400","48050800","48050C00","87800000"
    "MemLen"=multi_sz:"00000400","00000400","00000400","00000400","00800000"
    "Bpp"=dword:10
    "VRFB" = dword:1
    "GrayPalette" = dword:0
    "OverlayPipeline" = dword:1
    "gpioLCD"=dword:1C
    "CxPanel"=dword:280
    "CyPanel"=dword:1E0
    ; "PowerDelay"=dword:03e8
    ; SW Emulated Rotation Not Supported, use VRFB
    ;[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
    ; "Angle"=dword:5A


    As soon as I can get my build machine running on OMAP35 for our development kits, I can test this.



    ---