Thanks for the quick response @Julián_AragónM .
I have taken AN12218SW file.
But it seems it is developed for S32k148 is there any easy way to migrate from s32k148 to s32k144.?
Also, I'm not able to see any configuration done in tool for S32k148 project in (UART, CLOCK, PIN etc.)
it seems it is written without generating drivers from configuration tool.
So, it's not easy to take configurations for s332k144 from provided code of s32k148.
Please suggest me a way to make this code functional for S32k144 As soon as possible.
Also, I need some guidance, I'm using Appnote An12323 section 6.1.1 S32K144 Memory Map for A/B Swap, with single pflash block. I have one question as below:
Where should I gather new firmware packets and write into flash? in application code itself OR we should gather in boot loader (UART based boot loader)?
Scenario_1: New firmware packets gathering in APP code itself.
total program flash: 512 --> 247kB running firmware (firmware_1) + 247kB(firmware_2)
flex memory: 64kB --> 16kB bootloader (only A/B swap logic) + 48kB (EEPROM)
If I'm planning to get new firmware packets in application code (firmware_1, Running firmware) itself. Is it possible to flash/store new packets at firmware_2 location without any write/read problems?
(Note: As of now planning to write UART based bootloader as current code size: 278kB will not fit in
247 kB partition decided in appnote section An12323 section 6.1.1)
below image attached from AN12323 page 12.

Thanks,
Ankit Rana