SAM9-L9260 USB-D port problem

Hi.

I have the SAM9-L9260, I tried to use SAM-BA to connect to the board via USB_D port but the board is not turn on when I connecting the USB cable.

But if I supplied 5VDC from other source, the bord is starting up but the Windows cannot install the USB driver,So my PC cannot see the SAM9-L9260 board.

Thanks in advance for your kind assistance.

P.S.

I am a newbie, also please guide to me where should I start with SAM9

(Linux is new things for me)

The driver should be on the CD. You have to supply 5VDC from the barrel plug, that’s the only way to power the board, it wont’ source 5V from the USB port.

Shifted:
The driver should be on the CD. You have to supply 5VDC from the barrel plug, that’s the only way to power the board, it wont’ source 5V from the USB port.

Hello

I did looking in the schematic and it look like ok but…

I will tried with your suggestion.

My question:

What happen if I connect the USB_H to the computer, Is the board startup/booting?

Best regards,

USB_H = USB Host, that means a flash drive or other thing that the board hosts, you really can’t connect a host to a host.

USB_D = USB Device, where it acts like a USB device when plugged into a USB host.

Neither port will supply or power the board.

Shifted:
USB_H = USB Host, that means a flash drive or other thing that the board hosts, you really can’t connect a host to a host.

USB_D = USB Device, where it acts like a USB device when plugged into a USB host.

Neither port will supply or power the board.

Hello,

I did supply the 5VDC external voltage and the system is booting but a lot of error display on the Hyperterminal when I push the reset button

Please see below

3V 8-bit)CRC faile

512 MiBc3c098.

In: serialtes from 0x5c

Out: seriald ECC errorRC

Err: serialc26c10.d_in

{

PHY not reset!!52,52525252}JFF

Hit any key to stop autoboot: 0ead(0x518 bytes from 0x5c3bae8)

NAND read: device 0 offset 0x100000, size 0x1a2828(583) jffs2_do_read_in

JFFS2 notice: (583) jffs2_g

1714216 bytes read: OKder CRC failed at 0x5c3

Booting image at 21500000 …ad_inode_internal: no data nodes

Image Name: Linux-2.6.23,52525252,52525252}ess… (58

Image Type: ARM Linux Kernel Image (uncompressed)inode_internal: no data nodes found for ino #adness

Data Size: 1714152 Bytes = 1.6 MByte

Returned error

JFFS2 noti

Load Address: 20008000eck of ino #16475. ,52525

Entry Point: 2

Returned error for crccheck of i

… done, booting the kernel.tice: (583) jffs2_get_inode_nodes: Node header CRC failed at 0x5c3d188. fai

Linux version 2.6.23 (ivan@debian.l123.org) (gcc version 4.1.2) #5 PREEMPT Sun O,5252,52525252,52525252}52,52525252,52525252}_read_in

mtd->read(0x170 bytes from

ct 14 02:01:51 EEST 2007errorinode_internal: no

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=000531772_get_inode_nodes: Node header CRC failed at 0x5c3ce90.

Retur

Machine: Olimex SAM9-L9260no #16424. Expect badness.

Memory policy: ECC disabled, Data cache writeback ECC errorRC

JFFS2 notice: (5

JFFS2 notice: (583)

Clocks: CPU 180 MHz, master 90 MHz, main 18.432 MHz5_nodes: Node header70,70707070,70707070}

Kernel command line: mem=64M console=ttyS0,115200, noinitrd root=/dev/mtdblock1,

{5252,5252,52525252,52525252}_inode_nodes: Node header CRC

mtd->read(0xc8 byt

rootfstype=jffs2) returned ECC e

AT91: 96 gpio irqs in 3 banks jffs2_get_inode_n

{5252,5252

PID hash table entries: 256 (order: 8, 1024 bytes)ader CRC failed at 0x5c40f38. crccheck of ino #164

Console: colour dummy device 80x30: (583) jffs2_get_inode

{dada,dada

console [ttyS0] enablede: (583) jffs2_get_inod

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)ail

{7070,7070,70707070,70707070}

Returne

Generic PHY: Registered new driver_n

{5252,5252,52525252,52525252}rn

SCSI subsystem initialized

mtd->read(0x6d4 bytes fro

usbcore: registered new interface driver usbfs,52525252,52525252}or crccheck of ino #1

JFFS2

usbcore: registered new interface driver hubader CRC failed at 0x5c3f92c…r ino # notic

usbcore: registered new device driver usbr CRC

JFFS2 notice: (5

{5252,5252,5252525

NET: Registered protocol family 20x5c31

mtd->read(0x5d0 bytes from

io scheduler deadline registeredode_nodes: Node header CRC faile

io scheduler cfq registered (default)ternal: no data nodes found for ino #

atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL_nodes: No

mtd->read(0x150 bytes from 0x5c3d6b0) returned ECC error

atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIALe: (583) jffs2_get_inode_nodes: Node header CRC failed at 0x5c3d6b0

atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL2_do_read_in

{5252,5252,52525252,52525252}tice: (583) jffs2_get_ino

RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksizefound for ino #nodes found for ino #) jffs2_get_inode_n

{5252,5252,52

loop: module loaded5c2236

16477r CRC

R

MACB_mii_bus: probedcheck of ino #16477.

eth0: no PHY found data nodes found

block2mtd: version $Revision: 1.30 $252,

mtd->read(0x628 bytes from 0x5c

NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3Vt bad

Bad eraseblock 3 at 0x00060000des found for ino #2,52525252}

Bad eraseblock 8 at 0x00100000FFS2 warning: (583) jffs2_do_r

Bad eraseblock 9 at 0x00120000ror for crccheck of ino #16478

Bad eraseblock 10 at 0x0014000052525252,52525252}es: Node

{525

Bad eraseblock 11 at 0x00160000583) jffs2_get_inode_nodes: Nod

Bad eraseblock 12 at 0x00180000. jffs2_do_read_inode_internal:

Bad eraseblock 13 at 0x001a0000jffs2_get_inode_n

{5252,5252,52

Bad eraseblock 14 at 0x001c0000no #16134. Ex

JFFS2 warning: (5

Bad eraseblock 15 at 0x001e0000: no data nodes found for ino #

Bad eraseblock 16 at 0x00200000odes: No

JFFS2 warning: (583) j

Bad eraseblock 17 at 0x00220000urned error for crccheck of ino

Bad eraseblock 18 at 0x002400002,5252,52525252,52525252}

Bad eraseblock 34 at 0x00440000arning: (583) jffs2_do_read_ino

Bad eraseblock 35 at 0x00460000crccheck of ino #16480. Expect

Bad eraseblock 36 at 0x0048000052525252}83) jf

{

{5252,525

163

Bad eraseblock 37 at 0x004a0000om 0x5c448d4) returned ECC erro

Bad eraseblock 38 at 0x004c0000o_read_inode_internal: no

JFFS2

Bad eraseblock 39 at 0x004e0000odes: Node header CRC failed at

Bad eraseblock 40 at 0x00500000. Ex

JFFS2 warning: (583) jffs2

Bad eraseblock 41 at 0x005200002,5252,52525252,52525252}t 0x5c

Bad eraseblock 42 at 0x00540000d(0x724 bytes from 0x5c440dc) r

Bad eraseblock 43 at 0x00560000or for crccheck of ino #16436.

Bad eraseblock 44 at 0x00580000

Bad eraseblock 50 at 0x00640000583) jffs2_get_inode_nodes: Nod

Bad eraseblock 51 at 0x00660000.#ccheck of ino #16382. Expect

Bad eraseblock 52 at 0x0068000052525252}83) jffs

{5252,5252,52

Bad eraseblock 53 at 0x006a0000no #16437. Ex

mtd->read(0x44 by

Bad eraseblock 54 at 0x006c0000 errorCRC failed at 0x5bf

JFFS2

Bad eraseblock 55 at 0x006e0000FFS2 notice: (583) jffs2_get_in

Bad eraseblock 56 at 0x00700000d at 0x5c42fbc.ing: (583) jffs2

Bad eraseblock 57 at 0x007200002,5252,52525252,52525252}tice:

Bad eraseblock 58 at 0x00740000rning: (583) jffs2_do_read_

JFF

Bad eraseblock 59 at 0x00760000_nodes: Node header CRC failed

Bad eraseblock 60 at 0x00780000

1643

{5252,5252,525252

0x00000000-0x00a00000 : "Bootloader Area"52,52525252,52525252}jffs2_do_read_inode_

0x00a00000-0x20000000 : “User Area” 0x5c418d0) returned ECC errors…o

at91_ohci at91_ohci: AT91 OHCIc4.eade

{

162602

16

JFFS2 not

at91_ohci at91_ohci: new USB bus registered, assigned bus number 1d0.5c27f48.252}no #16082. Expect badness…2

JFFS2 n

JFFS2 notice:

at91_ohci at91_ohci: irq 20, io mem 0x00500000ailed at 0x5c32318.x5c093f8)

JFFS2 warning: (5

usb usb1: configuration #1 chosen from 1 choicefound for ino #,52525252,52525252}eck of ino #1

hub 1-0:1.0: USB hub founding: (583) jffs2_do_r

1648

hub 1-0:1.0: 2 ports detectedheck of ino #16481. Expect ba

Initializing USB Mass Storage driver…

{5252,525

163225

16

NET: Registered protocol family 153) jffs2_get_inode_nodes: Node hea

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)98cc)

JFFS2 notice: (583) jffs2_get_inode_nodes: No

{52

Empty flash at 0x06dcf970 ends at 0x06dd0000#16201. Ex

JFFS2 warning: (583) jffs2_do_rea

Empty flash at 0x06f010b4 ends at 0x06f01800 # found for ino #ccheck of ino #1

JFFS2 war

Empty flash at 0x072930dc ends at 0x07293800data

Returned error for crccheck of ino #164

Empty flash at 0x0874aa08 ends at 0x0874b000ailed at 0x5c235b

16387r CRC

Returne

mtd->re

Empty flash at 0x08ae216c ends at 0x08ae2800roreturned ECC error,52525252,52525252}eck o

Empty flash at 0x0b025b5c ends at 0x0b026000inode_nodes: Node header CRC failed at 0x5c4

Empty flash at 0x0c0758c4 ends at 0x0c076000

{5

Empty flash at 0x122c3940 ends at 0x122c4000_do_read_in

JFFS2 warning: (583) jffs2_do_re

Empty flash at 0x14c90960 ends at 0x14c91000o #2,52525252}160.5c12c04.ta nodes found fo

Empty flash at 0x188720c0 ends at 0x18872800no #1

Returned error for crccheck of ino #16

Empty flash at 0x189efcd4 ends at 0x189f0000JFFS2 notice: (583) jffs2_get_inode_n

mtd->r

Empty flash at 0x1b1c10dc ends at 0x1b1c1800errors…b

VFS: Mounted root (jffs2 filesystem).ode_internal: no data nodes found for

Freeing init memory: 108K{5252,5252,52525252,52525

INIT: version 2.86 booting3) jff

JFFS2 warning: (583

Starting the hotplug events dispatcher: udevd.ound for ino #r for crccheck of ino #16329. Ex

Synthesizing the initial hotplug events…done.

16486ode_n

Returned error for crccheck of ino

Waiting for /dev to be fully populated…end

16206

JFFS2 notice: (5

end_request: I/O error, dev mtdblock0, sector 0d at 0x5c46700. jffs2_do_read_inode_internal: n

Buffer I/O error on device mtdblock0, logical block 05252,52525252,52525252}ode_internal: no data nodes f

end_request: I/O error, dev mtdblock0, sector 0l: no data nodes found for ino #2,52525252}2,

1

Buffer I/O error on device mtdblock0, logical block 0583) jffs2_

16488ode_n

Returned error for crccheck of

end_request: I/O error, dev mtdblock0, sector rom 0x5c2b20

16208

end_request: I/O error, dev mtdblock0, sector 0ffs2_get_inode_nodes: Node header CRC failed at

end_request: I/O error, dev mtdblock0, sector 0) jffs2_do_read_inode_internal: no data no

{525

end_request: I/O error, dev mtdblock0, sector 0es: No

JFFS2 warning: (583) jffs2_do_read_inode

end_request: I/O error, dev mtdblock0, sector 06452. Expect badness…n

JFFS2 warning: (583) j

end_request: I/O error, dev mtdblock0, sector 0ror for crccheck of ino #16491. Expect badness.

end_request: I/O error, dev mtdblock0, sector 0al: no data no

JFFS2 notice: (583) jffs2_get_in

end_request: I/O error, dev mtdblock0, sector 0f ino #16153. Ex

JFFS2 warning: (583) jffs2_do_

end_request: I/O error, dev mtdblock0, sector 0252,52525252}83) jffs2_get_inode_nodes: No

JFFS

end_request: I/O error, dev mtdblock0, sector 0o data nodes found for ino #f ino #16453. Expec

end_request: I/O error, dev mtdblock0

16492

JFFS2 not

end_request: I/O error, dev mtdblock0, sector 0ror for crccheck of ino #16493. Expect badness.

end_request: I/O error, dev mtdblock0, sector 0al: no

JFFS2 n

JFFS2 notice: (583) jffs2_get_in

done.des:

Activating swap…done.t 0x5c46e30.o_read_inod

Checking root file system…fsck 1.40-WIP (14-Nov-2006): no data no

{5252,5252,52525252,52525252}83) jffs2_get

fsck: fsck.jffs2: not foundng: (583) jffs2_do_read_ino

fsck: Error 2 while executing fsck.jffs2 for /dev/mtdblock1ct badness…rase at 0x08ba

done.494

Cleaning up ifupdown…95s: No

Returned error f

Loading device-mapper support.ct badness…ailed at 0x5c3364

Checking file systems…fsck 1.40-WIP (14-Nov-2006)tice: (583) check_node_data: wrong data CRC in data

done.at 0x

Setting kernel variables…done.warning: (583) jffs2_do_read_ino

Mounting local filesystems…done.5ecc, calculated 0xe59a27c6.e_node

Activating swapfile swap…done.

JFFS2 notice: (583) check_node_

Setting up networking…ta node at 0x06f00f8ect b

Configuring network interfaces…SIO34}

16100

16

JFFS2 notice: (858) check_node_data: wrong data CRC in data node at 0x122c35d4: jffs2_do_read_in

Erase at 0x059a0000 failed immediately: errno -5om 0x5c338d8)

read 0x4dd27854, calculated 0xc86763c1. of newly-erased block at 0x05980000 fa

JFFS2 notice: (858) check_node_data: wrong data CRC in data node at 0x189ef750:2_get_inode_nodes: Node

cannot write OOB for EB at 05980000, requested 12 bytes

read 0x214e861c, calculated 0x66510cc3.ect badness…o

JFFS2 warning: (583) jf

JFFS2 notice: (858) check_node_data: wrong data CRC in data node at 0x0cb98620:ernal: no data

JFFS2 warning: (583) jffs2_do

Erase at 0x05960000 failed immedia

Starting portmap daemon…Already running…

Starting MTA: exim4.

Starting internet superserver: inetd.

Starting OpenBSD Secure Shell server: sshd.

Starting NFS common utilities: statd.

Starting deferred execution scheduler: atdStarting periodic command scheduler: c

rond.

Debian GNU/Linux 4.0 sam9-l9260 ttyS0

sam9-l9260 login:

Debian GNU/Linux 4.0 sam9-l9260 ttyS0

sam9-l9260 login: JFFS2 notice: (582) check_node_data: wrong data CRC in data no

de at 0x0b025458: read 0xa0fea613, calculated 0xf771f508.

JFFS2 notice: (582) check_node_data: wrong data CRC in data node at 0x1b1c0fa8:

read 0x6e955ecc, calculated 0xe59a27c6.

JFFS2 notice: (582) check_node_data: wrong data CRC in data node at 0x06f00f80:

read 0x6e955ecc, calculated 0x482eecdf.

JFFS2 notice: (582) check_node_data: wrong data CRC in data node at 0x06dcf138:

read 0x951e336d, calculated 0xe1acb4eb.

JFFS2 notice: (582) check_node_data: wrong data CRC in data node at 0x10aa0000:

read 0x71334ede, calculated 0x37bc15e7.

And according to the SAM9-L9260 User Manual Page 20 that described about the Restore the default boot loader and kernel.

When connect the USB cable (USB_D port), the window detected the SAM9-L9260 board, but the windows cannot install the hardware driver.

(I did insert the CD and also re-installed the AT91-ISP v1.12 but did not help).

So, I did change the connection to Com1, the BAT file as below:

sam-ba.exe COM1 AT91SAM9260-EK AT91SAM9260_demo_linux_NandFlash.tcl ./ u-boot-env-nf.bin > logfile.log

notepad logfile.log

When I run the BAT file, the log shown as below:

-I- Waiting …

connection : COM1

board : AT91SAM9260-EK

target(handle) : 19215472

read chip ID : 0x20084E08 at addr: 0xFFFFEE40

read chip ID : 0x46467708 at addr: 0xFFFFF240

read chip ID : 0x45454646 at addr: 0xFFFFF240

read chip ID : 0x342C3034 at addr: 0xFFFFF240

read chip ID : 0x77082008 at addr: 0xFFFFF240

read chip ID : 0x46464646 at addr: 0xFFFFF240

read chip ID : 0x30343246 at addr: 0xFFFFF240

read chip ID : 0x2008342C at addr: 0xFFFFF240

read chip ID : 0x46467708 at addr: 0xFFFFF240

read chip ID : 0x32464646 at addr: 0xFFFFF240

read chip ID : 0x342C3034 at addr: 0xFFFFF240

read chip ID : 0x77082008 at addr: 0xFFFFF240

read chip ID : 0x46464646 at addr: 0xFFFFF240

read chip ID : 0x30343246 at addr: 0xFFFFF240

read chip ID : 0x2008342C at addr: 0xFFFFF240

read chip ID : 0x46467708 at addr: 0xFFFFF240

read chip ID : 0x32464646 at addr: 0xFFFFF240

read chip ID : 0x342C3034 at addr: 0xFFFFF240

read chip ID : 0x77082008 at addr: 0xFFFFF240

read chip ID : 0x46464646 at addr: 0xFFFFF240

read chip ID : 0x30343246 at addr: 0xFFFFEE40

read chip ID : 0x2008342C at addr: 0xFFFFEE40

read chip ID : 0x46467708 at addr: 0xFFFFF240

read chip ID : 0x32464646 at addr: 0xFFFFF240

read chip ID : 0x342C3034 at addr: 0xFFFFF240

read chip ID : 0x77082008 at addr: 0xFFFFF240

read chip ID : 0x46464646 at addr: 0xFFFFF240

And the SAM-BA 2.8, return the fetal error about the mismatch processor id or similar.

What should I do? or please give some suggestion.

More information, after finished booting process, the STAT LED is blinking and the YELLOW LED is alway lit, it look like the board is normal running.

wsch. (I am very new on linux and ARM)

More information:

In the Device Manager on my computer found the SAM9-L9260 as RNDIS/Ethernet Gadget, Is it correct? The windows told me that cannot found the correct software (driver).

Hi,

Your SAM9 Linux supports USB device “gadgets”. Take a look here:

http://howto.wikia.com/wiki/Howto_confi … usb/gadget

You can get the Windows driver from your SAM9 Linux source archive:

[SAM9 CD]\src\linux-2.6.26.3-at91-olimex.tgz\linux-2.6.26.3-at91-olimex\Documentation\usb\linux.inf

The JFFS2 errors might be caused by not shutting down the board before unplugging the power. You can fix that by reprogramming the NAND flash - see the board manual for instructions.