Lock boot loader section

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I want to lock the boot loader section of ATmega16U4, since when I load other programs through JTAGICE mkII or Flip the boot loader is erasing.

I'm using LUFA Bootloader. Any suggestions please.

/Chotan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Use the boot lock fuses.

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using AVR Studio 4.19 and I have changed LockBits BLB1 as following image.
Should I change other options, like BOOTRST in Fuses tab?

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

like BOOTRST in Fuses tab?

If you are using a bootloader then, yes, you'd always want to have the BOOTRST fuse set so the bootloader runs first at power on.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, thanks I got it.

/Chotan