Re: IAR - EW430 4.10A Released Today

Started by John Heenan in MSP43012 years ago 3 replies

BB has a valid point. Currently IAR allows up to two registers for global usage to allow those with an assembler focus to do with as they...

BB has a valid point. Currently IAR allows up to two registers for global usage to allow those with an assembler focus to do with as they please, free from arbitrary interference from C and free from complying with C as the dominant entity. As far as I am aware no other compiler, including mspgcc, even allows any. It is not that C compilers cannot easily restrict their usage of reg...


IAR , Stack/Heap

Started by wish_akuze wish_akuze in MSP43013 years ago 1 reply
IAR

Hello =20=20=20 I have used the IAR Embedded workbench for some time and i have always i = justed the stack size according the memory needed...

Hello =20=20=20 I have used the IAR Embedded workbench for some time and i have always i = justed the stack size according the memory needed by the variables in the c= ode, but so far i haven't really understood the idea of the heap size. Can = anyone give me some hints about this! =20=20=20 Thanks! =20=09=09 --------------------------------- Talk is cheap. Use Yahoo! Messenger to ...


how to use anonymous objects in IAR?

Started by aliko in MSP4309 years ago 5 replies

Why this simple code not working with IAR C/C++ Compiler for MSP430 4.21.2 struct rng { rng(int n) : i(n) {}; int i; }; rng *r[] =...

Why this simple code not working with IAR C/C++ Compiler for MSP430 4.21.2 struct rng { rng(int n) : i(n) {}; int i; }; rng *r[] = {&rng(9), &rng(0)}; It gives Error[Pe158]: expression must be an lvalue or a function designator ------------------------------------


IAR Compiler options

Started by Anonymous in MSP43014 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


IAR error message

Started by Glenn McCorquodale in MSP4308 years ago 6 replies
IAR

Hi Everyone, I've just encountered a problem that I'm having a bit of trouble trying to locate what may be wrong. Hope some good fellow out...

Hi Everyone, I've just encountered a problem that I'm having a bit of trouble trying to locate what may be wrong. Hope some good fellow out there can point me the right way. Not seen this before. I'm using IAR Ver 5.30 It seems that whenever I declare a prototype to a function with a paramater I get an error message: main.c error [Pe018]: expected a ")" This works OK #include io430....


Synchron LCD with IAR

Started by karlgudino in MSP43010 years ago 2 replies

Has anyone used the Synchron LCD and used IAR to get the driver code to work. I would like some insight to your success. Thanks. Also How to...

Has anyone used the Synchron LCD and used IAR to get the driver code to work. I would like some insight to your success. Thanks. Also How to Bias the LCD. ------------------------------------


MSP340 compiler

Started by magzky02 in MSP43012 years ago 17 replies

hello guys...I need some advice.. i bought a TI dev kit with IAR kickstart compiler. Did some practice and familiarization with MSP430. Now...

hello guys...I need some advice.. i bought a TI dev kit with IAR kickstart compiler. Did some practice and familiarization with MSP430. Now that i want to make a longer code (more than 4K), i need the comercial version but the commercial version is damn expensive. i got this info from supplier. DESCRIPTION PRICE IAR Embedded WorkBench EW430-LE ...


MSP430F2013 EZ board, SD16A evaluation

Started by rolavine in MSP43012 years ago 4 replies

I'm trying to evaluate the performance of the 2013's SD16A (16 bit sigma delta converter) using IAR's C. My first test uses the first of the...

I'm trying to evaluate the performance of the 2013's SD16A (16 bit sigma delta converter) using IAR's C. My first test uses the first of the example programs for this module that uses the SD16 (turn on led if A1+ goes above .3 volts). I'm just using a breakpoint in IAR with a watch to check the results. Is anyone willing to share a program that ouputs the results of the conversion in...


IAR

Started by Peter Grey in MSP43012 years ago

I had a problem in the field with a product so needed to change the program. When I did so I found that the system worked OK when connected to...

I had a problem in the field with a product so needed to change the program. When I did so I found that the system worked OK when connected to the FET but when released it did some strange things. I decided to wait until I got back to my hotel and still found problems. I downloaded the latest IAR from TI and loaded this and used my FET with USB connections. I now get the message The deb...


DEFC DEFW errors in new H file

Started by Alexander Moskalyuk in MSP43016 years ago 1 reply
IAR

After downloading the latest H, XCL and DDF files from IAR ...

After downloading the latest H, XCL and DDF files from IAR http ://www.iar.com/FilesPublic/SUPPORT/001246/SupportFiles%20EW430%20version%202.zip I get lots of errors when compiling the projects. All the errors seem to be pointing to the same lines in msp340x14x.h, which of course is included


look up table initalization using IAR

Started by Karthik Katingari in MSP43013 years ago 1 reply

Hi All, I needed some help in figuring out how to initialize msp430 flash/ROM with a look up table. I am using IAR workbench to write...

Hi All, I needed some help in figuring out how to initialize msp430 flash/ROM with a look up table. I am using IAR workbench to write the code. Somehow compiler need to store the table in the target ROM at given address, so that i can look up while processing. All your suggestion and help are most welcome. Regards, Karthik Joerg Schulze-Clewing


Re: Iar ISR

Started by "Richard (UK)." in MSP43011 years ago

> > > What does your manual say? Cough, splutter ... ----- Original Message ----- From: John Speth To: m...@yahoogroups.com Sent:...

> > > What does your manual say? Cough, splutter ... ----- Original Message ----- From: John Speth To: m...@yahoogroups.com Sent: Friday, April 04, 2008 8:48 PM Subject: [msp430] Re: Iar ISR > I have a code where one of the ISR is a simple instruction that > change the value of a ram space(I don't use any register at all in that > operation). Compiling that code I can see in the


Re: Porting SimpliciTI to Code Composer Essential

Started by humberto in MSP43012 years ago
IAR

When I read your message my only thought was how this is possible? How coul= d TI ask us to use (or buy) CCEssentials if they release their own...

When I read your message my only thought was how this is possible? How coul= d TI ask us to use (or buy) CCEssentials if they release their own code in = IAR? For me there are two explanations: 1. CCEssentials is not powerful enough to drive SimpliciTI 2. TI engineers are used to work with IAR and for them is easy to develop i= n it. They don't want to learn a new environment. For me the a...


Fatal Error: Failed to write memory at 0xE000

Started by ken_and_wanda in MSP43010 years ago 3 replies
IAR

I get this message when I hit the debug icon in IAR KickStart. I haven't encountered this before and have been using IAR KickStart for about...

I get this message when I hit the debug icon in IAR KickStart. I haven't encountered this before and have been using IAR KickStart for about 3 months. My target hardware is the same, MSP430 code is exactly the same as yesterday when I did not encounter this message. My target is an MSP430F2330. Any ideas? ------------------------------------


IAR/MSP430 and Checksum Algorithm

Started by Andy Busa in MSP43010 years ago 2 replies
IAR

Hi all, I am using IAR to build my MSP430 code. Where can I find information on how the checksum is generated as we have to write a function...

Hi all, I am using IAR to build my MSP430 code. Where can I find information on how the checksum is generated as we have to write a function in our boot code to verify the checksum of the main image on startup? Andy ------------------------------------


IAR compiler crashes on optimization

Started by Dirk Reymann in MSP43015 years ago 2 replies

Hallo everybody! I just had first look at the C compiler from IAR included with the FET-tool. Unfortunately it took only 5 Minutes to make...

Hallo everybody! I just had first look at the C compiler from IAR included with the FET-tool. Unfortunately it took only 5 Minutes to make this thing stuff up. The behaviour is somewhat strange, so I hope anybody here knows something about it. - latest Kickstart version from TI's website - blinking LED sample file - C language - everything works fine. But: When I turn on optimization fo


iar project settings

Started by imshareef2003 in MSP43011 years ago
IAR

Hi, Am using the IAR port of ucosII V2.85 for msp4302618. Am facing two problems.. 1. When the code encounters function that are defined in...

Hi, Am using the IAR port of ucosII V2.85 for msp4302618. Am facing two problems.. 1. When the code encounters function that are defined in Os_cpu_a.s43 such as OS_ENTER_CRITICAL(), OS_EXIT_CRITICAL, OSStartHighRdy(), etc the call stack seems to get corrupted. 2. After i shifted all the assembly from the .s43 file to inline assembly, this problem doesnt occur. but the footprint of the...


cant 'Run to main'

Started by Technical Kripa in MSP43010 years ago 5 replies
IAR

Dear Group, Pls help me on this. I am a newbie at everything. Im using IAR 4.20.1 with = MSP430F1491. =C2=A0 I downloaded my code in the...

Dear Group, Pls help me on this. I am a newbie at everything. Im using IAR 4.20.1 with = MSP430F1491. =C2=A0 I downloaded my code in the controller. Now whenever I try to press reset o= n the IAR, I get this error message. "The C-SPY option "Run to 'main'" is enabled, but due to a lack of breakpoi= nts this will require single stepping, which may take a long time" "Do you want to execute a...


How to convert projects from TI in IAR format to work with them in CrossStudio

Started by lvagasi in MSP43010 years ago 11 replies
IAR

HI All, First of all the new 2.0 version of CrossStudio is really cool. Thanks for Rowley's team for the great job. I hope some one has...

HI All, First of all the new 2.0 version of CrossStudio is really cool. Thanks for Rowley's team for the great job. I hope some one has already faced to a similar problem and can help. Ti is kind enough to provide sample projects for their's gadgets like the MSP430-RF2500 modules but it is available only for IAR tools. I'm personally prefer RA's tool so I'd like to use it for experimenting...


Iar va_list issue

Started by Bukitoo in MSP43011 years ago 2 replies
IAR

Hi! I am programming a function in with I pass as arguent many strings and it concateates all of them. Basically I 've modified iar's help...

Hi! I am programming a function in with I pass as arguent many strings and it concateates all of them. Basically I 've modified iar's help example (COPIED BELOW): #include void va_cat(char *s, ...) { char *t; va_list ap; va_start(ap, s); while (t = va_arg(ap, char *)) null pointer ends list { s += strlen(s); skip to end