Hi All,
I am trying to use the functions of Time.h in my application (My target is LPC2138) and my Application is jumping to SWI_Handler.
Do timer.h is implemented?
TNX Kobi
Since you are not using semi hosting environment you need to retarget the low level time functions (at least _clock_init and clock and optionally time).
Look into the uVision User Manual for details: http://www.keil.com/support/man/docs/armlib/armlib_cihcbhgc.htm http://www.keil.com/support/man/docs/armlib/armlib_cihbihgf.htm http://www.keil.com/support/man/docs/armlib/armlib_cihbfbfd.htm
Look also at the example Keil\ARM\Examples\DHRY - especially Retarget.c for an example how to re-implement _clock_init and clock.