How can i write to a flash segment safely in MSP430?Does wrong programming destroys the controller?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How can i write to a flash segment safely in MSP430?Does wrong programming destroys the controller?
See the users guide flash controller section. Also, there are many threads about this in the forum. The search function helps finding them.Ganesh H1 said:How can i write to a flash segment safely in MSP430?
No. It just leads to improperly written flash cells, which may reduce the retention time (down to zero, worst case). It may also reduce the maximum number of write cycles. But if your initial failures lead to a reduction from 100k to 10k write cycles, this surely won't be a big problem too,a s long as you don't carry the problem to the release version/mass production.Ganesh H1 said:Does wrong programming destroys the controller?
Thank you Jens-Michael Gross,
I went through some examples and forum posts but the most confusing part is how to find the address of Flash memory segments..i didn't find that in datasheet . I want to know about the address of Flash memory segments of
MSP430F5438A
In some code it says 0x0E000 and in some 0x1040 which one should i really choose.
Each datasheet contains a chapter named 'Memory address organization'. It's all there.Ganesh H1 said:I want to know about the address of Flash memory segments of MSP430F5438A
0xe000 is main flash. Likely, on the MSP for which this example was written, there is main flash from 0xe000 to 0xffff (16 k main flash). 0x1040 is one of the INFO segments. Main and Info flash are basically the same. The only differences are that you can mas-erase main flash only (spare the info flash) if you want, and that info memory has smaller flash segments (and is only 256 bytes to 1k, depending on MSP)Ganesh H1 said:In some code it says 0x0E000 and in some 0x1040 which one should i really choose.
**Attention** This is a public forum