Hi all,
iMX51 + WinEC700.
Sometime in the serial log i find these messages:
PID:00400002 TID:080F0E62 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\ddraw\ddipu_blt.cpp line 344:
PID:00400002 TID:080F0E62 DDIPU::PatternFill - C2D blt failed.
PID:00400002 TID:080F0E62 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\ddraw\ddipu_blt.cpp line 344:
PID:00400002 TID:080F0E62 DDIPU::PatternFill - C2D blt failed.
I don't know exactly the source but my guess is the draw of a scrollbar slider; in fact it is redrawn bad.
Only once I've found:
PID:00400002 TID:08CF01C6 ERROR: c:\wince700\platform\common\src\soc\common_fsl_v3\ipuv3\common\ipubuffer.cpp line 106:
PID:00400002 TID:08CF01C6 VideoMemory is used up.
How can i solve it?
Solved! Go to Solution.
The correct solution was to select ONLY Z160 module.
This way I have no more errors on the debug output.
If this issue can be reproduced in MX51 BBG board with WCE7 OS?
I don't know: i only own our board based on iMX51.
I usually see the messages when the window needs to redraw the lateral scroll bar: so you can see them in the console window or in the explorer when i navigate in \Windows directory (all files visible).
The scroll bar is badly redrawn.
I added the BSP_DISPLAY_Z160 and BSP_DISPLAY_Z340 in the OS project.
Hi SteM,
DId JinXianfeng provide you with correct answers? If yes, please click Correct Answer so that we can close the DI and JinXianfeng could get 4 points.
Thanks,
Yixing Kong
The correct solution was to select ONLY Z160 module.
This way I have no more errors on the debug output.
The Z430 and Z160 supported C2D features are different. When both of them has been set, in platform.reg, the Z160 setting will be active and it will overwrite the Z430 setting. But in IPU display driver dll, it will link lib2dz430k.lib, in this case, some C2D feature will not work because they are only supported in Z160.
#if $(bsp_display_z430) == "1"
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU]
"C2DFlag"=dword:26 ; Flag for c2d
"C2DThreshold"=dword:64 ; 100
#endif
#if $(bsp_display_z160) == "1"
[HKEY_LOCAL_MACHINE\Drivers\Display\DDIPU]
"C2DFlag"=dword:8136 ; Flag for c2d
"C2DThreshold"=dword:64 ; 100
#endif
SOURCES:
!IF "$(BSP_DISPLAY_Z430)" == "1"
SOURCELIBS= \
$(SOURCELIBS) \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\c2d_ddraw_$(_COMMONSOCDIR).lib \
$(_TARGETPLATROOT)\SRC\DRIVERS\GPU\LIB\$(_TGTCPU)\lib2dz430k.lib \
!ELSE IF "$(BSP_DISPLAY_Z160)" == "1"
SOURCELIBS= \
$(SOURCELIBS) \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\c2d_ddraw_$(_COMMONSOCDIR).lib \
$(_TARGETPLATROOT)\SRC\DRIVERS\GPU\LIB\$(_TGTCPU)\lib2dz160k.lib \
!ELSE
SOURCELIBS= \
$(SOURCELIBS) \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\ddraw_$(_COMMONSOCDIR).lib \
!ENDIF