Assembler Vs C-Compiler

Started by Tam in MSP43014 years ago 105 replies

I have noticed that a number of people have asked questions about 'which compiler' to go for. First thing I will say is this. Do you really...

I have noticed that a number of people have asked questions about 'which compiler' to go for. First thing I will say is this. Do you really need a C-compiler? What's wrong with Assembly? IMO all that a C-compiler does is to act as a 'vale' obtructing the programmers' view hence 'better' understanding of the microcontroller they are developing code for (programming). It also forces peo


Code Composer Essentials

Started by Robert in MSP43013 years ago 2 replies

Hi All, I currently use the IAR compiler but wanted to check out Code Composer Essentials. I took a small test application (~7k code with...

Hi All, I currently use the IAR compiler but wanted to check out Code Composer Essentials. I took a small test application (~7k code with IAR) and compiled it using TI's CCE compiler. After changing some code to make it compatible with the TI compiler I had success. What I'd like to do is compare code size between the IAR compiler and TI's compiler. Has anyone seen an option in t


Forcing the compiler to bend to my will IAR v3.20A.

Started by jkw_ee in MSP43013 years ago 2 replies

My problem comes from the compiler. I use the pragma directive to place a set of constants in a flash segment that I have defined in my .xcl...

My problem comes from the compiler. I use the pragma directive to place a set of constants in a flash segment that I have defined in my .xcl file. Unless I use that constant in my code the compiler trims it out. I have disabled all the optimization in the compiler (IAR V3.20A) but it still rips it out. The only reason this is an issue at the moment is because I am trying to set up thes


Compiler support

Started by "Ghorpade, Vijaya" in MSP4308 years ago 9 replies

Hi.. I am presently working with the free version of the IAR but it supports only for 4KB of the code space. My complete code is up-to 350KB,...

Hi.. I am presently working with the free version of the IAR but it supports only for 4KB of the code space. My complete code is up-to 350KB, may I know, Is there any compiler which supports this much code space? Or I have to buy the Compiler? I am planning for Ti's CCS4 compiler as it is low cost and I don't have any memory requirement limitations. Vijaya _______________________________...


C++ compiler for the msp430

Started by omega_force2003 in MSP43013 years ago 1 reply

Does anyone that belongs to this website group know how I can obtain a free c++ compiler for the MSP430F169? If there is such a thing, do...

Does anyone that belongs to this website group know how I can obtain a free c++ compiler for the MSP430F169? If there is such a thing, do you also know how to operate the c++ compiler? I will be grateful for any help!!!!!!!!!!!!!!!! David


Compiler validation suites?

Started by Richard \UK\. in MSP43012 years ago 4 replies

Hi, Would I be right to assume that all C compiler vendors check their code generation with C compiler test suites? regards, Richard

Hi, Would I be right to assume that all C compiler vendors check their code generation with C compiler test suites? regards, Richard


Compiler Suggestion for MSP430

Started by Ah_Chieh in MSP43014 years ago 4 replies

anyone here have any good suggestion on any C-Compiler or Assembly compiler for MSP430? anyone can provide me some information on coding in c...

anyone here have any good suggestion on any C-Compiler or Assembly compiler for MSP430? anyone can provide me some information on coding in c for MSP430 with MSPGCC?? or any other documents as a reference in my starting point in my MSP project? thanks.


IAR Compiler options

Started by Anonymous in MSP43012 years ago 16 replies

I have cumulated all my variable used in a single variables.h files Is there a switch in IAR compiler that will alow me to use this .h file in...

I have cumulated all my variable used in a single variables.h files Is there a switch in IAR compiler that will alow me to use this .h file in two diferent files or I really have to redeclare all as externals ? Althdough I undestand the need of type declarations for the compiler iI always felt that this is a overblow for it. This job could be done at the linker level as there is where the


Compiler autodetection?

Started by Rolf F. in MSP43014 years ago 15 replies

Hi, i'm using defines and ifs/elses for compiling with different compilers and to automatize this i'm looking for compiler (or preprocessor)...

Hi, i'm using defines and ifs/elses for compiling with different compilers and to automatize this i'm looking for compiler (or preprocessor) dependent defines . Does someone has a list of macros/functions or something else which is only availible with one compiler/preprocessor? Rolf


The bee in my bonnet about stack usage.....

Started by David Collier in MSP43011 years ago 3 replies

I've asked Rowley, specifically, as I use their compiler, but I'd love to revisit this and ask if anyone else feels half as strongly as I do...

I've asked Rowley, specifically, as I use their compiler, but I'd love to revisit this and ask if anyone else feels half as strongly as I do about it. ----------------------------------------------------------------- I would like to make a plea for some help from the compiler on stack usage ( recursion excluded ). I would love to be able to get from the compiler the following numbers:...


IAR vs CCE

Started by wplagges in MSP43010 years ago 20 replies

Hi, this is my first post in this group. I started to work for the first time with MPS430 about two weeks ago. I received some code originally...

Hi, this is my first post in this group. I started to work for the first time with MPS430 about two weeks ago. I received some code originally written for IAR Compiler, and my first task is to make it run by using CCE Compiler. During this migration I have found that, beside all the necessary changes regarding proprocessor directives, intrinsics, memory allocation, compiler/linker opti...


Re: I want a simple compiler!

Started by Paul Curtis in MSP43012 years ago

Alex, > Is'nt there a way to write a compiler that deals with data > types at an abstract level, leaving the resolution of the > physical...

Alex, > Is'nt there a way to write a compiler that deals with data > types at an abstract level, leaving the resolution of the > physical memory requirements to the linker ? > > why do I need a char and an int and a long sn so on? > Can not, for the Compiler, all data types be one and the same? > I wnat something simple that alows me to focus on my task and > no


C compiler parameter passing question for the MSP430 target

Started by Jonathan Kirwan in MSP43014 years ago 23 replies

I seem to recall the C compiler vendor representatives all appearing to claim that they place up to a certain number of parameters in...

I seem to recall the C compiler vendor representatives all appearing to claim that they place up to a certain number of parameters in registers, in the MSP430 case. If memory serves, that certain number was the first 4 or so? Anyway, a question arises regarding separate compilation and this compiler behavior. Given these prototypes for functions: /* abc() does not take the address of any


I want a simple compiler!

Started by Anonymous in MSP43012 years ago 16 replies

Is'nt there a way to write a compiler that deals with data types at an abstract level, leaving the resolution of the physical memory...

Is'nt there a way to write a compiler that deals with data types at an abstract level, leaving the resolution of the physical memory requirements to the linker ? why do I need a char and an int and a long sn so on? Can not, for the Compiler, all data types be one and the same? I wnat something simple that alows me to focus on my task and not on the tool! I alwais end up spending an unord


How to Bit-Bang a I/O pin?

Started by Claro Louie in MSP43010 years ago

Hi guys, This is in relation to the msg posted three days ago with a subject "compiler V4 for MSP430" Our application needs to convert the...

Hi guys, This is in relation to the msg posted three days ago with a subject "compiler V4 for MSP430" Our application needs to convert the Input AC signal to DC signal (using MSP430f2252 ADCs) with a given sampling rate of 32 samples per half cycle of the signal. I'm using IAR Baseline WorkBench system as my compiler. I'm wondering if this IDE compiler could generate a .txt file (or any rep...


C Compiler

Started by mel88y in MSP43011 years ago 34 replies

Hey, Can someone recommend a compatible C Compiler that would allow me to exceed 4kb of programming??

Hey, Can someone recommend a compatible C Compiler that would allow me to exceed 4kb of programming??


IAR or Crossworks Compiler?

Started by ho_philip2000 in MSP43013 years ago 11 replies

Hi all, I am going to start a project that involves DSP, real time measurements and remote data communication with DNP3. Does anyone...

Hi all, I am going to start a project that involves DSP, real time measurements and remote data communication with DNP3. Does anyone know which compiler I should use: IAR or Crossworks C compiler or some other good compilers out there? Which one is better suit for the job? I may also need real time debugging with symbolic debugger and simulator/emulator as well. Thanks.


C/C++ Compiler problem

Started by Alejandro Panelli in MSP43013 years ago 4 replies

Hi, I'm developing a large program in IAR Compiler with MSP430F149. The code is all in C. When I was testing it I compiled it with "None"...

Hi, I'm developing a large program in IAR Compiler with MSP430F149. The code is all in C. When I was testing it I compiled it with "None" optimizations in C/C++ compiler's options and worked ok, but now I set this option to "High" in the way to make more space available in flash memory. The puntual problem is that some "sprintf()" calls are working wrong.


Best way in the IAR compiler to convert 2 bytes into 16-bit int

Started by Nick Alexeev in MSP43011 years ago 8 replies

I'm really new to MSP430 and IAR complier, but not new to embedded C programming. Under IAR compiler, what's the best way of conevrting 2...

I'm really new to MSP430 and IAR complier, but not new to embedded C programming. Under IAR compiler, what's the best way of conevrting 2 bytes into 16-bit int? Cheers, Nick P.S. I have used CCS compiler for PICs before. It had a function make16(hibyte, lobyte)


GCC compiler

Started by g4ndc in MSP4307 years ago 4 replies

G'day all, I'm currently working on a MSP430 project; Processor MSP430F2618 Compiler CCS v4.1.3 So far so good. However: I'm trying to...

G'day all, I'm currently working on a MSP430 project; Processor MSP430F2618 Compiler CCS v4.1.3 So far so good. However: I'm trying to change compilers to the GNU msp430 port. And I hit a number of problems. I've solved all the usual culls such as C++ comments etc and changed the header file thus: /*#define CCS */ #define GNU #ifdef CCS /* this one for the CCS compiler */...