Thanks again for your previous response.
Since the UBL project I’m using is an unofficial demo, I understand it may contain limitations or bugs. To avoid starting completely from scratch, I wanted to ask if NXP provides any official or recommended reference bootloader project—either for the S32K3xx series or for any other NXP MCU that I can refer to and adapt for my target (S32K312/324/344).
Even if not specifically for the S32K312, having access to an official bootloader source (or link to such resources or documentation) for any supported platform would be a huge help. I can use that as a reliable reference and adapt it to my target device.
Your support will truly help move this forward, and I hope some guidance or reference can be provided.