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.

No source available for "0xfffe"

Other Parts Discussed in Thread: MSP430F5438

Hi,  I am new to MSP430 microncontroller coding.I have tried loading my exe file using CCSv5  in MSP430F5438 board ,I am getting the following error.No source available for "0xfffe". Can any one help me to find the cause for this error. Thanks in advance.

  • Your program is stuck fetching the reset vector, which appears to not have been initialized.

    The console window indicates that the program you loaded has only 34 bytes of code and 2 bytes of data.

    What is this program? Can you post your project?

    Alan

  • Hi Alan,

    I am trying for configuration of UART pins and also i am going to try communicating SIM 300 GSM modem from the target board MSP-EXP430F5438.PFA my attached main program.

      main.c - MSP-EXP430F5438 Experimenter's Board :
    
    int main()
    {
       // Stop watchdog timer
       WDT_hold(__MSP430_BASEADDRESS_WDT_A__);
       
       /* Check for the version of the board. This code requires an
        * MSP-EXP430F5438 REV 0-03 (or later) to work. Trap code execution
        * if validation fails. */
       if (!assert_board_version()){
            while (1) ;
       }
       
        /* Check the silicon the code is running on. This code requires an
         * actual MSP430F5438A device to work. Trap code execution
         * if validation fails. */
        if (TLV_getDeviceType() != F5438A){
            while (1) ;
        }
    
        //Initialize clock and peripherals
        UCS_setExternalClockSource(__MSP430_BASEADDRESS_UCS__,32768,0);
        
        halBoardInit();
    
        // Configure GSM Port TXD/RXD
        GPIO_setAsPeripheralModuleFunctionOutputPin(__MSP430_BASEADDRESS_PORT3_R__,
            GPIO_PORT_P3,
            GPIO_PIN4
            );
        GPIO_setAsPeripheralModuleFunctionInputPin(__MSP430_BASEADDRESS_PORT3_R__,
            GPIO_PORT_P3,
            GPIO_PIN5
            );
    
        UART_init(__MSP430_BASEADDRESS_USCI_A0__,
                 UART_CLOCKSOURCE_SMCLK,
                 UCS_getSMCLK(__MSP430_BASEADDRESS_UCS__),
                 9600,
                 UART_NO_PARITY,
                 UART_LSB_FIRST,
                 UART_ONE_STOP_BIT,
                 UART_MODE,
                 UART_OVERSAMPLING_BAUDRATE_GENERATION
                 );
        
        //Enable UART module for operation
        UART_enable(__MSP430_BASEADDRESS_USCI_A0__);
    
        // Enable loopback
        UART_setLoopback(__MSP430_BASEADDRESS_USCI_A0__);
        
        //Enable Receive Interrupt
        //UART_enableInterrupt(__MSP430_BASEADDRESS_USCI_A0__,UCRXIE);
        __bis_SR_register(GIE);                 // Enable Interrupts
    
        halLcdInit();
        halLcdSetContrast( 100 );
    	halLcdClearScreen();
    
    	memset(UARTReceiveBuffer,0,RXBUFSIZE);
    	
    	halLcdPrintLine("Wipro M2M Project",0,OVERWRITE_TEXT);
    
    #if 0
    	if (!gprsConnect()) {
    		halLcdPrintLine("GPRS not connected",1,OVERWRITE_TEXT);
    		return -1;
    	}
    	halLcdPrintLine("GPRS connected",1,OVERWRITE_TEXT);
    #endif
    
    	while(1);      
    }
     
    Warm Regards,
    Srividhya.
  • I'm not familiar with non-BIOS MSP430 projects, but it seems to me that the program you show would result in a code size much larger than 34 bytes.

    After building the project, are you sure you downloaded the correct binary file onto the boad?

    Alan

  • Hi Alan,

    Yeah  code size is larger than 34 bytes and I have loaded the same binary file onto the board.we are suspecting that program not properly compiled.I dont have idea how to verify the compilation or how to proceed furthur.

     

    Warm Regards,

    Srividhya

  • If you'll export your project into an "Archive file" and then post the archive file I might be able to figure out whats going wrong.

    Alan