EmbeddedRelated.com
Memfault Beyond the Launch

Strange warnings from gcc and and IAR linker

Started by Rolf F. in MSP43020 years ago 8 replies

Hi, after porting and successfull testinig of a project i have two sorts of strange warnings left: gcc version 3.2.3: main.c:1526: warning:...

Hi, after porting and successfull testinig of a project i have two sorts of strange warnings left: gcc version 3.2.3: main.c:1526: warning: concatenation of string literals with __FUNCTION__ is deprecated handler.c:43: warning: concatenation of string literals with __FUNCTION__ is deprecated these lines are: _BIS_SR_IRQ (LPM3_bits); // Change the SR register on the stack, within int


Re: Can I modify lnk430F5437.xcl to meet my application requirements

Started by Wayne S in MSP43012 years ago

The main reason to edit the .xcl file is if you want to modify the memory layout. To do that copy the .xcl file from C:\Program Files (x86)\IAR...

The main reason to edit the .xcl file is if you want to modify the memory layout. To do that copy the .xcl file from C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\430\config to your project directory and in the options for the project, under Linker> Config, select Override default and set the path to something like: $PROJ_DIR$\Source\lnk430F2274.xcl Then edit the local .xcl file.


How to match IAR-generated CRC and CRC hardware generated one?

Started by josephleeinus in MSP43014 years ago 2 replies
IAR

For Non-A MSP430F5x device, In the linker command file -J2,crc16,,,,,#0xFFFF=5C00-F7FD -HFFFF __checksum is stored in F7FE-F7FF and...

For Non-A MSP430F5x device, In the linker command file -J2,crc16,,,,,#0xFFFF=5C00-F7FD -HFFFF __checksum is stored in F7FE-F7FF and the CRC is computed again using the hardware module { start address = 0x5C00 end address = 0xF7FD Loop through the range retieve data from the address (0ne bytes) Reverse the bits in the byte CRCDI = data (1 byte) return CRCINIRES } The C...


Assembler Directive Reference for MSP 430 Simulation environment..

Started by Madhavjj in MSP43020 years ago 5 replies

MSP430 Simulation Environment version 2.4 from Texas Instrument which is also known as ADT430 IDE compiles pure assembly language files with...

MSP430 Simulation Environment version 2.4 from Texas Instrument which is also known as ADT430 IDE compiles pure assembly language files with extension like 'filename.asm' . Examples given with this ide have assembler directives like .set, .equ, .sect used in them. TI Assembler, linker , compiler user guide does not have any explanation for such dot set, dot equ, dot sect directives. In



Memfault Beyond the Launch