Loading...

You have no items in your shopping cart.

 
 
 
×

Registration

Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

Iteaduino Plus A10 With 7″LCD Debugging Notes

As mentioned before, we made an adapter board for 7” screen to verify work of Iteaduino Plus and 7" screen. Currently, we have finished testing the hardware: the power and backlight circuit can work properly and the screen can be lit up. Then we modified the system code slightly to see if the screen can work.

In fact, we only made a little bit modifications in script.bin. To specify an output device for Iteaduino Plus first, we made some modifications in paragraph dis_init. After LCD is set, configure some parameters according to datasheet of the panel.

Specify the device first:

[disp_init]
disp_init_enable = 1
disp_mode = 0
 
screen0_output_type = 1
screen0_output_mode = 4
 
screen1_output_type = 1
screen1_output_mode = 4
 
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
 
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0

Then configure paramaters of LCD:

lcd_x                    = 800
lcd_y                    = 480
lcd_dclk_freq            = 9
lcd_if                   = 0
lcd_hbp                  = 2
lcd_ht                   = 525
lcd_vbp                  = 2
lcd_vt                   = 572

If you want to learn more about the configurations, you can click HERE SUNXI.ORG

After the above configuration modifications are done, power on the screen, you can see the screen is lit up and the booting data is refreshed. Just when we think it is done, the following error message appears on the screen:

<4>WARNING: at /media/work/sunxi-bsp/linux-sunxi/fs/sysfs/dir.c:455 sysfs_add_one+0x88/0xbc()
<4>sysfs: cannot create duplicate filename '/class/lcd'
<d>Modules linked in: lcd(+) sw_ahci_platform
[] (unwind_backtrace+0x0/0x138) from [] (warn_slowpath_common+0x4c/0x64)
[] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_fmt+0x30/0x40)
[] (warn_slowpath_fmt+0x30/0x40) from [] (sysfs_add_one+0x88/0xbc)
[] (sysfs_add_one+0x88/0xbc) from [] (create_dir+0x60/0xb4)
[] (create_dir+0x60/0xb4) from [] (sysfs_create_dir+0x84/0xf0)
[] (sysfs_create_dir+0x84/0xf0) from [] (kobject_add_internal+0xb4/0x224)
[] (kobject_add_internal+0xb4/0x224) from [] (kset_register+0x20/0x3c)
[] (kset_register+0x20/0x3c) from [] (__class_register+0xc0/0x1d0)
[] (__class_register+0xc0/0x1d0) from [] (__class_create+0x4c/0x84)
[] (__class_create+0x4c/0x84) from [] (lcd_class_init+0x18/0x5c [lcd])
[] (lcd_class_init+0x18/0x5c [lcd]) from [] (do_one_initcall+0x34/0x174)
[] (do_one_initcall+0x34/0x174) from [] (sys_init_module+0x3b8/0x1a84)
[] (sys_init_module+0x3b8/0x1a84) from [] (ret_fast_syscall+0x0/0x30)
<4>—[ end trace 8f2d1864b9ac958b ]—
<3>kobject_add_internal failed for lcd with -EEXIST, don't try to register things with the same name in the same directory.
[   11.450000] kobject_add_internal failed for lcd with -EEXIST, don't try to register things with the same name in the same directory.
[] (unwind_backtrace+0x0/0x138) from [] (kobject_add_internal+0x14c/0x224)
[] (kobject_add_internal+0x14c/0x224) from [] (kset_register+0x20/0x3c)
[] (kset_register+0x20/0x3c) from [] (__class_register+0xc0/0x1d0)
[] (__class_register+0xc0/0x1d0) from [] (__class_create+0x4c/0x84)
[] (__class_create+0x4c/0x84) from [] (lcd_class_init+0x18/0x5c [lcd])
[] (lcd_class_init+0x18/0x5c [lcd]) from [] (do_one_initcall+0x34/0x174)
[] (do_one_initcall+0x34/0x174) from [] (sys_init_module+0x3b8/0x1a84)
[] (sys_init_module+0x3b8/0x1a84) from [] (ret_fast_syscall+0x0/0x30)

Well, then it does not proceed! Yes, it seems that the kernel is crashed and it cannot proceed to enter into the file system. However, it indicates that the following problem is just about the driver code, and we can ensure that the power and data cable connections are correct.

Our hardware engineers have started making a Plug with 7 "touch screen by using KiCad, which can work directly after being inserted in Iteaduino Plus in the future. Our software engineers have begun to debug the drivers, hoping to get it running when Plug is produced – Honestly speaking, we are actually not familiar with driving stuff. If you know anything about the debugging and writing of display driver, you are welcomed to communicate with us, or we can discuss them HERE(Click).