How to use cfmconfig section?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use cfmconfig section?

1,162 Views
ignisuti
Contributor IV

The default LCF has this memory location reserved:

cfmprotrom    (RX): ORIGIN = 0x00000410, LENGTH = 0x00000010

 And then defines this section as follows:

.cfmprotect :{    *(.cfmconfig)    . = ALIGN (0x4);} > cfmprotrom

 My GUESS is that this is for memory protection. Is this correct?

 

If so, where do I look to find more information on how to make use of this? I've dug through the manuals and didn't find any information on this specfic address (0x0000410). I've been Googling for awhile now and havn't come across any examples.

0 Kudos
2 Replies

496 Views
konrada
Contributor IV

The 0x410 area holds initial values for registers which are described in the FTFL/FTFE chapter. Look for FTFE_FOPT and FTFE_FSEC. (or FTFL_FSEC, if you're on one of the smaller Kinetises).

0 Kudos

496 Views
PaoloRenzo
Contributor V

The origin is wrong, the config area is at 0x400 - 0x40F (0x10 bytes)

 

Look at FTFL chapter (28.3.1 Flash Configuration Field Description) for the K60 RM

 

Hope this helps

0 Kudos