From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12554 invoked by alias); 12 Mar 2007 19:34:26 -0000 Received: (qmail 12543 invoked by uid 22791); 12 Mar 2007 19:34:24 -0000 X-Spam-Check-By: sourceware.org Received: from owa.dra-inc.net (HELO sdra00198.intranet.dra-inc.net) (64.56.98.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Mar 2007 19:34:20 +0000 Received: from 192.168.1.198 ([192.168.1.198]) by sdra00198.intranet.dra-inc.net ([192.168.1.250]) with Microsoft Exchange Server HTTP-DAV ; Mon, 12 Mar 2007 19:36:06 +0000 Received: from ze4805us by owa.dra-inc.net; 12 Mar 2007 15:34:13 -0500 From: Donald Walton To: Maurice =?ISO-8859-1?Q?M=FCller?= Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <45F5A1CB.5020904@web.de> References: <45F5A1CB.5020904@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Mar 2007 19:34:00 -0000 Message-Id: <1173731652.3627.20.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.12tex X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Problems with FAT and IDE X-SW-Source: 2007-03/txt/msg00091.txt.bz2 On Mon, 2007-03-12 at 19:54 +0100, Maurice M=FCller wrote: > Hi, >=20 > i am trying to set up an eCos with an internal IDE harddisk (40GB) on a=20 > standard x86-PC-target. When running the fatfs1 test case, the details=20 > of the harddisk are shown, but the mounting fails with a return code of=20 > -1 (unknown error). I tried many configurations like using FAT16 instead= =20 > of FAT32, but nothing worked. The MBR of the harddisk includes the grub=20 > boot loader, through which i start my applications. I also tried to run=20 > the test case via GDB (RedBoot) but this case doesn't work too. I wpuld=20 > be very thankful if somebody can tell me how to get my config working. >=20 > Please help me. I spent a lot of time on this problem. >=20 > Best regards > Maurice >=20 The IDE interface in eCos does work quite well. But there are a couple of items to look at. - Do you have the current version of the IDE code because there was a bug fix a few months ago concerning the reading and writing of a block of data from the IDE drive? - Is the hard drive partition that you are trying to read formatted as a fat32 filesystem? I have not used the eCos test software so I don't know if it is OK. You might want to insure that debugging output is enable for the drives and file system. Hopefully, that will give you more information about what is happening. Have a great day, Don --=20 Don Walton Defense Research Associates, Inc. 3915 Germany Lane, Suite 102 Beavercreek, OH 43431 (937) 431-1644 x118 (office) (937) 427-4526 (fax) -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss