Porting IAR to Code Composer

Started by Richard in MSP43010 years ago 1 reply
IAR

I am port code written for IAR to CC. I am struggling with the ISRs. IAR ISR declarations involve pragmas. So I am removing the pragmas and...

I am port code written for IAR to CC. I am struggling with the ISRs. IAR ISR declarations involve pragmas. So I am removing the pragmas and replacing the ISR declarations as in the example below. This has worked fine in many projects. This is in a header file: __interrupt void Timer_A0(void); // Prototype for ISR #define TIMERA0_SERVICE TIMERA0_ISR(Timer_A0) __interrupt void Tim...


IAR + signed char

Started by lukasz_krysiewicz in MSP43011 years ago 3 replies
IAR

Hi for all. I have "problem" with signed char. For example I have empty C project, and in IAR opions (Opions -> C/C++ Compiller) I...

Hi for all. I have "problem" with signed char. For example I have empty C project, and in IAR opions (Opions -> C/C++ Compiller) I change default type char. Default is unsigned, but I want have signed default char format. When I choose correct checkbox (signed), and meked project, then I have many warnings (more than 600). I think that in IAR lib's somebody use char and char is defau


IAR - no "go to definition of ..." option!?

Started by Darren Logan in MSP43011 years ago 1 reply
IAR

Hi all, My colleague has a strange problem with his IAR IDE (V4.10A). When he right-clicks his code, he doesn't have the "Go to definition...

Hi all, My colleague has a strange problem with his IAR IDE (V4.10A). When he right-clicks his code, he doesn't have the "Go to definition of..." feature (it is greyed out). Does anyone know how to fix this? Thanks. Regards, Darren This communication contains information which is confidential and may also be privileged It is for the exclusive use of the intended recipi...


2 versions of IAR could co-exist?

Started by hc08jb8 in MSP43015 years ago 1 reply
IAR

Hello all Is it possible to have two versions of IAR (3.2 and 4.0) installed on the same system (win2000)? I have 3.2 working now, I would...

Hello all Is it possible to have two versions of IAR (3.2 and 4.0) installed on the same system (win2000)? I have 3.2 working now, I would like to install 4.0 along side, just not sure it it would mess up anything. Cheers Jay


Multiplier with IAR

Started by Micah Stevens in MSP43014 years ago 6 replies
IAR

Hi, I think I already know the answer to this, but does IAR automatically use the multiplier if it's available when compiling or is that...

Hi, I think I already know the answer to this, but does IAR automatically use the multiplier if it's available when compiling or is that something that you have to code specifically all the time? I bet it doesn't, but I was just curious. -Micah


IAR STACK

Started by Franco Bucafusco in MSP43010 years ago 1 reply

Hi! I would like to know if IAR brings to the user some way to know the start address of the stack as well its size. I know that project...

Hi! I would like to know if IAR brings to the user some way to know the start address of the stack as well its size. I know that project options gives you the chance to change the size, but also I would like some way to know it at compiler time. thanks. ------------------------------------


How to include a file in IAR

Started by giorgioel in MSP43010 years ago 4 replies

Hello! Can anybody suggest me how to include a binary data file in my program created in IAR compiler and then reference it by address? Thank...

Hello! Can anybody suggest me how to include a binary data file in my program created in IAR compiler and then reference it by address? Thank you in advance, Giorgio ------------------------------------


IAR and inline assembler

Started by Jardar Johannes Maatje in MSP43016 years ago 15 replies
IAR

Is it possible to mix assembler and C in the same file with IAR WB? Could not find any documentation on this, so I guess it's not possible, but...

Is it possible to mix assembler and C in the same file with IAR WB? Could not find any documentation on this, so I guess it's not possible, but I want to be sure cause it would be realy convenient. Jardar


IAR Debug

Started by Anonymous in MSP43014 years ago 5 replies

In some of other IDEs I have recently worked there was a facility by which I could use printf to display something useful in an I/O...

In some of other IDEs I have recently worked there was a facility by which I could use printf to display something useful in an I/O window within the IDE. Does IAR have something like this in their IDE? Alex


IAR on Windows 7

Started by john Mcdonald in MSP43010 years ago 2 replies
IAR

Hello, I am trying to run my IAR on windows 7 but I have trouble.=A0 Does it mean = that I need new driver.=A0 It was working on Windows xp no...

Hello, I am trying to run my IAR on windows 7 but I have trouble.=A0 Does it mean = that I need new driver.=A0 It was working on Windows xp no problem. Please help. Thanks, John. =20=20=20=20=20=20 ------------------------------------


IAR for the MSP430

Started by witekm77 in MSP43014 years ago 1 reply
IAR

Hello, I am using the IAR for the MSP430. Just wated to know if anyone is experiencing a delay between hitting the Compile or Debug buttons...

Hello, I am using the IAR for the MSP430. Just wated to know if anyone is experiencing a delay between hitting the Compile or Debug buttons and the the software actually performing the desired function. I have to wait about 5 seconds before there is a responce. Best Regards.


Code density of IAR versys Code Composer

Started by sivan_toledo in MSP43012 years ago 2 replies

I tried to build under Code Composer Essentials a program for a device with 2KB of flash. The program fit into the flash when I compiled...

I tried to build under Code Composer Essentials a program for a device with 2KB of flash. The program fit into the flash when I compiled it under IAR Embedded Workbench, but it does not fit into flash under Code Composer, even when I optimize for code size. Is the code produced by IAR much tighter than that of CCE? Are there good ways to shrink the code footprint under CCE?


reading program in IAR

Started by Peter Grey in MSP43014 years ago 2 replies
IAR

I am using IAR Kickstart and using assembler. How do I read what has been previously programmed into a part? It appears that each time I...

I am using IAR Kickstart and using assembler. How do I read what has been previously programmed into a part? It appears that each time I select debug it downloads a program. How do I get to C_Spy without downloading? Thanks Peter


Regarding Compilation errors

Started by bharat in MSP43012 years ago 6 replies
IAR

Hi, I am compiling the MSP430 assembly code. I am using IAR workbench(IAR Assembler for MSP430 V3.30A/W32 (3.30.1.9)) I am using the...

Hi, I am compiling the MSP430 assembly code. I am using IAR workbench(IAR Assembler for MSP430 V3.30A/W32 (3.30.1.9)) I am using the msp430x112 controller. When i try to compile the following code ;----------------------------------------------------------------------------- ;word variables start here ;----------------------------------------------------------------------------- .bss...


Re: Function reference manual

Started by Paul Curtis in MSP43013 years ago 5 replies

For IAR V3 online: Help > MSP430 > Content, then Library reference > C/EC++ library > C library headers. For IAR V4, clib PDF...

For IAR V3 online: Help > MSP430 > Content, then Library reference > C/EC++ library > C library headers. For IAR V4, clib PDF document: C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\doc\clib.pdf There are PDF and chm docs for V3 and V4 if you bother to search. -- Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk C


IAR, assertions and error e46 in release mode

Started by Jon Garcia de Salazar Bilbao in MSP43010 years ago 2 replies
IAR

Hi everyone, I'm using IAR Embedded Workshop for MSP430F149. I'm using assertions in my C code. It works OK while working on debug mode but...

Hi everyone, I'm using IAR Embedded Workshop for MSP430F149. I'm using assertions in my C code. It works OK while working on debug mode but when I switch to release mode I get the error below: Error[e46]: Undefined external "__write" referred in ?puts ( C:\Archivos de programa\IAR Systems\Embedded Workbench Evaluation 4.0\430\LIB\DLIB\dl430fn.r43 ) When I remove assertions it works fine...


IAR on linux

Started by rs_962000 in MSP43010 years ago 14 replies
IAR

Hi all, Did any one tried IAR on linux. if yes please let me know the procedure for the same. Thanks in...

Hi all, Did any one tried IAR on linux. if yes please let me know the procedure for the same. Thanks in advance, Rajesh.v ------------------------------------


Crossworks verse IAR Flash Monitor Port SLAA341 app

Started by quaratie in MSP43011 years ago

Has anyone had any luck using the Crossworks port of TI app Note SLAA341 Flash Monitor. I am porting it to MSP430F1471. I can get the monitor...

Has anyone had any luck using the Crossworks port of TI app Note SLAA341 Flash Monitor. I am porting it to MSP430F1471. I can get the monitor and demo app to work perfectly with the IAR tools with the 1471. When using Crossworks code and proper section_placement files provided, etc.. I get erratic operation of the monitor code. In one experiment I programmed the micro with the IAR built Fla...


WEIRD IAR STUFF

Started by Onestone in MSP43011 years ago 9 replies
IAR

Has anybody else here encountered the following messages under IAR? This is behaviour that I found only after moving from slac050l to versions...

Has anybody else here encountered the following messages under IAR? This is behaviour that I found only after moving from slac050l to versions after slac050q a couple of days ago. I am currently trying to use slac050r, as I need this for the latest micros, and i consistently get this message. The appropriate *.d43 file is produced, in the correct directory. The first pair of messages are...


IAR weird signed long long behavior

Started by Gabriel in MSP43013 years ago 16 replies

Hello everyone I tried this simple code in IAR --------- void main(void) { signed long long myvar; WDTCTL = WDTPW + WDTHOLD; ...

Hello everyone I tried this simple code in IAR --------- void main(void) { signed long long myvar; WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer myvar = 948125391; if (myvar > 2147483647) myvar = 2147483647; else if (myvar < -2147483648) myvar = -2147483648; for(;;) } --------- For some reason IAR fails in the (myvar < -2147483648) te