FILE COMPARISON
Produced: 2/13/2020 2:30:28 PM
   
Mode:  Differences with Context  
   
Left file: C:\Users\a0220986\workspace_v9\test\lnk_msp430fr5043.cmd  
Right file: C:\Users\a0220986\workspace_v9\MSP430FR6043EVM_USS_Gas_Demo\lnk_msp430fr5043.cmd  
44 /* you should set your linker options in Project Properties                   */ = 44 /* you should set your linker options in Project Properties                   */
45 /* -c                                               LINK USING C CONVENTIONS  */   45 /* -c                                               LINK USING C CONVENTIONS  */
46 /* -stack  0x0100                                   SOFTWARE STACK SIZE       */   46 /* -stack  0x0100                                   SOFTWARE STACK SIZE       */
47 /* -heap   0x0100                                   HEAP AREA SIZE            */   47 /* -heap   0x0100                                   HEAP AREA SIZE            */
48 /*                                                                            */   48 /*                                                                            */
49 /*----------------------------------------------------------------------------*/   49 /*----------------------------------------------------------------------------*/
50 /* 1.206 */ <> 50 /* 1.201    (Beta-Build-Tag: #0014) */
51 /*----------------------------------------------------------------------------*/ = 51 /*----------------------------------------------------------------------------*/
52     52  
53 /****************************************************************************/   53 /****************************************************************************/
54 /* SPECIFY THE SYSTEM MEMORY MAP                                            */   54 /* SPECIFY THE SYSTEM MEMORY MAP                                            */
55 /****************************************************************************/   55 /****************************************************************************/
    -+ 56 -stack  600
56   = 57  
57 MEMORY   58 MEMORY
58 {   59 {
59     TINYRAM                 : origin = 0xA, length = 0x16   60     TINYRAM                 : origin = 0xA, length = 0x16
60     BSL                     : origin = 0x1000, length = 0x800   61     BSL                     : origin = 0x1000, length = 0x800
61     CAL_CONF                : origin = 0x1900, length = 0x100   62     CAL_CONF                : origin = 0x1900, length = 0x100
62     TLVMEM                  : origin = 0x1A00, length = 0x100   63     TLVMEM                  : origin = 0x1A00, length = 0x100
63     BOOTROM                 : origin = 0x1B00, length = 0x100   64     BOOTROM                 : origin = 0x1B00, length = 0x100
64     RAM                     : origin = 0x1C00, length = 0x1000   65     RAM                     : origin = 0x1C00, length = 0x1000
65     FRAM                    : origin = 0x6000, length = 0x9F80   66     FRAM                    : origin = 0x6000, length = 0x9F80
66     FRAM2                   : origin = 0x10000,length = 0x6000 <> 67     FRAM2                   : origin = 0x10000,length = 0x5FF0
      68     VERSION                 : origin = 0x15FF0,length = 0x08
      69     LIB_VERSION             : origin = 0x15FF8,length = 0x08
67     JTAGSIGNATURE           : origin = 0xFF80, length = 0x0004, fill = 0xFFFF = 70     JTAGSIGNATURE           : origin = 0xFF80, length = 0x0004, fill = 0xFFFF
68     BSLSIGNATURE            : origin = 0xFF84, length = 0x0004, fill = 0xFFFF   71     BSLSIGNATURE            : origin = 0xFF84, length = 0x0004, fill = 0xFFFF
69     IPESIGNATURE            : origin = 0xFF88, length = 0x0008, fill = 0xFFFF   72     IPESIGNATURE            : origin = 0xFF88, length = 0x0008, fill = 0xFFFF
70     INT00                   : origin = 0xFF90, length = 0x0002   73     INT00                   : origin = 0xFF90, length = 0x0002
71     INT01                   : origin = 0xFF92, length = 0x0002   74     INT01                   : origin = 0xFF92, length = 0x0002
72     INT02                   : origin = 0xFF94, length = 0x0002   75     INT02                   : origin = 0xFF94, length = 0x0002
 
130 /****************************************************************************/ = 133 /****************************************************************************/
131     134  
132 #define LEASTACK_SIZE   0x138   135 #define LEASTACK_SIZE   0x138
133     136  
134 MEMORY   137 MEMORY
135 {   138 {
136     LEARAM_0                : origin = 0x4000, length = 0x1000 <>    
137     LEARAM                  : origin = 0x5000, length = 0x1000 - LEASTACK_SIZE   139     LEARAM                  : origin = 0x4000, length = 0x2000 - LEASTACK_SIZE
138     LEASTACK                : origin = 0x6000 - LEASTACK_SIZE, length = LEASTACK_SIZE = 140     LEASTACK                : origin = 0x6000 - LEASTACK_SIZE, length = LEASTACK_SIZE
139 }   141 }
140     142  
141 /****************************************************************************/   143 /****************************************************************************/
142 /* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY                              */   144 /* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY                              */
143 /****************************************************************************/   145 /****************************************************************************/
 
146 { = 148 {
147     GROUP(RW_IPE)   149     GROUP(RW_IPE)
148     {   150     {
149     151  
150         GROUP(READ_WRITE_MEMORY)   152         GROUP(READ_WRITE_MEMORY)
151         {   153         {
    <> 154                 // Place USS configuration at top of memory
      155                         uss_config :
152     156                         {
      157                                 USS_userConfig.obj(.TI.persistent:gUssSWConfig)
      158                                 USS_userConfig.obj(.TI.persistent:ussSystemConfig)
      159                                 USS_userConfig.obj(.TI.persistent:ussMeterConfig)
      160                                 USS_userConfig.obj(.TI.persistent:ussMeasurementConfig)
      161                                 USS_userConfig.obj(.TI.persistent:ussPLLConfig)
      162                                 USS_userConfig.obj(.TI.persistent:ussCaptureConfig)
      163                                 USS_userConfig.obj(.TI.persistent:ussTriggerConfig)
      164                                 USS_userConfig.obj(.TI.persistent:ussInterruptConfig)
      165                                 USS_userConfig.obj(.TI.persistent:ussAlgConfig)
      166                                 USS_userConfig.obj(.TI.persistent:ussPulseConfig)
      167                                 USS_userConfig.obj(.TI.persistent:singDualToneConfig)
      168                         }
153             .TI.persistent : {}              /* For #pragma persistent            */ = 169             .TI.persistent : {}              /* For #pragma persistent            */
154             .cio           : {}              /* C I/O Buffer                      */   170             .cio           : {}              /* C I/O Buffer                      */
155             .sysmem        : {}              /* Dynamic memory allocation area    */   171             .sysmem        : {}              /* Dynamic memory allocation area    */
156         } PALIGN(0x0400), RUN_START(fram_rw_start)   172         } PALIGN(0x0400), RUN_START(fram_rw_start)
157     173  
158         GROUP(IPENCAPSULATED_MEMORY)   174         GROUP(IPENCAPSULATED_MEMORY)
 
162             .ipe           : {}              /* IPE                            */ = 178             .ipe           : {}              /* IPE                            */
163             .ipe_const     : {}              /* IPE Protected constants        */   179             .ipe_const     : {}              /* IPE Protected constants        */
164             .ipe:_isr      : {}              /* IPE ISRs                       */   180             .ipe:_isr      : {}              /* IPE ISRs                       */
165         } PALIGN(0x0400), RUN_START(fram_ipe_start) RUN_END(fram_ipe_end) RUN_END(fram_rx_start)   181         } PALIGN(0x0400), RUN_START(fram_ipe_start) RUN_END(fram_ipe_end) RUN_END(fram_rx_start)
166     182  
167     } > 0x6000   183     } > 0x6000
    -+ 184        
      185     .version          : {}  > VERSION
      186     .libVersion       : {}  > LIB_VERSION
168   = 187  
169     .cinit            : {}  > FRAM          /* Initialization tables             */   188     .cinit            : {}  > FRAM          /* Initialization tables             */
170     .binit            : {}  > FRAM          /* Boot-time Initialization tables   */   189     .binit            : {}  > FRAM          /* Boot-time Initialization tables   */
171     .pinit            : {}  > FRAM          /* C++ Constructor tables            */   190     .pinit            : {}  > FRAM          /* C++ Constructor tables            */
172     .init_array       : {}  > FRAM          /* C++ Constructor tables            */   191     .init_array       : {}  > FRAM          /* C++ Constructor tables            */
173     .mspabi.exidx     : {}  > FRAM          /* C++ Constructor tables            */   192     .mspabi.exidx     : {}  > FRAM          /* C++ Constructor tables            */
174     .mspabi.extab     : {}  > FRAM          /* C++ Constructor tables            */   193     .mspabi.extab     : {}  > FRAM          /* C++ Constructor tables            */
175     .text:_isr        : {}  > FRAM          /* Code ISRs                         */   194     .text:_isr        : {}  > FRAM          /* Code ISRs                         */
    -+ 195 #ifndef __USS_RUN_ALG_FROM_RAM__
      196         .USS_ramfunc      : {}  > FRAM
      197 #endif
176   = 198  
177 #ifndef __LARGE_DATA_MODEL__   199 #ifndef __LARGE_DATA_MODEL__
178     .const            : {} > FRAM           /* Constant data                     */   200     .const            : {} > FRAM           /* Constant data                     */
179 #else   201 #else
180     .const            : {} >> FRAM | FRAM2  /* Constant data                     */   202     .const            : {} >> FRAM | FRAM2  /* Constant data                     */
181 #endif   203 #endif
 
193             #else = 215             #else
194                 .TI.ramfunc : {} load=FRAM | FRAM2, run=RAM, table(BINIT)   216                 .TI.ramfunc : {} load=FRAM | FRAM2, run=RAM, table(BINIT)
195             #endif   217             #endif
196         #endif   218         #endif
197     #endif   219     #endif
198     220  
    -+ 221         #ifdef __USS_RUN_ALG_FROM_RAM__
      222             #ifdef __TI_COMPILER_VERSION__
      223                 #if __TI_COMPILER_VERSION__ >= 15009000
      224                                 #ifndef __LARGE_DATA_MODEL__
      225                         .USS_ramfunc : {} load=FRAM, run=RAM, table(BINIT)
      226                                 #else
      227                         .USS_ramfunc : {} load=FRAM | FRAM2, run=RAM, table(BINIT)
      228                         #endif
      229                         #endif
      230                 #endif
      231         #endif
199     .jtagsignature      : {} > JTAGSIGNATURE = 232     .jtagsignature      : {} > JTAGSIGNATURE
200     .bslsignature       : {} > BSLSIGNATURE   233     .bslsignature       : {} > BSLSIGNATURE
201     234  
202     GROUP(SIGNATURE_SHAREDMEMORY)   235     GROUP(SIGNATURE_SHAREDMEMORY)
203     {   236     {
204         .ipesignature       : {}            /* IPE Signature                     */   237         .ipesignature       : {}            /* IPE Signature                     */
205         .jtagpassword       : {}            /* JTAG Password                     */   238         .jtagpassword       : {}            /* JTAG Password                     */
206     } > IPESIGNATURE   239     } > IPESIGNATURE
207     240  
    <> 241     #ifdef __USS_RUN_ALG_FROM_RAM__
      242         .bss        : {} > RAM | FRAM                 /* Global & static vars              */
      243         .data       : {} > RAM | FRAM                 /* Global & static vars              */
      244         .TI.noinit  : {} > RAM | FRAM                 /* For #pragma noinit                */
      245     #else
208     .bss        : {} > RAM                  /* Global & static vars              */   246         .bss        : {} > RAM                 /* Global & static vars              */
209     .data       : {} > RAM                  /* Global & static vars              */   247         .data       : {} > RAM | LEARAM       /* Global & static vars              */
210     .TI.noinit  : {} > RAM                  /* For #pragma noinit                */   248         .TI.noinit  : {} > RAM                 /* For #pragma noinit                */
      249     #endif
      250     .ram_thrill : {} > RAM | LEARAM
211     .stack      : {} > RAM (HIGH)           /* Software system stack             */ = 251     .stack      : {} > RAM (HIGH)           /* Software system stack             */
212     252  
213     .tinyram    : {} > TINYRAM              /* Tiny RAM                          */   253     .tinyram    : {} > TINYRAM              /* Tiny RAM                          */
214     254  
215     .leaRAM      : {} > LEARAM               /* LEA RAM                           */ <> 255     .leaRAM      : {} >> LEARAM  /* LEA RAM                           */
216     .leaStack    : {} > LEASTACK (HIGH)      /* LEA STACK                         */ = 256     .leaStack    : {} > LEASTACK (HIGH)      /* LEA STACK                         */
217     257  
218     /* MSP430 interrupt vectors */   258     /* MSP430 interrupt vectors */
219     259  
220     .int00       : {}               > INT00   260     .int00       : {}               > INT00
221     .int01       : {}               > INT01   261     .int01       : {}               > INT01