Loading...
首页问答  

如何点亮7寸显示屏?

天空
天空  发布于 2021-07-15 10:05:45 58

第一步:cd /ko目录, cp sys_config.ko_mipi sys_config.ko
第二步:在/ko目录下运行./mipi_4lane_800*480.sh
第三步:将百度网盘中的sample_tde运行,参数为1,

我需要测试配套的7寸屏是否好的。如何点亮?照着上述步骤测试,到了第二步,屏幕确实变亮了,但是一片白,没显示任何内容。
到了第三步,提示根本没有参数1,只有参数0.执行参数0,屏幕直接变黑了。以下是终端输出:

/ko # ./mipi_4lane_800480.sh
** Board tools : ver0.0.1_20121120 *

i2c_num:0x2, dev_addr:0x58; reg_addr:0x20; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x21; data:0xe0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x22; data:0x13; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x23; data:0xd2; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x24; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x25; data:0x2e; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x26; data:0x0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x27; data:0x16; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x28; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x29; data:0x17; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x34; data:0x80; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x36; data:0xd2; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120
debug: {source/utils/cmdshell.c:168}cmdstr:i2random: fast init done
c_write
i2c_num:0x2, dev_addr:0x58; reg_addr:0xb5; data:0xa0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x5c; data:0xff; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x2a; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x56; data:0x90; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x6b; data:0x71; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x69; data:0x29; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x10; data:0x55; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x11; data:0x88; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0xb6; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x51; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x9; data:0x10; reg_width: 1; data_width: 1.
[END]
/ko # mount -t nfs -o nolock 192.168.100.141:/home/yqq/nfs_dir /mnt
/ko # cd /mnt
/mnt # ls
mipi_4lane_800x480.sh sample_vio_mipi0
sample_tde sample_vio_mipi2
/mnt # ./sample_tde 1
[main]-588: index invaild!only support index 0, please try again.
[sample_usage1]-618: Usage : ./sample_tde
[sample_usage2]-610:

/**index**/
[sample_usage2]-611: please choose the case which you want to run:
[sample_usage2]-612: 0: circumrotate
/mnt # ./sample_tde 0
[main]-598:
index 0 selected.
[SAMPLE_COMM_VO_StartChn]-610: u32Width:800, u32Height:480, u32Square:1
[SAMPLE_PRIVATE_VO_InitMipiTxDev]-3916: error: mipi_tx dev has not been initialized yet
*stVoCSC.enCscMatrix=9
error when open pszFileName res/background.bits, line:141
error when open pszFileName res/apple.bits, line:141
error when open pszFileName res/applets.bits, line:141
error when open pszFileName res/calendar.bits, line:141
error when open pszFileName res/foot.bits, line:141
error when open pszFileName res/gmush.bits, line:141
error when open pszFileName res/gimp.bits, line:141
error when open pszFileName res/gsame.bits, line:141
error when open pszFileName res/keys.bits, line:141
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!

淅沥小雨  发布于 2021-07-15 10:31:15

把res目录移到可执行程序的同级目录,不然屏不会有显示

1
天空  发布于 2021-07-19 17:28:07

谢谢,屏幕点亮了。但是不是满屏,只有一大半。

0
添加附件:文件小于20M
上传
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区