Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

atmega64 --section-start problem

Status
Not open for further replies.

pallavibsh

Newbie level 6
Joined
May 9, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,370
Hi all,

am trying to section the flash memory but am not getting the exact syntax to do it so.

Fusebits :

BOOTRST is set
BOOTSZ=0,0

i have included in code:

__attribute__ ((section (".bootloader")))
void boot(void) __attribute__ ((section (".bootloader")));


in linker i.e in Makefile :

-Wl,--section-start=.bootloader=0x7c00 //(for 1024 words)

is so much enough to divide in section and point to the address 0x7c00.

but when i dump the code into atmega64a its not jumping to specified boot address pls help.

THANKS IN ADVANCE.[/u]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top