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.

Can't save program into flash

Other Parts Discussed in Thread: MSP430F5506

I'm using a an MSP430F5506 microcontroller and I am having some problems running my code repeatedly. I do not have any problem debugging my code and I know it is running on my device because the LEDs are blinking when they are supposed to. The problem is that when I take the debugger off the code will not run anymore and I am presuming that it was not saved into flash correctly. Has anyone seen this before? I am using the MSP430-FETUIF with SPY-bi-Wire if that helps.

  • Doug Nappier1 said:
    The problem is that when I take the debugger off the code will not run anymore and I am presuming that it was not saved into flash correctly.

    It seems that either there is no Vcc or the F5506 is held in reset!

    Have you checked the Vcc?

    Also, make sure that the voltage level at the ~RST/NMI pin is High (pulled up to Vcc).

    Can you also provide your example code?

    BR,

    Mo.

  • Doug Nappier1 said:

    I'm using a an MSP430F5506 microcontroller and I am having some problems running my code repeatedly.

    What happens when you try a TI example program?  For example, try the, "Toggle P1.0/LED," program with minimal changes.  See attached.

    8255.screenshot-2012-08-22_1307_33.zip

     

  • Doug Nappier1 said:
    The problem is that when I take the debugger off the code will not run anymore

    It's possible that the debugger turns supply voltage off when exiting, even though "on" is the default setting for VCC on the FET-UIF after plug-in.

**Attention** This is a public forum