How can I generate position independent code for an MPC5607B (VLE code) with CodeWarrior V10.6.4?

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

How can I generate position independent code for an MPC5607B (VLE code) with CodeWarrior V10.6.4?

ソリューションへジャンプ
1,088件の閲覧回数
stephanmorgenst
Contributor I

I am currently working on a bootloader software for an MPC5607B which exclusively uses VLE code (virtual length encoding). My problem is that CodeWarrior V10.6.4 does not support code model "SDA based PIC/PID Addressing" for MPC5607B because it uses VLE code. Is there any other way that I can generate position independent code? Any help appreciated.

ラベル(1)
0 件の賞賛
返信
1 解決策
960件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Stephan

I don't think there is any special compiler/linker setting to link the project executing with position independent code/data. 

I recommend to put bootloader image and the user application image into different sectors in the internal flash. 

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
961件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Stephan

I don't think there is any special compiler/linker setting to link the project executing with position independent code/data. 

I recommend to put bootloader image and the user application image into different sectors in the internal flash. 

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信