public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] System hangs after context switch
@ 2007-06-01 11:56 Georg Brutscheid
  0 siblings, 0 replies; only message in thread
From: Georg Brutscheid @ 2007-06-01 11:56 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I am working on  a mpc860 hardware derived from the viper board and I use a debugger to 
step through the code. I have flashed a redboot image on the board. Then I loaded a simple 
application via SMC1 into  the RAM. 
Now, when I try to start the application with the “go” command, the system hangs.
The problem occurs in the function hal_thread_load_context() during the processing of the 
macro hal_cpu_int_merge.  The external and decrementer interrupt bit in the MSR Reg. will 
be enabled here. After the external interrupt is enabled and I perform a single step with the 
debugger the system starts running and I am not able to stop or break. All interrupts except 
the SMC1 are masked at this point. 
If the EE-bit in the MSR Reg. is not enabled here, the example application starts und runs. 
Unfortunately, as long as the EE-bit is not set, cyg_thread_delay() ,,,, doesn't  work. Can
anyone help to solve this problem.


Thanks and Regards    
                               Georg Brutscheid


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-01 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-01 11:56 [ECOS] System hangs after context switch Georg Brutscheid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).