Part Number:DLPDLCR2000EVMOther Parts Discussed in Thread:DLPC2607, DLP2000
按照教程(community.element14.com/…/dlp_pico_display_pro_3)使用無桌面環境的BeagleBone Black(寫入的~/image/bone-debian-9.3-lxql-armhf-2018-01-28-4gb.img.xz鏡像)遠程SSH登陸了終端並完成了聯網下載Mplayer等步驟。DLPDLCR2000ECM已經對準插在BBB上并投影默認畫面。能檢測到該設備的地址0x1b和對應寄存器如下。
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ i2cdetect -y -r 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: — — — — — — — — — — — — —
10: — — — — — — — — — — — 1b — — — —
20: — — — — — — — — — — — — — — — —
30: — — — — — — — — — — — — — — — —
40: — — — — — — — — — — — — — — — —
50: — — — — UU UU UU UU — — — — — — — —
60: — — — — — — — — — — — — — — — —
70: — — — — — — — —
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ i2cdump -y 2 0x1b
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
但是一直感覺DLPC2607驅動已經初始化存在問題。在完成上面事情以後輸入了一下命令:
i2cset -y 2 0x1b 0x0b 0x00 0x00 0x00 0x00 i
i2cset -y 2 0x1b 0x0c 0x00 0x00 0x00 0x1b i
結果投影畫面還是沒有變化。同時使用i2cget查看對應寄存器值發現還是0x00,貌似根本無法寫入更改0x1b地址對應寄存器的值,手動命令無效。
之後按照教程播放視頻出錯:
debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python MplayerTest.py
set slave address: 27
Make sure the display port is set. For example export DISPLAY=:0
1
SourceSel.EXTERNAL_VIDEO_PARALLEL_I_F_
2
Resolution.NHD_LANDSCAPE
##################################################################
play video
nhd_test.mp4
MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing nhd_test.mp4.
libavformat version 58.20.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb68b4340]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 640×360 24bpp 30.000 fps 3600.5 kbps (439.5 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.35.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: mp42avc1
creation_time: 2017-07-07T14:32:35.000000Z
Load subtitles in ./
Audio: no sound
Starting playback…
Movie-Aspect is undefined – no prescaling applied.
VO: [x11] 640×360 => 640×360 Planar YV12 [fs]
[swscaler @ 0xb6943400]bicubic scaler, from yuv420p to rgb565le using C
[swscaler @ 0xb6943400]No accelerated colorspace conversion found from yuv420p to rgb565le.
[swscaler @ 0xb6943400]using unscaled yuv420p -> rgb565le special converter
V: 22.9 0/ 0 54% 51% 0.0% 0 0
Exiting… (End of file)
None
Does the video play on the screen? (Pass/Fail/Stop) (Pass/Fail/Stop) and comment: Test passed
結合之前的錯誤,估計有包括dlpc2607初始化、無法初始化視頻輸出驅動、I2C找不到pctldev、電源控制設備沒有被正確識別等可能原因,具體怎麽解決呢?
Sophie Chen:
这个教程也不是TI 官方的,前端的控制无法提供帮助。
,
ZHIYOU LI:
已收到谢谢。前面的问题已解决。目前有个新问题就是买了新的DLPDLCR2000,然后配置好BBB端,DLP2000插上BBB就能显示桌面和播放相关视频了。但是用完直接断电以后第二次插上BBB就发直接D3指示灯不亮,只有D2灯亮。就像是只能使用第一次的DLP2000似的。即使使用命令打开peoj_on的D3端口高电平也只能显示默认画面了,始终没办法如第一次使用一般插上就显示BB的桌面。难道是我第一次输入修改0x1b 地址的两个寄存器数据后再直接断电使得第二次DLP2000开机没办法初始化了吗?还是说有其他的原因