[En-Nut-Discussion] .bss was Stuck !! Fixed (bug in NutOS)
Marc Wetzel
mwse at gmx.de
Fri Apr 2 12:23:37 CEST 2004
OK, I got it. That makes sense.
So the NutOs bug is
=> to split up the initialization code into:
- RAM init (=> init1)
- OS init (=> init8)
Harald?
> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of NGB
> Sent: Friday, April 02, 2004 12:18 PM
> To: Ethernut User Chat (English)
> Subject: RE: [En-Nut-Discussion] .bss was Stuck !! Fixed (bug
> in NutOS)
>
>
> Nutinit is execute at init8 way too late, bss is cleard at
> .init4 Doing this has solved my problem, the product now runs
> without any problems. if you don´t beleive me put a huge
> array 4K at the start of you memory so you push all varibales
> in XRAM. Then watch NutOS die !!
>
>
> Nic
>
> > Hmmm.
> >
> > The fun part of you solution is...
> > that this code (MCUCR=BV(SRE) | BV(SRW);) is already called in
> > NutInit() So I suppose you are on the wrong lane.
> >
> > Marc
>
>
> -------------------------------------------------
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list