This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]