energia / msp430-lg-core

15 stars 12 forks source link

Update MspFlash.cpp to support MSP430F5529 #20

Open robertinant opened 8 years ago

robertinant commented 8 years ago

From @astuder on January 8, 2014 15:53

MSP430F5529 does not have the clock divider register (FCTL2), which breaks MspFlash.cpp.

In addition, the examples in the family guide check the BUSY flag in FCTL3 before/after write and erase operations. This might be required for reliable operation. (note that the function of this flag is different in the G family).

Error message and suggested solution see: http://forum.43oh.com/topic/4900-problem-using-mspflash-example-with-mspf5529-launchpad

Copied from original issue: energia/Energia#315