AnsweredAssumed Answered

RT1050 QSPI Flash Security Settings Help

Question asked by Kamal Nasif on Nov 25, 2019
Latest reply on Nov 25, 2019 by Kerry Zhou



I am working on a project using the MIMXRT1050 board with QSPI flash on Keilv5 IDE. I would like to know how to download code to the flash and then secure the flash so other people will not write over my code. I will also need to be able to update the code later after the first download. How can I secure my flash code and give only myself the permission to overwrite my original program?


I have been reading about Security Register Lock Bits in which I can set them by writing to a specific register but, I need to know how to unlock the flash before I attempt locking my program or else I would be stuck. Any help is appreciated.