SAMA5D LCD DOESN'T DISPLAY

AT91SAM9 Evaluation Boards

Moderator: nferre

kfoxone
Posts: 2
Joined: Sun Apr 13, 2014 4:08 am

SAMA5D LCD DOESN'T DISPLAY

Sun Apr 13, 2014 4:21 am

Hello,

I ve just start using my new sama5d36-ek with screen but everything seems to work.
But the lcd doesn't display !! yes infact, i can try test x / 11 but I got anything on the lcd.
I try manipulation with Home Automation and got this on usb JTAG

Code: Select all

root@sama5d3xek:~# /opt/HomeAutomation/HomeAutomation 
Could not parse stylesheet of widget 0x497718
Could not parse stylesheet of widget 0x4962f8
Could not parse stylesheet of widget 0x497718
Parsing failed; reading local XML feed at :/resources/weather/weatherfeed.xml instead.
Temp file not removed successfully.
Parsing succeeded.
Cached file not expired, skipping update...
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code change 
Error: The file is not an icecast directory file
Furnace is On

I dont know what is wrong seens I get the board I never see this screen working now I wondering if there were not something wrong with it ! Can somebody already facing with this problem ?
blue_z
Location: USA
Posts: 1547
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D LCD DOESN'T DISPLAY

Mon Apr 14, 2014 3:41 am

kfoxone wrote:I ve just start using my new sama5d36-ek with screen but everything seems to work.
But the lcd doesn't display !!

I dont know what is wrong seens I get the board I never see this screen working
You're not describing your situation well.
What firmware is installed?
Are you stating that the eval kit out-of-the-box does not run the (pre-installed) demo program and has never displayed something similar to Image ?
What does happen when the EK boots?


Regards
Last edited by blue_z on Wed Apr 16, 2014 1:28 am, edited 1 time in total.
kfoxone
Posts: 2
Joined: Sun Apr 13, 2014 4:08 am

Re: SAMA5D LCD DOESN'T DISPLAY

Mon Apr 14, 2014 12:36 pm

Hello (and thank you first for you reply),

In fact, I first follow
SAMA5D36-EK Design and Manufacturing Files which containing in "ATSAMA5D36-CM_test_15_public" directory this pdf "SAMA5_EK_Test_Software".

So when I have to try the lcd by option 11 on minicom (same as hyperterminal) the screen doesn't desplay anaything. So I decided to continue anyway. And load the "sama5d3xek_demo_linux_nandflash" :
    Système start properly on minicom,
    I have to calibrate the touchscreen and without anything desplay I do it
    I can then be able to connect on linux as root
    I then try to start manual 
   

Code: Select all

     /opt/HomeAutomation -transitions=0 -sensitivity=2
     #And this way
     /opt/HomeAutomation
     #And this way
     /opt/HomeAutomation/HomeAutomation -transitions=0 -sensitivity=2
     #And this way
     /opt/HomeAutomation/HomeAutomation
     #And this way
     /etc/init.d/qtdemo start
     #And this way
     root@sama5d3xek:~# /opt/HomeAutomation/HomeAutomation -qws 2>/dev/null
     Parsing failed; reading local XML feed at :/resources/weather/weatherfeed.xml in
     stead.
     Temp file not removed successfully.
     Parsing succeeded.
     Furnace is On
    
and got the problem explain above.

Then I think, i should use the "linux4sam-poky-sama5d3xek-4.2.zip (~ 156 MB)" from "Linux4SAM Yocto / Poky based demo" and following this tips [/color]Home Automation Demo Tips & Tricks
but I got the same result

I even try todo it on windows but on windows I am not able to install the driver for port J20 ("AT91 ... driver") so not able to use sam-ba.


For your questions :
 + Before starting all this operation, I just first try to start by powering and didn't get nothing (black screen only) but at this time I doesn't know that I have to use debug so I can't not say what was the information on the software. So I never get your screen at beginning

+ When the EK boot :
   + backlight on
   + backlight blinking
   + then blue light blinking on cpu and red stay on

Code: Select all

Starting kernel ...




Booting Linux on physical CPU 0
Linux version 3.6.9+ (jenkins@shaarm01) (gcc version 4.7.3 (Sourcery CodeBench L
ite 2013.05-24) ) #1 Sun Sep 29 12:45:12 CST 2013
CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Atmel SAMA5 (Device Tree), model: Atmel SAMA5D36-EK
Memory policy: ECC disabled, Data cache writeback
AT91: Detected soc type: sama5d3
AT91: Detected soc subtype: sama5d36
AT91: sram at 0x300000 of 0x20000 mapped at 0xfef58000
Clocks: CPU 528 MHz, master 132 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,
512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-
(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 514156k/514156k available, 10132k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc04f2d7c   (5036 kB)
      .init : 0xc04f3000 - 0xc0519534   ( 154 kB)
      .data : 0xc051a000 - 0xc054b9c0   ( 199 kB)
       .bss : 0xc054b9e4 - 0xc0563de8   (  98 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x203af008 - 0x203af060
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
AT91: mb rev: C
AT91: Power Management (with slow clock mode)
gpio-at91 fffff200.gpio: at address fefff200
gpio-at91 fffff400.gpio: at address fefff400
gpio-at91 fffff600.gpio: at address fefff600
gpio-at91 fffff800.gpio: at address fefff800
gpio-at91 fffffa00.gpio: at address fefffa00
pinctrl-at91 pinctrl.3: initialized AT91 pinctrl driver
bio: create slab <bio-0> at 0
at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 chan
nels
at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 chan
nels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
at91_i2c f0018000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers




at91_i2c f0018000.i2c: AT91 i2c bus driver.
Linux media interface: v0.10
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Version 1.0.25.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
jffs2: version 2.2. (NAND) (SUMMARY)  Â© 2001-2006 Red Hat, Inc.
msgmni has been set to 1004
io scheduler noop registered (default)
atmel_hlcdfb atmel_hlcdfb_base: 1500KiB frame buffer at 3f000000 (mapped at e089
c000)
Console: switching to colour frame buffer device 100x30
atmel_hlcdfb atmel_hlcdfb_base: fb0: Atmel LCDC at 0xf0030000 (mapped at e0a1600
0), irq 25
atmel_hlcdfb atmel_hlcdfb_ovl1: 1500KiB frame buffer at 3f200000 (mapped at e0a1
a000)
atmel_hlcdfb atmel_hlcdfb_ovl1: fb1: Atmel LCDC at 0xf0030140 (mapped at e0b9414
0), irq -6
atmel_hlcdfb atmel_hlcdfb_ovl2: 1500KiB frame buffer at 3ec00000 (mapped at e0b9
8000)
atmel_hlcdfb atmel_hlcdfb_ovl2: fb2: Atmel LCDC at 0xf0030240 (mapped at e0d1224
0), irq -6
f0020000.serial: ttyS2 at MMIO 0xf0020000 (irq = 23) is a ATMEL_SERIAL
ffffee00.serial: ttyS0 at MMIO 0xffffee00 (irq = 37) is a ATMEL_SERIAL
console [ttyS0] enabled
brd: module loaded
loop: module loaded
ssc f0008000.ssc: Atmel SSC device at 0xe0d18000 (irq 19)
at24 0-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
atmel_nand 60000000.nand: Using NFC
atmel_nand: Use On Flash BBT
atmel_nand 60000000.nand: Using dma0chan2 for DMA transfers.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), pag
e size: 2048, OOB size: 64
atmel_nand 60000000.nand: ONFI params, minimum required ECC: 4 bits in 512 bytes




atmel_nand 60000000.nand: Initialize PMECC params, cap: 4, sector: 512
atmel_nand 60000000.nand: Using NFC Sram
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
8 cmdlinepart partitions found on MTD device atmel_nand
Creating 8 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "bootstrap"
0x000000040000-0x0000000c0000 : "uboot"
0x0000000c0000-0x000000100000 : "env"
0x000000100000-0x000000140000 : "env_redundant"
0x000000140000-0x000000180000 : "spare"
0x000000180000-0x000000200000 : "dtb"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: max. sequence number:       393
UBI: attached mtd7 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            248 MiB
UBI: number of good PEBs:        1980
UBI: number of bad PEBs:         4
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1980
UBI: number of PEBs reserved for bad PEB handling: 38
UBI: max/mean erase counter: 3/0
UBI: image sequence number:  948016090
atmel_spi f0004000.spi: Using dma0chan3 (tx) and  dma0chan4 (rx) for DMA transfe
rs
atmel_spi f0004000.spi: Atmel SPI Controller at 0xf0004000 (irq 18)
UBI: background thread "ubi_bgt0d" started, PID 457
atmel_spi f0004000.spi: master is unqueued, this is deprecated
m25p80 spi32766.0: unrecognized JEDEC id ffffff
CAN device driver interface
at91_can f000c000.can: device registered (reg_base=e0d8c000, irq=20)
at91_can f8010000.can: device registered (reg_base=e0d8e000, irq=28)
macb f0028000.ethernet: (unregistered net_device): invalid hw address, using ran
dom
libphy: MACB_mii_bus: probed
macb f0028000.ethernet: eth0: Cadence GEM at 0xf0028000 irq 24 (52:a7:df:78:13:d
d)
macb f0028000.ethernet: eth0: attached PHY driver [Micrel KSZ9021 Gigabit PHY] (
mii_bus:phy_addr=f0028000.etherne:07, irq=-1)
macb f802c000.ethernet: (unregistered net_device): invalid hw address, using ran
dom
libphy: MACB_mii_bus: probed
macb f802c000.ethernet: eth1: Cadence MACB at 0xf802c000 irq 31 (ce:df:5a:b0:8f:
6b)
macb f802c000.ethernet: eth1: attached PHY driver [Micrel KSZ8051] (mii_bus:phy_
addr=f802c000.etherne:00, irq=-1)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
atmel-ehci 700000.ehci: Atmel EHCI UHP HS
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 45, io mem 0x00700000
atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Atmel EHCI UHP HS
usb usb1: Manufacturer: Linux 3.6.9+ ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci 600000.ohci: AT91 OHCI
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 45, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: AT91 OHCI
usb usb2: Manufacturer: Linux 3.6.9+ ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
atmel_usba_udc 500000.gadget: MMIO registers at 0xf8030000 mapped at e0d98000
atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at e2600000
qt1070 0-001b: AT42QT1070 firmware version 15
input: AT42QT1070 QTouch Sensor as /devices/ahb.0/apb.1/f0018000.i2c/i2c-0/0-001
b/input/input0
atmel_tsadcc f8018000.tsadcc: Master clock is set at: 66000000 Hz
atmel_tsadcc f8018000.tsadcc: Prescaler is set at: 109
input: atmel touch screen controller as /devices/ahb.0/apb.1/f8018000.tsadcc/inp
ut/input1
at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0
AT91 Real Time Clock driver.
i2c /dev entries driver
at91sam9x5-video f0030340.lcdheo1: video device registered @ 0xe0d9e340, irq = 2
5
gspca_main: v2.14.0 registered
soc-camera-pdrv soc-camera-pdrv.0: Probing soc-camera-pdrv.0
ov2640 0-0030: Product ID error 87:87
soc-camera-pdrv soc-camera-pdrv.1: Probing soc-camera-pdrv.1
ov5642 0-003c: reg_read: i2c read error, reg: 300a
ov5642: probe of 0-003c failed with error -121
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
lib80211: common routines for IEEE802.11 drivers
VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
at91_rtc fffffeb0.rtc: setting system clock to 2013-07-17 04:32:53 UTC (13740355
73)
atmel_mci f0000000.mmc: version: 0x505
atmel_mci f0000000.mmc: using dma0chan5 for DMA transfers
atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 17, 1 slots
atmel_mci f8000000.mmc: version: 0x505
atmel_mci f8000000.mmc: using dma1chan0 for DMA transfers
atmel_mci f8000000.mmc: Atmel MCI controller at 0xf8000000 irq 27, 1 slots
atmel_aes f8038000.aes: version: 0x135
atmel_aes f8038000.aes: Atmel AES
atmel_tdes f803c000.tdes: version: 0x701
atmel_tdes f803c000.tdes: Atmel DES/TDES
atmel_sha f8034000.sha: version: 0x410
atmel_sha f8034000.sha: Atmel SHA1/SHA256
ALSA device list:
  No soundcards found.
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   244682752 bytes (238948 KiB, 233 MiB, 1927 LEBs)
UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:11.
devtmpfs: mounted
Freeing init memory: 152K
INIT: version 2.88 booting
Starting udev
udevd[610]: starting version 182
Starting Bootlog daemon: bootlogd.
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1696: No soundca
rds found...
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Starting rpcbind daemon...done.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
Starting Telephony daemon
Starting Linux NFC daemon
Starting Demo...
Stopping Bootlog daemon: bootlogd.




Poky 9.0 (Yocto Project 1.4 Reference Distro) 1.4.1 sama5d3xek ttyS0




sama5d3xek login:
blue_z
Location: USA
Posts: 1547
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D LCD DOESN'T DISPLAY

Wed Apr 16, 2014 1:34 am

kfoxone wrote: + Before starting all this operation, I just first try to start by powering and didn't get nothing (black screen only) but at this time I doesn't know that I have to use debug so I can't not say what was the information on the software. So I never get your screen at beginning

+ When the EK boot :
+ backlight on
+ backlight blinking
+ then blue light blinking on cpu and red stay on
If the issue is that there's nothing displayed on the LCD (as your title indicates), then you may have a hardware problem.
The pre-installed firmware should, after a power-on, displays an Atmel graphics, some board information by U-Boot, and then (after the Linux kernel boots) a GUI menu.

If you never saw any of that (especially the U-Boot output), then maybe the HW is DOA, or you did not follow ESD precautions, or you did not properly install the LCD or ???

Regards

Return to “Evaluation and Development Boards”

Who is online

Users browsing this forum: No registered users and 1 guest