Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 219688

Forum Post: RE: MSP430FR5969 writing to FRAM fails to change value

$
0
0
Hi Ryan Brown1 I want to simply write data received from UART over my msp430fr6989 controller. In FRAM space. from its default linker file I have took one location address . that is 0x1800 , I am receiving the first data block is a5a5. ( in linker file I have assigned section of 0x1800 with length of 0x0002 , for this data from info.D segment. and rest is calculated and kept and program compiled fine with out any errors) My instruction to write that particular block is as below. *(unsigned int *)0x1800 = 0xA5A5; ( I have tried this instruction and was working ,but now its not) - My problem is when i tried before , It was working very well. but now what ever I do , the value at particular location remains same 0xffff. and it won't change. in project properties I have setting as below :- 1. erase option :- erase main memory only. 2. code memory model :- small 3. data memory model :- restricted 4. what data must be near :- globals need your guidance in this matter.

Viewing all articles
Browse latest Browse all 219688

Trending Articles



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