Hi

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

Hi

1,204件の閲覧回数
ramakrishnadutt
Contributor I

I have seen in the document of "56800EFPUG, 56800E Flash Programmer-User's Guide" that  there is a portion called lock in the command line:

Is a similar thing there for 56800EX Core, as I am using MC56F82748 in EX Core.

 

The lock details I found in the manual is: SECLO_VALUE: 0xE70A, by writing this value to the command line it will perform lock operation.

 

Kindly help on this issue for EX Core of the said controller.

ラベル(1)
0 件の賞賛
返信
1 返信

1,118件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, the security feature is related to the Flash technology, for the DSC family with DSP56800EX core for example MC56F84xxx and MC56F82xxx, the two families use the same flash technology as that of Kinetis. If you want to DISABLE the security feature, just do not write any value to the WORD address from P:0x200 to 0x207, in other words, keep the address section as the values shipped from factory.

If you do want to set the chip in security mode, you just need to write the security value to P:0x206 address with WRITEH in link command file.

for example:

This is the the memory defination:

MEMORY {

        # I/O registers area for on-chip peripherals

        .x_Peripherals (RW)   : ORIGIN = 0xC000, LENGTH = 0

        # List of all sections specified in the "Build options" tab

        .p_Interrupts  (RWX) : ORIGIN = 0x00000000, LENGTH = 0x000000DE

        .p_Code  (RWX) : ORIGIN = 0x00000208, LENGTH = 0x00007DF8

        .x_Data  (RW) : ORIGIN = 0x00000000, LENGTH = 0x00001000

        .p_reserved_FCF  (RWX) : ORIGIN = 0x00000200, LENGTH = 0x00000008

        .x_internal_ROM  (RW) : ORIGIN = 0x000040DE, LENGTH = 0x00000122

        # p_flash_ROM_data mirrors x_Data, mapping to origin and length

        # the "X" flag in "RX" tells the debugger flash p-memory.

        # the p-memory flash is directed to the address determined by AT

        # in the data_in_p_flash_ROM section definition

        .p_flash_ROM_data  (RX) : ORIGIN = 0x00000000, LENGTH = 0x00001000

}

.example_data_section :

{

WRITEH 0xFFFF;

WRITEH 0xFFFF;

WRITEH 0xFFFF;

WRITEH 0xFFFF;

WRITEH 0xFFFF;

WRITEH 0xFFFF;

WRITEH 0xFFFE; #the address is 0x206, the low byte 0xFE will be copied to FTFA_FSEC register

}>..p_reserved_FCF

Note if you write the byte address 0x206 incorrectly and the DSC will be in secure mode, it is possible you can not write the flash again.

Hope it can help you.

BR

XiangJun Rong

0 件の賞賛
返信