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:
what is the reason?
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.
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.