How to use cfmconfig section?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use cfmconfig section?

1,709件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,043件の閲覧回数
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 件の賞賛
返信

1,043件の閲覧回数
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 件の賞賛
返信