From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5113 invoked by alias); 2 Jan 2009 11:30:24 -0000 Received: (qmail 5103 invoked by uid 22791); 2 Jan 2009 11:30:23 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail01.solnet.ch (HELO mail01.solnet.ch) (212.101.4.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jan 2009 11:29:40 +0000 Received: from mail01.solnet.ch ([127.0.0.1]) by localhost (mail01.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id f94nSkEsA0v9; Fri, 2 Jan 2009 11:29:35 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail01.solnet.ch (Postfix) with ESMTP id 7F9D453D90; Fri, 2 Jan 2009 11:29:35 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TMPVNth+q6OC; Fri, 2 Jan 2009 12:29:35 +0100 (CET) Received: from freakmbp.local (144-63-239-77-static.cable.fcom.ch [77.239.63.144]) by beta.intefo.ch (Postfix) with ESMTPA id 19F307700EA; Fri, 2 Jan 2009 12:29:35 +0100 (CET) Message-ID: <495DFA9F.1050002@intefo.ch> Date: Fri, 02 Jan 2009 11:30:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Chris Holgate CC: ecos-devel@sourceware.org Subject: Re: Problem with STM32 flash driver on Rev-Z silicon. References: <495DF7FA.9090904@zynaptic.com> In-Reply-To: <495DF7FA.9090904@zynaptic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-01/txt/msg00002.txt.bz2 Chris Holgate schrieb: > Hi folks, > > I have encountered a problem with the STM32 flash driver on revision Z > devices. According to the errata document, the debug registers cannot > be accessed from the processor on rev-Z devices This means that it it > not possible to get the device type by reading CYGHWR_HAL_STM32_MCU_ID, > which causes the flash driver to use invalid parameters. Maybe it would > be better to rely on the HAL configuration for this information. > This bug has already been fixed, it should be in the CVS. Simon