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.

Warnings of the IDE IAR.

Other Parts Discussed in Thread: MSP430F5172, MSP-FET

Jentlemen!

Sorry for bothering you. I have problems with MSP430F5172.
I use IAR 5.40.3 and MSP-FET430UIF debugger.
First of all I receive two warnings every time when I start IAR:

/---------------------------------------------------------------------------------
Wed Oct 28, 2015 20:28:01: Failed to load cache page property (INFO,
Memory, 0x1800, 0x23FF)
Wed Oct 28, 2015 20:28:01: Memory layout could not be loaded from DDF-file.

Memory cache disabled
/---------------------------------------------------------------------------------

(It is before Buiding, just after IAR starts) .
My programm works on debugger, But does not work at all after I disconnect of the
MSP-FET (There are no flash LED on my board and quarts does not work).
I set of the power supervisor and connect it to the Reset pin of the MSP430F5172,
but there were no any effect.

Could you help me to solve of the problem?

Sincerely Your's

John Korsh.

  • MSP430F5172 is just a chip. What other components, if any, are connected to it? How is it powered? Can you show the schematic of your board?
  • The power is 3.0 Volts. I verifyed it by oscilloscope. It is stable and "clean". The key moments of the scheme are:

    I did not use of the JTAG pins in scheme - only JTAG is owner of the pins.

    The Vcore has a 470 nF capacitor and "clean" too.

  • I think you need at least a pull-up resistor at the Reset pin.
  • Jentlemen!

    I use IAR, and MSP-FET430 debugger. My program works only with the debugger.

    I wrote a simplest test programm (Blink LED) - the result is the same.

    I tryed to load Release version with FET Pro. The program located at the right room of the FLASH, 

    the Reset vector too. Test programm works if I press of the button Reset of the FET Pro, but stops to work 

    if I try to use microcontroller hardware reset pin. My chip has the marker M430 F5172 TI44KC DDNK G4.

    Letters G4 are underlined - may be it is a specific party?

    And once more -the LED pin became In after hardware Reset.

    Could anybody to help me to solve of the problem?

    (So, to use my program with PC is unconvinient).

  • As for the warnings - there is a file MSP430F5172.ddf in IAR/Config. It is a text file. And there was an error in [Memory] section. After of the correction the warnings are disappiar, but my main problem is still alive.
  • You can not just disconnect the debugger unless you completely power-cycle the mcu afterwards.
    press break (red hand), press stop (red x), now press reset button on mcu board.
  • John,

    I merged this with the original thread you posted. It's usually best to try to keep your issue in one thread so that everyone is looking at the same information and won't miss one of your posts.

    -Katie
  • Could you share the full code that you are loading, as well as information about how you are powering the board when you are not using the debugger? As mentioned, you definitely should put a pullup resistor on the RST line too (47k).

    Does the code run if you completely physically disconnect your MSP-FET430UIF from the board and instead supply power from a bench supply or other external supply?

    -Katie

  • First of all, thanks for your attention, Katie. I wrote a test program (after a week of the struggle). The full text I will publushed here tomorrow

    (for to be precise - now I haven't strict copy of it, but it is a trivial). 

    I think the resaon of the problem - the hardware Reset pin of the MSP.

    The points for the conclusion are: 1. The test programm works on dbugger. I press Stop Debugging in IAR. The programm is still alive. 

    I disconnect of the 14-pin debugger connector. The programm is still alive. I switch off then on my board. The programm does not work.

    (The power is +3V, the maximum pulse on the power bus is 0.3 mV, the Reset pin of the MSP connects to the power through of the resistor 47 KOhm

    and to the Ground throgh of the capacitor 2200 pF. I used oscilloscope - the wave form on Reset is just as need - in accordance with the T=RC.

    I also tryed to use MAX811 with apprpriate work level. The result is the same).

    2. I made Release file of the test programm. Then I load it with FET PRO. The program works when I press Reset button in the FET programm.

    I searched of the Reset pin during of the FET Reset process. It was staying in logical one - the FET sends of the command Reset using of the 

    JTAG. I disconnect FET connector - the programm is still alive. I turn off then on of the power - the program does not work.

  • It is my test programm.

    #include "io430.h"

    #define LED_RED_ON 0x02
    #define LED_RED_OFF 0xFD

    int main( void )
    {
    // Stop watchdog timer to prevent time out reset
    WDTCTL = WDTPW + WDTHOLD;

    P3DIR = 0x3; // Set P3 0,1 - Out, 2..7 - In

    while (1)
    {
    P3OUT |= LED_RED_ON; // Switch on of the Red LED.
    __delay_cycles(100000);
    P3OUT &= LED_RED_OFF; // Switch on of the Red LED.
    __delay_cycles(100000);
    }
    }


    I have changed of the chip. I took the chip of another party.
    And now it works as described in the DataSheet.
    Relax. Great.
    I think the reason of my problem was the hardware Reset in this party of chips.
    (I tested six from the party. I think it is enough).
    By the way in the SLAU208M (p. 55) the signal Reset is a result of the conjunction:
    Reset = (not RST) & (not SYSNMI) & (notRST)
    I could not find what is the signal notRST (Sourse and Meaning).
    May be sombody could tell me about the signal?
  • Hi John,

    So all is working now, you just swapped your chip out?

    For notRST on that diagram, I think that this is an internal signal indicating something like whether the part is already in reset or not, but I would have to ask someone who has more information about the device internals to be able to confirm.

    Regards,
    Katie

**Attention** This is a public forum