AnsweredAssumed Answered

How to configure Flash Configuration setting from program to protect/un-protect the FRDM-K82F Board?

Question asked by isharat mahmood on Feb 11, 2019
Latest reply on Jun 13, 2019 by Robin_Shen

Hi,

I recently purchased the FRDM-K82F Board.

I downloaded all software from the official website along with the drivers and make the necessary setup in Windows 10 PC.

My config. is as follows:

PC Config : Windows 10 x64

IDE : MCUXpresso IDE v10.3.0_2200

SDK : SDK_2.5.0_FRDM-K82F

Debugger : J-LINK SWD Debugger (without any external Hardware)

Now, I want to use the board for debug/edit cycle for multiple times.

 

I found there is a flash configuration field setting. If the board is getting locked then I can not use the same board for multiple times. So, please anybody provides the location of field configuration setting in sample example project files.

 

 

I found many files that contain the flash configuration field related definitions in FRDM-K82F project folder files.

files are as follows:

 

\device\MK82F25615.h
here search for FTFA_FSEC_SEC(x)

 

\drivers\fsl_ftfx_adapter.h
here search for FTFA_FSEC_SEC

 

\startup\startup_mk82f25615.c
here search for Flash_Config = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFF3DFE};

 

My aim is to modify security related register bits to unprotect device (FRDM-K82F).

Which file/files can be helpful to modify the security-related bits. Is it listed here or I need to find another file. Please specify here. 

 

Waiting for the reply ASAP.

Thanks in advanced.

Outcomes