On 6 February 2016 at 00:12, Albrecht Frenzel <ajfren...@web.de> wrote:
>> (I don't think simulavr has a notion of a BOOTRST fuse, so it always
>> starts from $pc = 0.)
>
> Sometimes it starts on the correct bootloader start address. Since simulavr
> terminates on ffff, that means that "sometimes" the fuses are checked.

It *sometimes* works because simulavr code does not initialize the
bytes in ALU registers (actually objects of RAM class).

(If you are compiling in debug mode using Visual Studio you would see
they are filled with 0xCC.)

-- 
Petr Hluzin

_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to