Hi *, I performed the automated tests on the ML605. 64 of 65 tests succeeded, but one test failed (mutex_test_posix).
Thus, I run the failed test some more times, in total 7 times. - 3 runs: went fine - 3 runs: the mutex was not locked in-between by the hw thread 1 of 10 times - 1 run: the mutex was not locked in-between by the hw thread 2 of 10 times The debug output of the last run with 2 unsuccessful mutex_lock's is attached. Interestingly, the delegate receives the command to lock a mutex before the mutex is locked by the software, which should not happen. I could not reproduce this error for the ecos API, which is a bit odd. It would be interesting to know, if anyone can reproduce this failure. Cheers, Markus -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
self = 0xB00974D0 init_data = 0x00000000 delegate_semaphore = 0x00000000 slot num = 0 slot = 0xB009E444 slot->thread = 0xB00974D0 resources = 0xB0095D08 resource_count = 0x00000001 fifo_read_index = 0xFFFFFFFF fifo_write_index = 0xFFFFFFFF flags = 0x00000001 next = 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: resetting thread '<Not a string: 0xB009F050>': slot 0: initializing with data 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: setting FIFO handles: read: 0xFFFFFFFF, write: 0xFFFFFFFF thread '<Not a string: 0xB009F050>': slot 0: enabling bus macros thread '<Not a string: 0xB009F050>': slot 0: unblocking thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 mutex lock and release by hwthread: too early (3) thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 mutex lock and release by hwthread: too early (3) thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 thread '<Not a string: 0xB009F050>': slot 0: unblocking and writing result 0x00000000 << delegate processing done for task at DCR 0x80000000 thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x02000000 (code: 0x02), data: 0x00000000, datax: 0x00000000 << delegate processing done for task at DCR 0x80000000 mutex lock and release by hwthread: success (34) thread '<Not a string: 0xB009F050>': **task in slot 0:** cmd: 0x82000040 (code: 0x82), data: 0x00000000, datax: 0x00000000 mutex_test_posix done.
_______________________________________________ Reconos-devel_lists.reconos.de mailing list reconos-devel@lists.reconos.de https://ml01.ispgateway.de/mailman/listinfo/reconos-devel_lists.reconos.de