I downloaded AN2295SW and attempted to port the bootloader for MKL04Z32VFM4. I ran into a few problems. I used MKL05Z32LF4.h header file for MKL04Z32VFM4. There are macros that used in AN2295SW bootloader.c that is defined in MK60DZ10.h are not available in MKL05Z32LF4.h.
. No SCB_AIRCR
. No PORT_PCR_REG
As the matter of facts, MKL05Z32LF4.h is totally different than MK60DZ10.h.
Do you have a working AN2295SW for MKL04Z32VFM4 that I can reference to?