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]

Re: Debugger fails when I add kernel support


On Mon, Apr 06, 2009 at 10:16:00PM +0300, Sergei Gavrikov wrote:
> On Mon, Apr 06, 2009 at 08:35:22PM +0200, Robert Brusa wrote:

[snip]

> > I also have a similar program that does not use a task, but instead 
> > mytask is replaced by a procedure - and hence kapi.h is not included. But 
> > all the rest is the same - especially the same ecos is used to build the 
> > program. With this simpler program - the debuggin works fine. I do not 
> > understand why.
> >   Robert
> 
> It's just a guess: It's possible that reason can be in an idle thread
> stuff. The second version has no threads, hasn't it? And you debug the
> version smoothly. So, be sure that HAL_IDLE_THREAD_ACTION does not turn
> a power save mode (it is bad medicine for JTAG debugging). Well, it's
> just a guess.

Robert,

I did talk about:
/home/sg/repo/devo/ecos/packages/hal/arm/at91/var/current/include/var_arch.h:64

I do not know, perhaps your target has CDL to disable power save mode.

Sergei

-- 
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]