Hi Furkan,
We provide some bootloaders which are supposed to be a starting point for customers to develop own solution. It’s not production code. And most of customers have usually specific requirements, so they need to modify the projects anyway.
https://www.nxp.com/docs/en/application-note/AN12218.pdf
https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip
https://www.nxp.com/docs/en/application-note/AN12323.pdf
https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip
Generally, when porting any project, the best way is to create new empty project for your derivative. Next step is to update the linker file. This is necessary for both bootloader and application. You can use original linker files from the application notes as a guidance. If some help with linker file is needed, search for “ld.pdf” documentation in S32 Design Studio.
Then you can copy the source files to your new project and update them as necessary (S32K116 has less flash, so you need to update the code for erase, then you need to check which UART instance will be used etc.). Before doing this, try to get familiar with the original bootloader project as much as possible, so you know what’s going on.
When going from S32K14x to S32K11x, this application note should be helpful:
https://www.nxp.com/docs/en/application-note/AN11997.pdf
Regards,
Lukas