Petr Lukas

CW10.1 Secure Warning when flashing MQX Kinetis

Discussion created by Petr Lukas Employee on Aug 24, 2011
Latest reply on May 29, 2012 by Martin Kojtal

There is an address space on Kinetis, the Flash Configuration Field, from 0x400 to 0x40F, that if written improperly can permanently secure the chip making it inaccessible. This is obviously dangerous. There is now a check in CW10.1 for linker files accessing this address space, which is a good thing. However, this check can result in false alarms. For example, even if the access to this data space is correct and OK, the alarm goes off because the data space is touched.


The MQX  3.7.0 default linker file was prepared such that the FCF address space is written using the correct and safe data (leaving the chip unsecured).  But after the CW10.1 1.0.1 update current MQX 3.7.0 customers will be bothered by this message every time they want to flash the MQX application. If you see this dialog (image below) you are safe to click "No" and continue the flashing operation.



 The problem will be fixed for a future release of the MQX RTOS and the CodeWarrior tools.