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

Prodigy 40 points

Replies: 3

Views: 721

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.

3 Replies

  • Doug Nappier1
    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

    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
    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.

    _____________________________________

    Time to say goodbye - I don't have the time anymore to read and answer forum posts. See my bio for details.

    Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
    I'm sorry that  I can no longer provide help  in the forum or by private conversation.

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.