Re: Compiler for MSP430 for Windows

Started by Paul Curtis in MSP43015 years ago

Hi, > I need to find a compiler for the MSP430 for Windows, with > compiler, linker, text editor and hardware programer > (hex9,that it is...

Hi, > I need to find a compiler for the MSP430 for Windows, with > compiler, linker, text editor and hardware programer > (hex9,that it is not the IAR. Free und open source. MSPGCC will suit you down to the ground and there are many proponents on this group. First stop should be http://mspgcc.sourceforge.net/. Regards, -- Paul.


Extended memory in the f2618

Started by Thomas Montroy in MSP43012 years ago 2 replies

hi All, I am trying to place some const data in the extended memory (__data20 after address 0x10000) of the msp430f2618. I'm using modified...

hi All, I am trying to place some const data in the extended memory (__data20 after address 0x10000) of the msp430f2618. I'm using modified linker file with the command -Z(CONST)DATA20_ID=3100-FFBD -Z(CONST)DATA20_C=10000-1FFFF Here is my test code: #include #include int __data20 t1 = 7; const __data20 t2 = 0xff; void main(void) { WDTCTL = WDTPW + WD


Running from MSP430 RAM

Started by flatman3000 in MSP43014 years ago 4 replies

Hi All, Has anyone got any experience running a program out of the MSP's RAM? I am keen to get hold of a small sample program if possible....

Hi All, Has anyone got any experience running a program out of the MSP's RAM? I am keen to get hold of a small sample program if possible. Issues i am also keen to know about are: - setting up compiler to do program copy to RAM - setting up linker to reserve of RAM space for the RAM program - handling of interrupts during execution from RAM Any other issues to look out for or tips wou


Debugging Boot Code vs Main Image in MSP430

Started by Andy Busa in MSP43011 years ago 1 reply
IAR

Our code base will eventually have two distinct images. Boot Code, located at 0x8000 Main Image, Located at 0x9000 As of today we only are...

Our code base will eventually have two distinct images. Boot Code, located at 0x8000 Main Image, Located at 0x9000 As of today we only are debugging the Main Image. I see the following items in the Main Image linker script: // --------------------------------------------------------- // Memory Location Definitions. // --------------------------------------------------------- -D_...


Strange warnings from gcc and and IAR linker

Started by Rolf F. in MSP43016 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 MSP4308 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.


Questions on "msp430-size"

Started by Frederic Beaulieu in MSP43015 years ago

Hi guys, I try to understand the executable "msp430-size" provide with the mspgcc package and I have few questions about it: 1- Why it is...

Hi guys, I try to understand the executable "msp430-size" provide with the mspgcc package and I have few questions about it: 1- Why it is only text, data and bss sections which are analyzed and not custom sections added manually in the linker script? 2- Why, in some case, msp430-size don't return output in dec and hex fields? I have seen also some .elf where msp430-size don't ret


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

Started by josephleeinus in MSP43010 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...


Release Build Error

Started by embedded2k in MSP43010 years ago 9 replies

I'm able to build and debug with my code in debug mode. But when I try to build my application in release mode I get the following linker...

I'm able to build and debug with my code in debug mode. But when I try to build my application in release mode I get the following linker error: Error[e16]: Segment INTVEC (size: 0x2c align: 0x1) is too long for segment definition. At least 0xc more bytes needed. The problem occurred while processing the segment placement command "-Z(CODE)INTVEC=FFE0-FFFF", where at the moment of placeme...


Assembler Directive Reference for MSP 430 Simulation environment..

Started by Madhavjj in MSP43016 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


Crossworks question, Where is __checksum_crc16?

Started by blueman747 in MSP43015 years ago 2 replies

In the Crossworks help file it shows a crc function, __checksum_crc16() that can be used in conjunction with a linker option to verify the CRC...

In the Crossworks help file it shows a crc function, __checksum_crc16() that can be used in conjunction with a linker option to verify the CRC of the code in flash. it says: // External, provided as source code in the "src" directory unsigned int __checksum_crc16(unsigned char *begin, unsigned char *end); It doesn't appear in the "src" directory of my compiler. Where


IAR V3.42A data arrangement

Started by bb_stefan in MSP43013 years ago 15 replies
IAR

Hello, I'm evaluating IAR EW V3.42A (using V1.26B so far). I declare some global variables, say: char Var1; char Var2; int Var3; int ...

Hello, I'm evaluating IAR EW V3.42A (using V1.26B so far). I declare some global variables, say: char Var1; char Var2; int Var3; int Var4; char Var5; char Var6; When building the project, the Linker (V3.42A) places all the int-variables in the first RAM-locations available, then the chars afterwards like this: RAM: 0x0200 -> Var3 (int) 0x0202 -> Var4 ( " ) 0x0204 -> Var1