[En-Nut-Discussion] big .bss/.data and wdt fuse

Przemyslaw Rudy prudy at audiotech.pl
Mon Jan 10 22:44:21 CET 2005


Hi
I should probably go with this question to avr-gcc list, but maybe you 
have already faced similar problem.
Correct me if I am wrong, but:
1. The .bss and .data are put in RAM when system starts
2. When wdt fuse is programmed, watchdog is active since power-on

If the .bss and .data are big enough (about 18k in my case) the system 
hangs just after power-on. It looks like the init code, that handles 
setting .bss/.data into the RAM, does not care about the watchdog reset.
If this is the case, an obvious solution is to decrease .data by moving 
some to .pogmem area. But what if this is not possible and wdt fuse is 
required?

Regards
Przemek



More information about the En-Nut-Discussion mailing list