Hello NXP community,
we have met a strange problem in MKL02Z32VFM4 MCU using MCUXPresso and IAR for bootloader (FC protocol).
Bootloader : IAR , reserved 4K size from 0x0000~0x1000 of 32K flash.
Application : MCUXPresso, should assign application start from 0x1000 in linker file.
On the bootlaoder code ,change the jumpaddress ;
On the application code ,change the linker file , change it from the "jump address" to start.
In above arch, the application image seems does not start or run after upgrade image via bootloader.
MCUXpresso IDE v11.0.0 [Build 2516] [2019-06-05]
SDKVersion is V2.3.1
If we change developing application from MCUXPresso to Code Warriror V10.6, the application runs and operates normally with the same bootloader.
After comparing the binary file between MCUXPresso and Code Warrior, we found the file content of first 1k bytes seems have some basic different.
We changed flash location in properties -> C/C++ build -> MCU settings as below:
Do we missing any config procedure in MCUXPresso IDE?
Our linker file are list as attachment.
Would someone show me what I miss or doing wrong?
I thank everyone in advance for the great help,