Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

boot loader

boot loader

2003-11-30 by jay marante

What is the boot loader? where can i use it?
I have a project on door lock using keypad. it definitely asks for a password. how can will i include in my code (using ICCAVR) so that the EEPROM will be written only once for the administrator password everytime i turn on the system?
Thanks for the help.
jay

Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Re: boot loader

2003-11-30 by poitsplace

--- In AVR-Chat@yahoogroups.com, jay marante <jaythesis@y...> wrote:
> What is the boot loader? where can i use it?
>  
> I have a project on door lock using keypad. it definitely asks for 
a password. how can will i include in my code (using ICCAVR) so that 
the EEPROM will be written only once for the administrator password 
everytime i turn on the system?

The boot loader really doesn't deal with the EEPROM (although I 
suppose it could).  The boot loader is a way to reprogram the whole 
chip (excluding the boot code, obviously) so that you can have an 
easier time of it.  It's a feature found in the newer Atmel chips.

I think all you're going to need to do is to just set a value in a 
RAM location somewhere after you've used the administrator password.  
So...when you turn on the system, the RAM location will have the 
wrong value and you'll know the admin password hasn't been used.  
After using the admin password, you set whatever EEPROM information 
you were going to set and then set the RAM and PRESTO.  You only run 
the routine once per power-up

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.