I am trying to port the host driver onto the MSP430f5438a. I have already gone through and changed all the pins for the SPI, interrupts, etc, to ones that will work with the MSP430f5438a. However, now I would like to change the memory map to give the 5438a non volatile memory. I forgot to change the memory map, compiled, and got this error:
#10247-D creating output section ".FRAM_DATA" without a SECTIONS
I have added a FRAM_DATA (misnomer) to the lnk_msp430f5438.cmd file (shown below). However, I still get the error. What am I missing? The only place I could find the text "FRAM_DATA" was in this file and the original linker for 5739. Where else is this specified? Any help is appreciated,
Thank you
/****************************************************************************/
/* SPECIFY THE SYSTEM MEMORY MAP */
/****************************************************************************/
MEMORY
{
SFR : origin = 0x0000, length = 0x0010
PERIPHERALS_8BIT : origin = 0x0010, length = 0x00F0
PERIPHERALS_16BIT : origin = 0x0100, length = 0x0100
RAM : origin = 0x1C00, length = 0x4000
INFOA : origin = 0x1980, length = 0x0080
INFOB : origin = 0x1900, length = 0x0080
INFOC : origin = 0x1880, length = 0x0080
INFOD : origin = 0x1800, length = 0x0080
FLASH : origin = 0x5C00, length = 0xA380
FLASH2 : origin = 0x10000,length = 0x30000 // was 0x35C00
FRAM_DATA : origin = 0x40000,length = 0x5C00 // didnt exist