From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32625 invoked by alias); 1 Jun 2007 11:56:36 -0000 Received: (qmail 32617 invoked by uid 22791); 1 Jun 2007 11:56:35 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate06.web.de (HELO fmmailgate06.web.de) (217.72.192.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Jun 2007 11:56:31 +0000 Received: from web.de by fmmailgate06.web.de (Postfix) with SMTP id 518F5F22 for ; Fri, 1 Jun 2007 13:56:29 +0200 (CEST) Received: from [194.25.143.58] by freemailng6203.web.de with HTTP; Fri, 01 Jun 2007 13:56:29 +0200 Date: Fri, 01 Jun 2007 11:56:00 -0000 Message-Id: <344344066@web.de> MIME-Version: 1.0 From: Georg Brutscheid To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable 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] System hangs after context switch X-SW-Source: 2007-06/txt/msg00007.txt.bz2 Hi all, I am working on a mpc860 hardware derived from the viper board and I use a= debugger to=20 step through the code. I have flashed a redboot image on the board. Then I = loaded a simple=20 application via SMC1 into the RAM.=20 Now, when I try to start the application with the =93go=94 command, the sys= tem hangs. The problem occurs in the function hal_thread_load_context() during the pro= cessing of the=20 macro hal_cpu_int_merge. The external and decrementer interrupt bit in the= MSR Reg. will=20 be enabled here. After the external interrupt is enabled and I perform a si= ngle step with the=20 debugger the system starts running and I am not able to stop or break. All = interrupts except=20 the SMC1 are masked at this point.=20 If the EE-bit in the MSR Reg. is not enabled here, the example application = starts und runs.=20 Unfortunately, as long as the EE-bit is not set, cyg_thread_delay() ,,,, do= esn't work. Can anyone help to solve this problem. Thanks and Regards=20=20=20=20 Georg Brutscheid -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss