Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Writing a 32 bit variable to information memory

$
0
0

I am using Code Composer Studio Version: 4.2.5.00005.  I am developing on the MSP430F5437A.

Previously, I was using Code Generation Tools v3.3.3.  While using this version of the compiler, I was able to set a 32 bit variable to 0 information memory with just one write. See below, with reserved2 being defined as a uint32_t:

gladiatorInfo.p_deviceInfo->reserved2 = 0;

However, I recently updated the Code Generation Tools to v4.1.6.  Under this version, I am no longer able to set a 32 bit to 0 in information memory with just one write.  Instead, it sets the lowest 16 bits of that 32 bit variable to 0, but not the entire thing.

Is there a compiler option I can set that will allow me to maintain the ability I had in v3.3.3?  I'd rather not go back through and change all of my writes to multiple 16 bit writes if I can help it.
Any info would be much appreciated, thanks! 

 


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>