Hello Freescale Community! I'm using a FRDM-KL46Z and enabling the security flash option on the "Component Inspector - CPU". Which is the way to download the program on the board?
If I download the program with "Run", CW asks me "Device is secure. Erase to unsecure?" then I click yes and the console say:
INF: CMD>RE
INF: Initializing.
INF: Device is Secure.
INF: Device is secured. Erasing ...
INF: Target has been RESET and is active.
But the program never starts running on the board. Somebody knows why?
If I download the program with "Flash File To Target" choosing:
* The correct connection
* Flash configuration file: KL46Z256M4.xml
* The .elf of the program on file to flash
Clicking on "Erase and Program" the program downloads to the board and runs well after pressing the reset button... but when I try the attach option in debug mode, it allows me to debug as if the security flash option is disabled.