05-03-2010 10:39 AM
05-04-2010 03:47 PM
I am looking into this.
Kevin S.
Applications Engineer
National Instruments
05-06-2010 04:42 PM - edited 05-06-2010 04:42 PM
frosturi,
The initial reaction I'm getting from R&D is that Memory Mapping is not meant to be functionality through which global variable values are retained in between code execution cycles. It's meant rather to allow the programmer to optimize further the code. This is stated in the help file:
"Use memory mapping to map code and data that ARM VIs generate to particular areas of memory on the ARM target. Memory mapping is one of several memory considerations for optimizing ARM applications you create. For example, you can map global VIs to ROM so that more RAM is available to run the application."
Flash can obviously be used to store values when the processor is powered down and then back up. This thread discusses this further.
If it is discovered that Memory Mapping should allow for global values to hold previous data, I can update this thread.
Kevin S.
Applications Engineer
National Instruments