Jump to content

Recommended Posts

Hi All,


I am using Energia 0101E0012, MSP430G2553, Launchpad G2 Rev 1.4, on a mac.


When I run the example MspFlash program, it appears like I erase and write to flash correctly, but when I try to read the "Hello World" written into flash, the only thing that prints out is 

Link to post
Share on other sites

msp430.h should be defining __MSP430_HAS_FLASH2__ if the device has that peripheral. It's almost never correct for user code to define any macro that begins or ends with two underscores: those belong to the implementation. (The right answer may be to include msp430.h, though MspFlash.h should be including everything it requires; if it doesn't that's a flaw in whatever provides MspFlash.h.)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...