I posted this in the TI C/C++ Compiler Forums, and they told me that these forums would better assist me. The link to the other post is below.
http://e2e.ti.com/support/development_tools/compiler/f/343/p/319090/1110500.aspx#1110500
I'm getting started with a project on the MSP430FR5739, and I'm getting an unfamiliar compiler warning. The warning shows that this issue is coming from the linker command file of my microcontroller (msp430fr5739.cmd). This is the compiler warning:
#10083-D LOAD placement ignored for "SIGNATURE_MEMORY": object is uninitialized
Even though the warning comes from outside my code, I've posted a simplified version of my code below.
#include <msp430.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
/*
* main.c
*/
int main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
/*************CLOCK INITIALIZER*************/
//Writes password to enable CS register access
CSCTL0_H = 0xA5;
//Set max. DCO setting to 24MHz
CSCTL1 |= DCOFSEL0 + DCOFSEL1 + DCORSEL;
// Sets the MCLK source to DCOCLK,
// the SMCLK source to DCOCLK,
// and the ACLK source to VLOCLK
CSCTL2 = SELM0 + SELM1 + SELS0 + SELS1 + SELA0;
// Sets the MCLK clock divider to 0,
// the SMCLK clock divider to 0,
// and the ACLK clock divider to 0,
CSCTL3 &= 0x00;
// Enables conditional module requests for
// MCLK, SMCLK, and ACLK
CSCTL6 |= MCLKREQEN + SMCLKREQEN + ACLKREQEN;
/*************TEMPRETURE SENSOR CONTROL*************/
// Turn off temp sensor
REFCTL0 |= REFTCOFF;
REFCTL0 &= ~REFON;
/*************CONFIGURE MPU*************/
MPUCTL0 = MPUPW; // Write PWD to access MPU registers
//Add any changes to the MPU here
MPUSEG = 0x0804; // B1 = 0xC800; B2 = 0xD000
// Borders are assigned to segments
MPUCTL0 = MPUPW+MPUENA; // Enable MPU protection
return 0;
}
// trap ISR assignment - put all unused ISR vector here
#pragma vector = PORT1_VECTOR, ADC10_VECTOR, PORT2_VECTOR, \
TIMER0_A0_VECTOR, TIMER0_A1_VECTOR, WDT_VECTOR, COMP_D_VECTOR, \
DMA_VECTOR, PORT3_VECTOR, PORT4_VECTOR, RTC_VECTOR, \
SYSNMI_VECTOR, TIMER0_B0_VECTOR, TIMER0_B1_VECTOR, \
TIMER1_A0_VECTOR, TIMER1_A1_VECTOR, TIMER1_B0_VECTOR, \
TIMER1_B1_VECTOR, TIMER2_B0_VECTOR, TIMER2_B1_VECTOR, \
UNMI_VECTOR, USCI_A1_VECTOR, USCI_B0_VECTOR, USCI_A0_VECTOR
__interrupt void TrapIsr(void)
{
// this is a trap ISR - check for the interrupt cause here by
// checking the interrupt flags, if necessary also clear the interrupt
// flag
}
Note that I'm using Code Composer Studio Version: 5.5.0.00077. The good news is that it doesn't seem to cause any issues when I'm actually running the code (even when I add simple toggle-pin functions). From what I understand from the previous post, it looks like the linker command file doesn't have a group named SIGNATURE_MEMORY, thus, initiating this warning. However, No solution was found in looking for the problem.
I would still like to try to fix this issue. Any suggestions?