Re: PATA driver for Atmel AVR32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 20 July 2007 11:08:19 Kristoffer Nyborg Gregertsen wrote:
> There might be problems with the signals from the AVR32s External Bus 
> Interface to the ATA device, although it seems fine when looking with the 
> logic analyzer. Can a random signal fault generate this kind of failure? Or 
> is it my driver code that is to blame?

OK, here's an update. The problem seems to be sporadic signal errors:

# dd if=/dev/zero of=/dev/sda2 count=50k
# dd if=/dev/sda2 of=disk.dat count=50k

The read fails somwhere during this read, but nevermind...

# hexdump disk.dat

0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0076bf0 0000 0000 0000 0000 0000 0000 0000 00d0
0076c00 0000 0000 0000 0000 0000 0000 0000 0000
*
00debf0 0000 0000 0000 0000 0000 0000 0000 00d0
00dec00 0000 0000 0000 0000 0000 0000 0000 0000
*
00fc1f0 0000 0000 0000 0000 0000 0000 00d0 00d0
00fc200 0000 0000 0000 0000 0000 0000 0000 0000
*
00fc3f0 0000 0000 0000 0000 0000 0000 0000 00d0
00fc400 0000 0000 0000 0000 0000 0000 0000 0000
*
01021f0 0000 0000 0000 0000 0000 0000 0000 00d0
0102200 0000 0000 0000 0000 0000 0000 0000 0000
*
01231f0 0000 0000 0000 0000 0000 0000 00d0 00d0
0123200 0000 0000 0000 0000 0000 0000 0000 0000
*
01233f0 0000 0000 0000 0000 0000 0000 0000 00d0
0123400 0000 0000 0000 0000 0000 0000 0000 0000
*

I will look into and fix the signal timings and adaptor circut...
-- 
Kristoffer Nyborg Gregertsen
MSc. student / Summer intern
Atmel Norway
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux