From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27072 invoked by alias); 24 Nov 2008 19:40:10 -0000 Received: (qmail 27033 invoked by uid 22791); 24 Nov 2008 19:40:09 -0000 X-Spam-Check-By: sourceware.org Received: from mailout1.zih.tu-dresden.de (HELO mailout1.zih.tu-dresden.de) (141.30.67.72) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Nov 2008 19:39:24 +0000 Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout1.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1L4hH5-0008Nd-7f for ecos-discuss@ecos.sourceware.org; Mon, 24 Nov 2008 20:39:13 +0100 Received: from localhost (p5B0EEEF5.dip.t-dialin.net [91.14.238.245]) by server-n (Postfix) with ESMTP id EFE1A100A091 for ; Mon, 24 Nov 2008 20:39:10 +0100 (CET) Date: Tue, 25 Nov 2008 11:49:00 -0000 To: "ecos-discuss@ecos.sourceware.org" From: "Martin Laabs" Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.51 (Linux) X-TUD-Virus-Scanned: mailout1.zih.tu-dresden.de 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: [ECOS] comments on flash2.c testcase X-SW-Source: 2008-11/txt/msg00202.txt.bz2 Hi, the testprogram flash2.c in packages/devs/flash/synth/current/tests/flash2.c reports false fails when there is no x8-bit flash. This happens because some (most/all?) flash chips with a 16 bit interface (32bit are rare) do only support 16bit writes. The flash2.c program acts on bytes and might "hit" (un)fortunately an odd flash address. Since the driver is unable to write only a single byte it has to fill the other byte with some stuff. This means that the program might "detects" errors at the boundaries of the written testdata. Greetings, Martin L. PS: Yes - I know this test is for the synth target - but it is also usefull to test real devices. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss