From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14234 invoked by alias); 22 Jun 2010 15:40:17 -0000 Received: (qmail 14225 invoked by uid 22791); 22 Jun 2010 15:40:16 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail04.solnet.ch (HELO mail04.solnet.ch) (212.101.4.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Jun 2010 15:40:12 +0000 Received: from mail04.solnet.ch ([127.0.0.1]) by localhost (mail04.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id 27tO1Xw-8kih for ; Tue, 22 Jun 2010 15:40:08 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail04.solnet.ch (Postfix) with ESMTP id 9199C87F67 for ; Tue, 22 Jun 2010 15:40:08 +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 cGNjwP+e8zX4 for ; Tue, 22 Jun 2010 17:40:08 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id 22C887702F0 for ; Tue, 22 Jun 2010 17:40:08 +0200 (CEST) Message-ID: <4C20D95C.6020101@intefo.ch> Date: Tue, 22 Jun 2010 15:40:00 -0000 From: Simon Kallweit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: eCos developers Subject: Bug in STM32 serial driver 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: 2010-06/txt/msg00003.txt.bz2 Hi there I discovered that high transfer loads on the UART can crash my application on the STM32. I wrapped up a little demo application which can be used to reproduce the error. See http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000974 for details. Can anyone with an STM3210E-EVAL board please try and see if they experience the same behavior? I suspect the error comes from the high interrupt load. Maybe the crash even results from a bug in the arch port. I did not yet discover where the bug comes from, but I can reproduce the behavior on both our custom hardware and the evaluation board. I'd be very glad if someone else could take a look into this as well. Looks a bit nasty :) Simon