Flex Ram

cancel
Showing results for 
Search instead for 
Did you mean: 

Flex Ram

361 Views
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 Kudos
3 Replies

298 Views
PabloAvalos
NXP Employee
NXP Employee

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 Kudos

286 Views
AsafTv
Contributor II

Hi,

Thanks for your help.

i need example project that used EEPROM.

Thank You

0 Kudos

270 Views
PabloAvalos
NXP Employee
NXP Employee

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 Kudos