I've never had to do this before, so I need a little help. I'm writing a piece of code that has "default" variables stored in array A[x] and I need to store used defined variables in array B[x]. But once the power is terminated, I lose all variables in array B[x] because they are user defined. Is there a way to define an array, write to it, and have it retain it's data even after restart or power-off? I realize that this may mean writing into the program memory - is that possible? Thanks
Tony
MOD54415 random C/C++ question
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: MOD54415 random C/C++ question
See the C:\nburn\examples\SaveUserParameters example for using onboard flash.
-
- Posts: 192
- Joined: Mon Dec 17, 2012 6:24 am
Re: MOD54415 random C/C++ question
Oh! The flash is non-volatile?
-
- Posts: 192
- Joined: Mon Dec 17, 2012 6:24 am
Re: MOD54415 random C/C++ question
Thanks!! I can't believe I didn't see that!!