From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3581 invoked by alias); 14 Mar 2007 08:06:23 -0000 Received: (qmail 3554 invoked by uid 22791); 14 Mar 2007 08:06:17 -0000 X-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_50,NO_REAL_NAME X-Spam-Check-By: sourceware.org Received: from tuvok3.mmm.com (HELO tuvok3.mmm.com) (192.28.4.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Mar 2007 08:06:11 +0000 Received: from mccoy4.mmm.com ([192.28.4.41]) by tuvok3.mmm.com (8.12.10/8.12.9) with ESMTP id l2E869b2029231 for ; Wed, 14 Mar 2007 03:06:09 -0500 (CDT) Received: from geneun11.euro.mmm.com ([169.5.16.121]) by mccoy4.mmm.com (8.12.10/8.12.9) with ESMTP id l2E8683q021008 for ; Wed, 14 Mar 2007 03:06:09 -0500 (CDT) MIME-Version: 1.0 To: ecos-devel@ecos.sourceware.org Subject: Scheduler problem with MPC855T port X-Mailer: Lotus Notes 653HF719 September 12, 2005 Message-ID: From: khoffmann@mmm.com Date: Wed, 14 Mar 2007 08:06:00 -0000 X-MIMETrack: Serialize by Router on GE-Schiller/GE-Europe/3M/US(Release 6.5.3|September 14, 2004) at 14.03.2007 09:06:09, Serialize complete at 14.03.2007 09:06:09 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.57 on 192.28.4.40 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: 2007-03/txt/msg00001.txt.bz2 Hello everybody, I've got a problem with my attempts to port eCos to our MPC855T board: I started with the FADS template (which I now know, was not the best idea)= =20 and got so far that I can access my RAM, my FLASH, the UARTs and the FEC=20 (at least I can see the DHCP requests on the net). When I compile the 'twothreads' example, I can find a bunch of threads in=20 the internal threadlist, obviously everything fine, some 'SLEEPING', some=20 'RUNNING'. But after each thread has run once, the processor is only looping throug= =20 the main_idle_thread() and it's doing nothing else. The trace issues the=20 following a short time before the endless 'loop' (where the 'loop' is=20 probably triggered by an external interrupt). TRACE: <2>[447]void Cyg_Mutex::unlock() return void TRACE: <2>[709]void Cyg_Alarm::initialize() enter TRACE: <2>[277]void Cyg_Counter::add_alarm() enter TRACE: <2>[277]void Cyg_Counter::add_alarm() RETURNING UNSET! TRACE: <2>[709]void Cyg_Alarm::initialize() RETURNING UNSET! TRACE: <2>[351]static void Cyg_Thread::sleep() enter TRACE: <2>[271]void Cyg_Scheduler_Implementation::rem_thread() enter TRACE: <2>[271]void Cyg_Scheduler_Implementation::rem_thread()=20 thread=3D0045de10 TRACE: <2>[325]void Cyg_Scheduler_Implementation::rem_thread() return void TRACE: <2>[372]static void Cyg_Thread::sleep() return void TRACE: <2>[741]void Cyg_ThreadQueue_Implementation::enqueue() enter TRACE: <2>[741]void Cyg_ThreadQueue_Implementation::enqueue()=20 thread=3D0045de10 TRACE: <2>[818]void Cyg_ThreadQueue_Implementation::enqueue() return void TRACE: <2>[119]Cyg_Thread* Cyg_Scheduler_Implementation::schedule() enter TRACE: <2>[192]Cyg_Thread* Cyg_Scheduler_Implementation::schedule()=20 returning thread 00419070 TRACE: <2>[87]static void Cyg_HardwareThread::thread_entry() enter TRACE: <1>[1239]void idle_thread_main() enter TBSCR 0001, vec 15: sivec 3c000000, simask 10010000, sipend 40020000 TBSCR 0001, vec 15: sivec 3c000000, simask 10010000, sipend 40020000 TBSCR 0001, vec 15: sivec 3c000000, simask 10010000, sipend 40000000 TBSCR 0001, vec 15: sivec 3c000000, simask 10010000, sipend 40020000 TBSCR 0001, vec 15: sivec 3c000000, simask 10010000, sipend 40000000 ... ad infinitum ... I probably missed something, but what? Any help is appreciated! With kind regards, Karsten Hoffmann --=20 3M Deutschland GmbH Telecommunications Carl-Schurz-Stra=DFe 1 D-41453 Neuss Tel: +49-2131-14 58 73=20 Fax: +49-2131-14 12 58 73