Status of phycore_mpc5554 with latest RTEMS and RSB built tools

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 21 13:24:52 UTC 2014


On 2014-02-21 14:10, Peter Dufault wrote:
> On Feb 21, 2014, at 07:52 , Sebastian Huber<sebastian.huber at embedded-brains.de>  wrote:
>
>>> >>
>>> >>I assume the default termios mode for the interrupt driven console is line buffered.  Why isn't the output eventually finishing?  Why doesn't increasing the number of tasks to 8 let things run through?
>> >
>> >You hit another bug in the test.
>> >
> What's the bug in the test?  As far as I can tell the test isn't running, I put a breakpoint at task1.c line 28 as well as a breakpoint in bsp_reset() and it doesn't get to either of them.
>
>      puts( "TA1 - rtems_task_wake_after - sleep 1 second" );
>      status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
> ->  directive_failed( status, "rtems_task_wake_after" );
>
> As far as I can tell the tasks are hung up, not producing output and not continuing, and RTEMS isn't exiting.  Why is this a bug in the test and not a bug in RTEMS?

The test worked for me if I use

#define TESTS_USE_PRINTK
#include <tmacros.h>

in it "system.h".

You have to carefully analyze the test to figure out what is wrong here.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list