[AVR] Linker Script for bootloader in avr-atmega256rfr2

Status
Not open for further replies.

demo.user

Newbie level 1
Joined
Oct 4, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
Hi,
I am trying to burn a bootloader for AVR-atmega256rfr2 MCU. For this, I have a linker script to connect bootloader and application.But I am little bit confused in the usage of linker script.What address should be give and how it links with application is unknown
In linker script i have added
MEMORY
{
text (rx) : ORIGIN = 0x0003f800 , LENGTH =2K
iap (rx) : ORIGIN =0x0003fcfc , LENGTH=264
data (rx!x) :ORIGIN =0x00800190,LENGTH=16K-500

}

Is this iap address correct.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…