bootloader linking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

bootloader linking

392件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Forrestg on Mon Sep 12 01:43:51 MST 2011
Hi all,

I have general guestion about linking bootloader and application into one elf file.
My idea is simple set all bootloader code to address from 0x0 to 0xFFF and application start at address 0x1000. Of course I would like to debug all code and this is problem becouse debug data is typically set at very height adress.
So how I must modify linker script to set up all (with debug information) bootloader code to first sector and all application data start at adress 0x1000.

My bootloader have 2.5kB size is OK but I cant find how to set all bootloader data to range 0x0-0xfff. I use LPC1768.

Thanks for anythink idea.
0 件の賞賛
返信
0 返答(返信)