Alexander Krause <[email protected]> wrote:

> My idea was to check if my serial has the value 0 (bytes 0 & 1 of
> the usersig) and then erase the usersig because a serial with the
> value 0 would be invalid in my case.

Where would those 0 bytes come from?

Erased (NAND-)Flash has all bits set, i.e. the initial value
of each byte is 0xff.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to