This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
1ms timer ecos
- From: "Sinan KAYA" <sinan dot kaya at siemens dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 3 Nov 2006 15:56:46 +0200
- Subject: [ECOS] 1ms timer ecos
hello,
i'm trying to change time resolution of ecos from 10ms to 1ms. I have
seen many posts on the topics and followed the instructions.
I changed the demoniter value from 100 to 1000 and when i run the system
i get an assertion failure on line 624
624 CYG_ASSERT( rounding || save_lower/save_upper == (d1 * d2)/(m1
* m2), "Unequal in reverse direction" );
(gdb) p d1
$2 = 2000000
(gdb) p d2
$3 = 1
(gdb) p m1
$4 = 1
(gdb) p m2
$5 = 1
(gdb) p save_lower
$6 = 1000000000
(gdb) p save_upper
$7 = 500
the values seems to be alright for me
any ideas ?
sinan.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss