I'm developing a KL17 application that is going to be manufactured at a suppliers location.
The initial code to be flashed into the device by the supplier will be a combination of a bootloader and manufacturing test program.
The intent is to have the bootloader security open as it leaves the supplier.
When the boards arrive into our facility we want to load the "real application", secure the device, and enable a backdoor key. Since the FSEC is programmed to 0xfe by the supplier, the 1K flash block that holds the backdoor key and other security and flash related fields has to be erased and reprogrammed ... Is THAT a correct understanding.
As long as the bootloader code does NOT start in that 1K sector, I should be able to update my security information without affecting the bootloader code (just wasting 1K of flash to make this option possible).
Is my understanding correct?