Thank you John! Per your advice I changed cyg_tick_count_t to cyg_count32 in cyg_edf_sched_info structure fields. As:
> typedef struct > { > cyg_count32 deadline; /* abs ddl of the thread, 2b changed to rel */ > cyg_count32 wcet; /* Worst Case Execution time of the thread */ > cyg_count32 period; /* Call frequency of the thread */ > } cyg_edf_sched_info; But, it couldn't solve the problem, still I have the same output. > *** TRACE: edf.cxx [595] <nofunc>() 'thread_edf_info->deadline = 16688624' > *** TRACE: edf.cxx [596] <nofunc>() 'thread_edf_info->wcet = 15691760' > *** TRACE: edf.cxx [597] <nofunc>() 'thread_edf_info->period = 15691760' Any other hints? Thanks, Nodir. On 24 January 2010 16:45, John Dallaway <j...@dallaway.org.uk> wrote: > > cyg_tick_count_t is a 64-bit unsigned integer. You are treating these > values as 32-bit signed (using "%d") in your CYG_TRACE() calls. > > I hope this helps... > > John Dallaway > eCOs maintainer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss