Hi everyone !
I have been working these last few days on using the Bluetopia library (supporting MSP430F5438A) for MSP430F5529.
My first step was to compile the sample SPPLEDemo for MSP430F5438A, which worked after some trials. But since I don't have the corresponding boards, I did not load the program. Then, I modified the program for my board with MSP430F5529, by adjusting the Hardware files. I do not want to run de SPPLEDemo in a first step, but only to run the library on my microcontroller. I must be very close to succeed but I still face a warning:
"#10247-D creating ouput section ".patch" without a SECTIONS"
I compiled in legacy COFF with TI v4.1.1 compiler. Please find attached the linker I use (I extended a bit the RAM, from 0x2400 to 0x7400, I do not know if I did correct). What does this warning mean, what is the ".patch" section ?
I also inserted the following lines of code because I had warnings related to undeclared interrupt vectors:
#pragma vector=RTC_VECTOR,PORT2_VECTOR, \
USCI_B1_VECTOR,TIMER1_A1_VECTOR,DMA_VECTOR, \
TIMER0_A1_VECTOR,TIMER0_A0_VECTOR,TIMER2_A1_VECTOR,TIMER2_A0_VECTOR,USB_UBM_VECTOR,ADC12_VECTOR,COMP_B_VECTOR, \
USCI_B0_VECTOR,USCI_A0_VECTOR,WDT_VECTOR,TIMER0_B1_VECTOR,TIMER0_B0_VECTOR, \
UNMI_VECTOR,SYSNMI_VECTOR
__interrupt void ISR_trap(void)
{
// the following will cause an access violation which results in a PUC reset
WDTCTL = 0;
}
When I start debugging, the program is being loaded on the chip. I see every interrupt vector being loaded to the memory untill I see the image below. The window freezes for half a second and then the program stops being loaded. It looks communication is lost with the microcontroller. The IDE enters debug mode but the PLAY button is already pushed. When I pause, I don't see anything from the chip. The PC is set to 0xFFFFE and if I enter a random value in the program, it fastly jumps back to 0xFFFFE.
Fig1 - Window frozen for half a second
Fig2 - Program loading very quiclky (too quickly to be true)
Since #10247-D is only a warning, may the problem be due to an error in my source code ?
I use the 90-days trial version of CCS5 (I think it is 5.2) with no code size limit.
Thank you very much for your help.
Corentin