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.
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------