主题 : Smart210编译光盘中的Wince示例内核LCD显示不正常无法触屏 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 140942
精华: 0
发帖: 8
金钱: 40 两
威望: 8 点
贡献值: 0 点
综合积分: 16 分
注册时间: 2019-02-11
最后登录: 2019-02-23
楼主  发表于: 33天前

 Smart210编译光盘中的Wince示例内核LCD显示不正常无法触屏

LCD S701
编译光盘中的Wince示例内核烧录后,LCD分辨率为640x480,无法触屏,ioctl.c
复制代码
  1. unsigned int lcd_width = 800, lcd_height = 480, lcd_bpp = 16;
,把640修改成800后显示正常但有点向右偏,无法触碰。

烧录光盘中的NK.bin是正常的,不知道哪里出问题

ioctl.c  get_lcd_param() 这个函数返回值始终是 NULL  

COM输出信息
复制代码
  1. Reading...Load Windows CE...
  2. Launch Windows CE...
  3. Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 25 2009 at 11:04:23
  4. ARGS: Initializing BSP_ARGS back to initial state.
  5. OAL Log enable : 0
  6. OAL Log mask : 0
  7. ******** System Clock Info **********
  8. [OAL] APLL_CLK    : 1000000000 Hz
  9. [OAL] MPLL_CLK    :  667000000 Hz
  10. [OAL] EPLL_CLK    :   80000000 Hz
  11. [OAL] VPLL_CLK    :   54000000 Hz
  12. [OAL] ARM_CLK     :          0 Hz
  13. [OAL] HCLK_MSYS   :  200000000 Hz
  14. [OAL] PCLK_MSYS   :  100000000 Hz
  15. [OAL] HCLK_DSYS   :  166750000 Hz
  16. [OAL] PCLK_DSYS   :   83375000 Hz
  17. [OAL] HCLK_PSYS   :  133400000 Hz
  18. [OAL] PCLK_PSYS   :   66700000 Hz
  19. ******** System Clock Info **********
  20. OEM:-------------------------------------------
  21. OEM: Normal Boot!!
  22. OEM:-------------------------------------------
  23. DCache: 128 sets, 4 ways, 64 line size, 32768 size
  24. ICache: 128 sets, 4 ways, 64 line size, 32768 size
  25. +OALInterruptInit
  26. -OALInterruptInit(rc = 1)
  27. NandMlc2Probe: 0
  28. [FMD] FMD_GetInfo() : KEEP_DATA_IN_BLOCK = 532, KEEP_DATA_IN_SECTOR = 34048
  29. [FMD] FMD_GetInfo() : KEEP_DATA_IN_BLOCK = 532, KEEP_DATA_IN_SECTOR = 34048
  30. [FMD] FMD_GetInfo() : KEEP_DATA_IN_BLOCK = 532, KEEP_DATA_IN_SECTOR = 34048
  31. [FMD] FMD_GetInfo() : KEEP_DATA_IN_BLOCK = 532, KEEP_DATA_IN_SECTOR = 34048
  32. DMSG: DrvWAITInitialize
  33. + NKKernelLibIoControl
  34. - NKKernelLibIoControl
  35. [FMD] FMD_GetInfo() : KEEP_DATA_IN_BLOCK = 532, KEEP_DATA_IN_SECTOR = 34048
  36. DMSG: DrvWAITInitialize
  37. + NKKernelLibIoControl
  38. - NKKernelLibIoControl
  39. [I2C:I] I2C Channel 0 is open
  40. [I2C:I] I2C Channel 1 is open
  41. [I2C:I] I2C Channel 2 is open
  42. [I2C:I] I2C Channel 3 is open
  43. -OALIoCtlHalGetHWEntropy(rc = 0)
  44. EPM_Init
  45. ############################### OHCI INIT ########################
  46. ############################### --OHCI INIT ########################
  47. --lcd_param Info()
  48. !!!!!! [ERROR] lcd_param is NULL !!!1
  49. [WAV] I2C OPEN : I2C0: SUCCESS
  50. [WAV] ACTUAL I2C CLCOK SPEAD : 8 Khz
  51. [CEC] DllEntry() : Process Attach
  52. [CEC] CEC_Init()
  53. ::AttachDevice SUCCESS_FS:2000
  54.                               <Davicom DM9000A driver for WinCE 6.0>
  55.                                                                     <DM9:++MiniportIntialize>
  56.                                                                                              [dm9: Tries to map io space with 88000000]
  57.                                                                                                                                        [dm9: The mapped address is D3130000]
  58.                                                                                                                                                                             [dm9: Chip signature is 0A469000]
  59.                                MAC: e6-f8-f2-ad-10-d7
  60. <DM9:--MiniportIntialize>
  61.                          [SDMMCCh0] SDHCControllerIst - Card is Inserted!
  62.                                                                           [SDMMCCh0] Setting for 1 bit mode , Clock Rate = 100000 Hz
  63.                                                                                                                                     [SDMMCCh0] HandleErrors - ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
  64.                                                      [SDMMCCh0] HandleErrors - ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
  65.                                                                                                                                                    UART3 Rx Tx Configured
  66. [UART] DMA init CH:3
  67. m_dwDevIndex == 3
  68. [UART] [CreateSerialObject] 3 D32E5960
  69. m_dwDevIndex == 3
  70. [UART] DMA init CH:2
  71. m_dwDevIndex == 2
  72. [UART] [CreateSerialObject] 2 D32E6B20
  73. m_dwDevIndex == 2
  74. [UART] DMA init CH:1
  75. m_dwDevIndex == 1
  76. [UART] [CreateSerialObject] 1 D32EA8E0
  77. m_dwDevIndex == 1
  78. ::AttachDevice SUCCESS_FS:2000
  79.                               ++PHY_SetPowerDown
  80. 0x01
  81. 0x05 0x00 0xd8 0x10 0x1c 0x30 0x40 0x6b
  82. 0x10 0x02 0x52 0x1f 0x23 0x5b 0x7e 0x84
  83. 0x00 0x10 0x38 0x00 0x08 0x10 0xe0 0x22
  84. 0x40 0xf3 0x26 0x00 0x00 0x00 0x80
  85. [SDBUS] SD/SDHC supports the high-speed mode.
  86. [SDMMCCh0] Setting for 4 bit mode , Clock Rate = 50000000 Hz
  87.                                                             --PHY_SetPowerDown
  88. [UART] [CreateSerialObject] 0 0
  89. MFC power on
  90. MFC power off
  91. HTV: Inited
  92. LED_Init
  93. LED_Gpio_Setting
  94. GPI_Init
  95. [u][i][b]--lcd_param Info()
  96. !!!!!! [ERROR] lcd_param is NULL !!!1
  97. ++OALIoCtlHalGetDispInfo()
  98. Exception 'Data Abort' (4): Thread-Id=061c0002(pth=8a112594), Proc-Id=00400002(pprc=829e9308) 'NK.EXE', VM-active=00400002(pprc=829e9308) 'NK.EXE'
  99. PC=8002a934(NK.EXE+0x0000a934) RA=8002cfc8(NK.EXE+0x0000cfc8) SP=d3dff480, BVA=00000000
  100. --OALIoCtlHalGetDispInfo()
  101. FriendlyARM got the LCD paramters, Name is
  102. ++OALIoCtlHalGetDispInfo()
  103. Exception 'Data Abort' (4): Thread-Id=061c0002(pth=8a112594), Proc-Id=00400002(pprc=829e9308) 'NK.EXE', VM-active=00400002(pprc=829e9308) 'NK.EXE'
  104. PC=8002a934(NK.EXE+0x0000a934) RA=8002cfc8(NK.EXE+0x0000cfc8) SP=d3dff25c, BVA=00000000
  105. --OALIoCtlHalGetDispInfo()
  106. --lcd_param Info()
  107. !!!!!! [ERROR] lcd_param is NULL !!!1
  108. ++OALIoCtlHalGetDispInfo()
  109. Exception 'Data Abort' (4): Thread-Id=061c0002(pth=8a112594), Proc-Id=00400002(pprc=829e9308) 'NK.EXE', VM-active=00400002(pprc=829e9308) 'NK.EXE'
  110. PC=8002a934(NK.EXE+0x0000a934) RA=8002cfc8(NK.EXE+0x0000cfc8) SP=d3dffae0, BVA=00000000[/b][/i][/u]
  111. --OALIoCtlHalGetDispInfo()
  112. [u][b][i][size=5][b]This is  NOT a 1-wire touch pannel[/b][/size][/i][/b][/u]
  113. [BootCompleteApp] Boot Complete Event Occured
  114. [HDMI Startup] Mode, Double Size, Enabled, Auto Config 8 1 1 1
  115. ++OALIoCtlHalGetDispInfo()
  116. Exception 'Data Abort' (4): Thread-Id=06b80002(pth=8a177774), Proc-Id=00400002(pprc=829e9308) 'NK.EXE', VM-active=06b70002(pprc=8a17745c) 'HDMI_StartApp.exe'
  117. PC=8002a934(NK.EXE+0x0000a934) RA=8002cfc8(NK.EXE+0x0000cfc8) SP=d52dfbdc, BVA=00000000
  118. --OALIoCtlHalGetDispInfo()
  119. --lcd_param Info()
  120. !!!!!! [ERROR] lcd_param is NULL !!!1
  121. [STDA_TVoutIF_init_param] Setup Callback !!!
  122. ++PHY_SetPowerOn
  123. --PHY_SetPowerOn
  124. ++ PHYConfig [PHYFreq=6][cd=2]
  125. [size=32]
  126. [index=0]
  127. 0x01
  128. 0x05 0x00 0xd8 0x10 0x9c 0xf8 0x40 0x6b
  129. 0x10 0x01 0x52 0xff 0x31 0x5b 0xba 0x84
  130. 0x00 0x10 0x38 0x00 0x08 0x10 0xe0 0x22
  131. 0x40 0xa4 0x26 0x01 0x00 0x00 0x80 [PHY]:
  132. 0x05 0x00 0xd8 0x10 0x9c 0xf8 0x40 0x6b
  133. 0x10 0x01 0x52 0xff 0x31 0x5b 0xba 0x84
  134. 0x00 0x10 0x38 0x00 0x08 0x10 0xe0 0x22
  135. 0x40 0xa4 0x26 0x01 0x00 0x00 0x00
  136. [HDMI: HDMICoreReset] pHDMISSReg->HDMI_CORE_RSTOUT=0x1
  137. [HDMI: HDMICheckPhyReady] 1
  138. [HDMI: HDMICheckPhyReady] Successed to hdmi phy on [pHDMICoreReg->HDMI_PHY_STATUS=0x1]
  139. HTV0: Succeeded to Startup HDMI TV


FriendlyARM got the LCD paramters, Name is
无法识别LCD型号
This is  NOT a 1-wire touch pannel
无法触屏

目前毫无头绪,求大师指点