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.

MSP430F5418A: MSP430F5418A flashing LED example not working in IAR v7+

Part Number: MSP430F5418A

Hello, 

I am trying to run "Flashing the LED" code on my device. I am selecting the "msp430x5xx(C)" tab on the bottom. 

When I try to build it I get the following error: 

Am I able to flash this code through the MSP-FET430UIF ? Please let me know. 

Regards, 

Rajan 

  • Hi Rajan,

    Could you please explain what example you are using? What "msp430x5xx(C)" tab are you referring to?

    Regards,
    Nathan
  • I was following this document:

    www.ti.com/.../slau138ar.pdf

    starting at section 2.
  • Hi Rajan,

    This appears to be an issue with not being able to create files in the Program Files (x86) folder. This may not have been a problem with the OS that was used when the User's Guide was created. I would suggest you instead create a new project in IAR Embedded Workbench. You can copy and paste the code in msp430x5xx_fet_1.c into your main.c in your new project. You can find information on creating projects in the User's Guide.

    Regards,
    Nathan
  • Hey Nathan, 

    You are right, it had to with me not being able to save the project or write to it. I had to go through the IAR information center screen. I was able to get in touch with an IAR expert and this is what they suggested and solved my problem: 

    "The problem is likely that you are trying to build the project in a directory that is protected and the operating system will not let the Embedded Workbench do that (even if you have administrative privileges).

     

    The best way to use the included demo programs is through the Information center, which came up when you first started Embedded Workbench.  If you closed it you can bring it back from the Help menu.

     

    Once you have the information Center screen, click the “Examples” icon, navigate through the menus to the example you would like to run and select it.  It will then ask you where you would like it to install the example, and here is where you should give it a directory of your choosing (make a subdirectory, don’t just put it someplace like your Documents folder) and it will place the necessary source and project files in that directory.  You then should be able to open the project, build, download and debug."

     Once again thank you for your help Nathan !

    Regards,

    Rajan 

**Attention** This is a public forum