[En-Nut-Discussion] .bss was Stuck !! Fixed (bug in NutOS)

NGB ngbmoreau at yahoo.com.au
Fri Apr 2 12:18:05 CEST 2004


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


-------------------------------------------------




More information about the En-Nut-Discussion mailing list