From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9224 invoked by alias); 21 May 2013 15:44:54 -0000 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 Received: (qmail 9184 invoked by uid 89); 21 May 2013 15:44:53 -0000 X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_FAIL autolearn=no version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 21 May 2013 15:44:52 +0000 Received: from tom.nabble.com ([192.168.236.105]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Ueok7-00072M-5f for ecos-discuss@ecos.sourceware.org; Tue, 21 May 2013 08:44:51 -0700 Date: Tue, 21 May 2013 15:44:00 -0000 From: Felix R To: ecos-discuss@ecos.sourceware.org Message-ID: <1369151091129-232754.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [ECOS] how to call mount() in cyg_start() X-SW-Source: 2013-05/txt/msg00039.txt.bz2 Hi, i i call mount() in he main function (like in the fatfs1 test), it works. But if i want i use threads i dont havte main() ant i want to call it in cyg_start(). this fails wih this assert: ASSERT FAIL: <1>disk.c[370]disk_connected() Bad LBA sector count ASSERT FAIL: <1>disk.c [ 370] disk_connected() Bad LBA sector count Note: I am mounting a SD-Card. Thanks Felix -- View this message in context: http://sourceware-org.1504.n7.nabble.com/how-to-call-mount-in-cyg-start-tp232754.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss