Flex Ram

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flex Ram

791 次查看
AsafTv
Contributor II

Hi,

i use device MK64FN1m0vdc12

i try to write to flex ram i initial the flex as folow

FTFx_API_Init( &FLEX.Config.FLEX ) ;
FLEX.Config.FLEX.flashDesc.sectorSize = 256 ;
FLEX.Config.FLEX.opsConfig.addrAligment.resourceCmd = 1;
FLEX.Config.FLEX.flashDesc.blockBase = 0x14000000;
FLEX.Config.FLEX.flashDesc.totalSize = 4096;
FLEX.Config.FLEX.opsConfig.convertedAddress = 0x14000000;

then i call to

FTFx_CMD_EraseSectorNonBlocking( &FLEX.Config.FLEX, 0x14000000, kFTFx_ApiEraseKey )

after this function the CPU is refused to connect the nxpnesspresso is open error window with:

AsafTv_0-1656587612693.png

what is the reason?

advice

0 项奖励
回复
3 回复数

728 次查看
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @AsafTv 

 

Please accept my apologies for delaying on my response. I really appreciate your patience.

 

Regarding your issue, it seems that it is not a problem with the code, because that error always appear when your target is not being recognized by your computer or some hardware issue is happening.

Also I would like to know if you still need help with the code for emulating EEPROM, because I did not receive answer from you to the email that I sent you. I achieved to get a demo that might be helpful for the request that you asked on your other closed request.

 

Please let me know your comments, and I will stay tuned to your answer.

 

Best Regards.
Pablo Avalos.

0 项奖励
回复

716 次查看
AsafTv
Contributor II

Hi,

Thanks for your help.

i need example project that used EEPROM.

Thank You

0 项奖励
回复

700 次查看
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @AsafTv 

 

Thanks a lot for letting me know and your time waiting for.

 

I will share it with you through an email sent by tech support portal. Please stay tuned to your email to see the folder. The example is called flexmem_demo in src -> projects.

 

Thanks a lot.
Sincerely,
Pablo Avalos.

0 项奖励
回复