More on MCUXpresso and BCA

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

More on MCUXpresso and BCA

1,669件の閲覧回数
JBM
Contributor V

I am porting an older application with bootloader functionality to MCUXpresso.  I have read a number of posts here and this on in particular seems to apply:

https://community.nxp.com/message/1004329?commentID=1004329#comment-1004329

In the end, it appears that the best way was to modify the linker scripts and, I assume, not use the managed linker script.   Has anybody been able to load the BootloaderConfig at a specific address with the MCUXpresso manageed linker script?

I have already got the flash relocated (I think) to the right address for my bootloader application. Now I would like to figure out how to move the BCA (I've done it by modifying linker scripts) using the managed linker script.

タグ(2)
0 件の賞賛
返信
6 返答(返信)

1,517件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

I write a document to show you how to allocate the data at specified address. 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

1,517件の閲覧回数
JBM
Contributor V

I've already done what is in this document.   Another person wrote a similar document a year or two ago.  My question was, has anybody done with WITHOUT turning off the managed linker script functionality?

0 件の賞賛
返信

1,517件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Hi,

If you do not turn off managed linker script, you can't modify the ld file. When you modify the ld file without turning off, the modification will not effect.

 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

1,517件の閲覧回数
ErichStyger
Specialist I

In 99.9% you don't need to turn off managed linker scripts, because you can add/change things with the FreeMarker scripts. Turning off managed linker scripts bypasses all the checks of the linker file and should not be done: using the FreeMarker way has worked very well for me.

0 件の賞賛
返信

1,517件の閲覧回数
JBM
Contributor V

Thanks Erich, I'll take a look at that.

0 件の賞賛
返信

1,517件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信