Flexram EEPROM Read Fault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flexram EEPROM Read Fault

1,140 Views
pbaierlac
Contributor I

Hi, I am using the MK10DX256VLQ10 processor.  I have configured my FlexRAM to be 4K of EEPROM. 

I am having issues getting periodic Bus Faults when reading from my EEPROM,  I am verifying that EEEREADY is set before I start reading.  The error typically occurs after everything has been running for a while.  It appears to be a timing issue, but I am not sure how to prevent it.  If I attempt to read an EEPROM value too quickly after a write function was completed I seem to get the bus fault.

 

After reading the reference material I was not able to find a flag that states the EEPROM is available for reading.

 

pbaierlac_0-1652108201161.png

 

pbaierlac_1-1652108308721.png

 

Labels (1)
0 Kudos
Reply
2 Replies

1,131 Views
jay_heng
NXP Employee
NXP Employee

 You can refer to \driver_examples\flash\flexnvm_eeprom example in SDK

0 Kudos
Reply

1,125 Views
pbaierlac
Contributor I

Hello, 

 

Thanks for pointing me to this, however, I am working with a 3rd party who provided my initial code base that enables the GPIO pins.  This file was not provided.

Is there a location I can download this from?

Thanks,

Paul

0 Kudos
Reply