how to change flashing address of optibootloader for arduino???

hello guys,

Can anybody tell me how to change the bootloader flash address of optibooloader so, after editing if its size increased I can increase me allocated bootloader space in Arduino?

By setting the fuses. See in the datasheet for appropriate MCU.

But I am getting an error of [00007ffe->00007fff] overlap section.txt [00007e00->00008251] during compilation of optiboot code to generate hex file.

Aaah, you have bigger image, then:

  1. Switch off some options to fit into required size or
  2. in makefile choose different/appropriate device; resp. edit parameter LDSECTIONS in chosen device.

Easy fix, if you haven’t added too much code:
Use the BIGBOOT option:

make atmega328 BIGBOOT=1

( I dunno, though 008251 ? I think that’ll be too big even for the 1k “bigger” bootloader. (What have you DONE?))

I have edited the LDSECTIONS in makefile where I have changed the starting address of atemga328. It got compiled but when I flashed the bootloader code after updating the fuse bits also pin 13 is blinking continuously. Did i have to make any other changes to flash the bootloader??

@westfw: I thought the same thing but it is 1105B.

@Prateek22: Post detailed description and log from the make.

The boot region can have specific size like 256, 512, 1024B depending on exact MCU type. It is end of memory so the boot vector is appropriate address - all defined by fuses. The make process create an image with some size which must be less from boot region size and in HEX there is also defined start address according definition.
(However, you can create raw bin image and say the start address during the uploading.)