C project with LPCOpen for bootloading (To put LPCOpen in a certain memory section)

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

C project with LPCOpen for bootloading (To put LPCOpen in a certain memory section)

ソリューションへジャンプ
673件の閲覧回数
jespermadsen
Contributor III

I made a bootloader for LPC11A14 and this occupies the first 0x2000 bytes.

So the code in project I want to bootload should be located after 0x2000.

The problem is that my projekt links to the LPCOpen library and I don't know how to place the LPCOpen in other than the main section starting from 0x0000.

I added extra flash sections under MCU settings and 

with "Extra linker script input sections" inserted '*lpc_chip_11uxx_lib.a (.text .text*) | Flash2 | .text'

but it dont seem to work.

0 件の賞賛
返信
1 解決策
665件の閲覧回数
jespermadsen
Contributor III

Seems like the magic formular was:

*lpc_chip_11uxx_lib.a:*.o (.text .text*)

So now it works.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
666件の閲覧回数
jespermadsen
Contributor III

Seems like the magic formular was:

*lpc_chip_11uxx_lib.a:*.o (.text .text*)

So now it works.

0 件の賞賛
返信