iMX51 sometimes doesn't load the LCD driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX51 sometimes doesn't load the LCD driver

1,258 Views
SteM
Contributor III

Hi all,

iMX51 + WinEC700.

The BSP is based on the BSP from Freescale.

Sometimes happens that at the OS start - after the bootloader - the screen stays blank (especially if i'm running with the batteries, with the wall charger i never see that).

If I check on the debug log i see the following:

1. correct

  ..

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Windows CE Kernel for ARM (Thumb Enabled)

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

OEMInit:  silicon€’•Ùê‚ÂÉ‚j¤$ê+–V)¤‚ÂÁrj¤tJåJzÅj*‹+Ê+‹—Z•EÅ

                                                            ‰TkW–,«V¨HøPID:00400002 TID:00510002 OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

PID:00400002 TID:00510002 WARNING: SRTC was reset.

PID:00400002 TID:009F0006 IpuBufferManagerInit(): Detected reserved video memory(67108864 bytes), will ignore registry setting!

PID:00400002 TID:009F0006 BSPGetPercentOfPowerCapability 35% 3570mV

PID:00400002 TID:009F0006 - in=35 ret=35

PID:00400002 TID:009F0006 +BSPBacklightInitialize

PID:00400002 TID:009F0006 +BSPBlSetInt 255

VBridge:: VB_INITIALIZED returns [0]

PID:00400002 TID:02EE0002       UsbHost : New Hub [address(1) / layer(0)]

PID:00400002 TID:03D1000E       UsbHost : New Function [address(2) / layer(1)]

PID:00400002 TID:046C0006 +BSPInitializePanel portID=4 'LVDS 1024x768 Tianma'

PID:00400002 TID:046C0006 --++++++--

PID:05990016 TID:055A0032 MBS: DllMain(1)

PID:00400002 TID:03D1000E       UsbHost : New Function [address(3) / layer(1)]

PID:00400002 TID:03D1000E       USBHost : Detach Function [address(2) / layer (1)]

PID:05220036 TID:05240036 +FileEsists \SDMemory\Reboot\Delete\UpdDel.inf

PID:05220036 TID:05240036 -FileExist err=3

PID:05220036 TID:05240036 +DirEsists \SDMemory\Reboot\Copy\

PID:05220036 TID:05240036 (startup) Check registry backup

PID:00400002 TID:01DA0072 - in=35 ret=35

PID:055B005A TID:05AD005A CP_UTF8 Supported

                                           PID:00400002 TID:01DA0072 - in=35 ret=35

PID:00400002 TID:05AD005A +BSPBlSetInt 255

PID:00400002 TID:05AD005A +BSPBlSetInt 255

PID:00400002 TID:05AD005A - in=35 ret=35

PID:055B005A TID:04CE0086 CP_UTF8 Supported

PID:055B005A TID:04B5009E CP_UTF8 Supported

PID:055B005A TID:04FF00A2 CP_UTF8 Supported

PID:00400002 TID:05AD005A - in=35 ret=35

PID:055B005A TID:053400A2 CP_UTF8 Supported

PID:00400002 TID:05AD005A - in=35 ret=35

PID:00400002 TID:01DA0072 - in=35 ret=35

PID:055B005A TID:051C00A6 CP_UTF8 Supported

PID:055B005A TID:051C00A6 [SDI]: Start device init

PID:00400002 TID:05AD005A - in=35 ret=35

...

The screen is initialized between the USB detections (always..).

When I have the blank screen the log is:

...

    OSC         =   24000000 Hz

    CKIH_CAMP1  =   22579200 Hz

    CKIH2_CAMP2 =          0 Hz

    CKIH2       =          0 Hz

    FPM         =   33554432 Hz

Windows CE Kernel for ARM (Thumb Enabled)

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

OEMInit:  silicon€’•Ùê‚ÂÉ‚j¤$ê+–V)¤‚ÂÁrj¤tJåJzÅj*‹+Ê+‹—Z•EÅ

                                                            ‰TkW–,«V¨Hø PID:00400002 TID:00510002 OALIoCtlHalInitRTC(2006/1/1 12:0:0.000)

PID:00400002 TID:00510002 WARNING: SRTC was reset.

PID:00400002 TID:009F0006 IpuBufferManagerInit(): Detected reserved video memory(67108864 bytes), will ignore registry setting!

PID:00400002 TID:009F0006 BSPGetPercentOfPowerCapability 40% 3585mV

PID:00400002 TID:009F0006 lim min=35

PID:00400002 TID:009F0006 - in=40 ret=35

PID:00400002 TID:009F0006 +BSPBacklightInitialize

PID:00400002 TID:009F0006 +BSPBlSetInt 255

VBridge:: VB_INITIALIZED returns [0]

PID:00400002 TID:02E90002       UsbHost : New Hub [address(1) / layer(0)]

PID:00400002 TID:03E10006       UsbHost : New Function [address(2) / layer(1)]

PID:00400002 TID:03E10006       UsbHost : New Function [address(3) / layer(1)]

PID:00400002 TID:01DA0072 - in=40 ret=35

PID:00400002 TID:01DA0072 - in=40 ret=35

PID:00400002 TID:01DA0072 BSPGetPercentOfPowerCapability 35% 3561mV

PID:00400002 TID:01DA0072 - in=35 ret=35

PID:00400002 TID:01DA0072 - in=35 ret=35

...

That means that the LCD driver (and the next apps) is not loaded but i don't know why???

Any idea?

Labels (2)
8 Replies

1,006 Views
justin_jiang
NXP Employee
NXP Employee

Can you disable the USB driver and have a try?

1,006 Views
SteM
Contributor III

Do you mean to disable the USB item in the catalog?

No, for the moment ..

0 Kudos

1,006 Views
justin_jiang
NXP Employee
NXP Employee

Yes. You can remove the USB drivers in the catalog to check if the usb driver impacted the LCD.

0 Kudos

1,006 Views
SteM
Contributor III

Ok, but i don't know if the USB driver is the culprit: this is the best clue i have, so far.

0 Kudos

1,006 Views
SteM
Contributor III

After some negative consecutive tests (that is, blank screens) I deleted the /Registry/system.hv file.

After that the system was able to start (?!?!?!?!?!?).

I don't really understand how it is possible: seems the registry is corrupted .. but the applications are not running.

0 Kudos

1,006 Views
justin_jiang
NXP Employee
NXP Employee

Did you enable the HIV registry?

1,006 Views
SteM
Contributor III

Yes

0 Kudos

1,006 Views
justin_jiang
NXP Employee
NXP Employee

Maybe it doesn't use the new HIV registry? I am not sure. You can check it.