n...@uci.edu wrote:
> Hi,
> 
> I'm using TSIM to simulate an application that was compiled and linked
> with eCos configuration for LEON3. I want to measure performance of the
> application but once the application finishes, it runs eCos's idle loop.
> Is there any way to stop/halt eCos when the application returns?


You could add an 'asm("ta 0")' statement at the end of your
application. This should cause the processor to go into
error mode and halt.

Jiri.

> 
> Thank you,
> Nga
> 
> 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to