MSP430F6775A: FLASH

Part Number: MSP430F6775A

Tool/software:

HI!

I would like to ask if it is possible to write to INFO C-D segments in memory even without erasing, because I have noticed that it works well for FLASH but not for the INFO segment. After writing without erasing, the data are not the same.

  • Hello Stanislav,

    I think due to the characteristic of Flash, it needs to be erased before writing. Since INFO C-D is part of Flash memory, so it can' t be written without erasing. In the TRM of MSP430F6775A, you can find this description: 

    Best Regards,

    Janz Bai

  • Hi,

    MID is not available on MSP430F6775A, so I don’t know if I can use that. Well, it may be true, but on ordinary flash, it is written successfully even without erasing within the same segment of memory. For example, I have written one word without erasing and then the second right next to the first one, and it was successful. However, in the INFO area, there was a disruption in some bits like instead of 0xAAAA there was 0xA0AA. So it is confusing a little bit.

  • Hello Stanislav, 

    I am sorry that I misunderstand your meaning before. In our TRM, you can find this description.

    So you can write Byte, word (2 bytes) and long (4 bytes) into Flash but the premise is that the FLASH at this position is empty (0xFFFF). And if this position is not empty (0xFFFF), you must erase it firstly. And the erasing just includes segment erase, bank erase and mase erase. Before you write byte into INFO region, you should confirm whether the region you want to write into already has data. And more specific information about Flash control, you can download the TRM from ti.com and study it.

    MSP430x5xx and MSP430x6xx Family User's Guide (Rev. Q) (ti.com)

    Best Regards,

    Janz Bai

**Attention** This is a public forum