Hello everyone,
In the following example (EXAMPLE S32K144 Position Independent Code) an example of how to generate position independent code for the s32k144 was posted. The example is supposed to be built for RAM and I am able to run it on the EVB and see the coloured led. I have been trying to modify the example for a flash project but with little success thusfar. I have modified the linker file (see attachment) to include the .got section and debug configuration (see picture below). The code builds and uploads but no blinking led appears (it seems to crash on something but due to the way it is uploaded (using the .bin) I can't see on what). Can anyone point me to how I can modify the example to make it work for flash or an example built for flash?
Kind regards,
Sebastiaan
There is a new blog on mcuoneclipse.com which covers this topic in great detail:
Hello s.verhoek@spike.global,
Our apologies for the delay in response. Somehow this question was missed.
We are now looking into this issue and hope to provide an update for you very soon.
Best Regards,
Mike