Trouble with eeprom on mk22fx512avll12 with kds pe

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

Trouble with eeprom on mk22fx512avll12 with kds pe

768件の閲覧回数
pem
Contributor I

when i use pe to generate code with eeprom. i found fuction 'Cpu_GetFlexNVMPartitionCode()' always return 0x0.

then i look up the source code, i found that the code generated with pe use wrong 'DFLASH_IFR_READRESOURCE_ADDRESS' with fuction 'FTFE_PDD_Cmd_ReadPartition_Init()'.

it must be 0x8003f8,but it was 0x8000fc just like 'FTFL' module.

the chip must be 'FTFE' module.

also i found that 'FTFE_PDD_Cmd_ReadPartition_GetEepromDataSize()' and 'FTFE_PDD_Cmd_ReadPartition_GetEepromBackUpSize' read wrong register.

it used like 'FTFL' module,that is 'FTFE_FCCOB4_REG' and 'FTFE_FCCOB5_REG'.

it must be 'FTFE_FCCOBA_REG' and 'FTFE_FCCOBB_REG'.

i corrected the source code, then it return the right PartitionCode.

!Please update the package as soon as possible to correct the error

0 件の賞賛
返信
1 返信

564件の閲覧回数
marek_neuzil
NXP Employee
NXP Employee

Hello,

Thank you for reporting of this issue. I have reproduced the issue in the KDS 3.0.0, in Kinetis project with Processor Expert. But it seems that the issue is related to the MK22FX512VLL12 derivative (MK22FX512AVLL12 CPU does not support the Cpu_GetFlexNVMPartitionCode() method).

The issue will be fixed by Processor Expert development team.

Best Regards,

Marek Neuzil

0 件の賞賛
返信