LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA - EEPROM Read/Write?

Hello, using a(n) NI-9149 and I was curious if it is at all possible to write to the EEPROM programmatically via FPGA?  I am trying to maintain a "known last state" of my DO in case the cRIO goes through a power cycle during operation.  My googling as not turned up anything useful so I'm assuming the answer is "no."  Plus, from what I'm learning from the Memory capabilities, those apparently reset every time the cRIO resets.  Thoughts, advice... greatly appreciated.

0 Kudos
Message 1 of 2
(2,218 Views)

I think of the EEPROM as being small and not to be touched in normal operation.

 

It sounds like you want to store the current state so that on reboot you can recover to some extent.

 

 

I think the memories only reset if you call Reset on the FPGA. Else they should still be in there preshutdown state. I seem to remember worrying about memories holding data from previous executions, so I made sure when my memories reset I wrote 0's to all of them. I guess you could simply not do this and access the previous iterations memory state.

 

You could try it out in a simple case and report back!

CLA - Kudos is how we show our appreciation for comments that helped us!
Message 2 of 2
(2,177 Views)