EmbeddedRelated.com
Forums

MSP430 C compilers

Started by john_the_ee November 22, 2004
Hi Ray,

AQ430 DOES allow full control for linkage. The directives are 
different from IAR's (and everyboy else's, I suspect) but 
nevertheless it is not too complicated. Hey, some of it is even 
described in the help file ;-) (ldseg,...). We'd like to hear from 
you if you found something that you thought was not possible with 
AQ430.

Michel

--- In msp430@msp4..., "Raymond Keefe" <ray@b...> wrote:
> I use both the Quadravox compiler and also the IAR
Embedded 
Workbench. both
> the Kickstart version and the full version for one
client who 
purchased a
> license.
> 
> I find the Quadravox toolset easiest to use for simpler projects 
but needed
> the full control over linkage for one project
which required 
multiple
> applications to run together on the one chip and
that was the one I 
used the
> IAR Embedded Workbench for.
> 
> At the current level of maturity, I expect all the mainstream 
offerings are
> probably pretty good.  I will depend on your
project's specific 
requirements
> whether you need something above average or not.
> 
> Ray




Beginning Microcontrollers with the MSP430

Omer,

I use ATM and have installed a number of PostScript fonts that are both
standard (Courier, Times Roman) and not-run-of-the-mill, such as Myriad,
Rockwell, and so on.  It seems to work correctly on other machines here
that don't have ATM, but I'll take a look to see what the code is
doing
(we don't render the text, Qt does that for us).

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors   

> -----Original Message-----
> From: Omer YALHI [mailto:oyalhi@oyal...] 
> Sent: 23 November 2004 13:51
> To: msp430@msp4...
> Subject: RE: [msp430] RE: About Courier Font (was MSP430 C compilers)
> 
> 
> Paul hi,
>  
> This could be a problem appearant to only non-english windows 
> users only.  I have Windows XP SP2 with English.  You have 
> told me before that you use Adobe Type Manager for font 
> management.  I have never used the software and have no idea 
> what it does, do you do anything special to set it up, or 
> just install it?  Do you also install another courier font?
>  
> Thanks, Omer
> 
>   _____  
> 
> From: Paul Curtis [mailto:plc@plc@...]
> Sent: Tuesday, November 23, 2004 2:06 PM
> To: msp430@msp4...
> Subject: RE: [msp430] RE: About Courier Font (was MSP430 C compilers)
> 
> 
> Well, it works for me on WinXP.
> 
> --
> Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
> CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors   
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> --------------------------
> ------~-> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 

Paul hi,
 
This could be a problem appearant to only non-english windows users only.  I
have Windows XP SP2 with English.  You have told me before that you use
Adobe Type Manager for font management.  I have never used the software and
have no idea what it does, do you do anything special to set it up, or just
install it?  Do you also install another courier font?
 
Thanks, Omer

  _____  

From: Paul Curtis [mailto:plc@plc@...] 
Sent: Tuesday, November 23, 2004 2:06 PM
To: msp430@msp4...
Subject: RE: [msp430] RE: About Courier Font (was MSP430 C compilers)


Well, it works for me on WinXP.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors   







...I don't think so.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors   

> -----Original Message-----
> From: Alexey Starostin [mailto:vesago@vesa...] 
> Sent: 23 November 2004 11:48
> To: msp430@msp4...
> Subject: RE: [msp430] MSP430 C compilers
> 
> 
> 
> Hi.
> 
> IAR the most good compiler for MSP430.
> 
> 
> > -----Original Message-----
> > From: john_the_ee [mailto:john_the_ee@john...]
> > Sent: Tuesday, November 23, 2004 12:21 AM
> > To: msp430@msp4...
> > Subject: [msp430] MSP430 C compilers
> > 
> > 
> > 
> > 
> > Hi.
> > 
> > I am looking to purchase a compiler for the MSP430 uC.
> > 
> > I would like to hear which compiler you prefer and why.  Cost is an 
> > issue, but I'm willing to pay for high quality.
> > 
> > I think I will avoid msp430-gcc because I want something 
> with an IDE 
> > and I need to get up and running quickly.
> > 
> > Any general comments you have an MSP430 tools vs. PIC or 
> AVR would be 
> > helpful
> > 
> > Below are the compilers I found:
> > 
> > 1. Quadravox
> > 2. IAR
> > 3. Rowley & Associates
> > 4. HiTech
> > 5. ICC430
> > 6. ImageCraft ICC430
> > 7. MSPGCC (free)
> > 
> > I am looking to use the Elptronic JTAG interface:
> > 
> > http://www.elprotronic.com/Products.asp
> > 
> > Suggestions and comments would be great.
> > John.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > .
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> --------------------------
> ------~-> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 

Hi Michel,

I had a quick look now but the AQ430 help system provided by IAR was a lot
more thorough as far as I can tell and included a full boxed set on manuals
as well as on line copies.  I will outline what I was doing and it will give
you a chance to show how your toolset could of handled it.  I did find
reference in the AQ430 to command line otpions for locating segments and
there is a help note on locating constant variables.

Here is a rough run down on the scenario:
- a boot loader runs in its own environment.  This includes its own RAM and
FLASH area.  This is a deliberately reduced scope.  All bar 2 interrtupt
vectors live in boot loader space.  The ones that live in boot loader space
are scrambled each product release to reduce hacking attempts via the Ti
built in bootloader.  Code downloads are encrypted.

- the boot loader checks for the presence of an application in application
space by doing a CRC on an area of the flash.  If it finds it, it launches
the application.

- the application is separately built and must locate its 2 interrupt
vectors and its lauch point to match the boot loader.  The linker also also
sets the CRC so the boot loader can tell there is a valid application.  Code
and RAM space are managed to occupy a portion of the remaining space.
Certain routines in the boot loader are fixed in location so they can be
called from the application (but the application stack space is still used
for these calls).  A small amount of RAM is locked off so the main
application can return to the boot loader for reprogramming.

- the application also checks for the presence of application extensions in
the remaining flash area by using the same CRC technique.  Each of these sub
applications is built as a separate project but must know where other things
live.  These connections are centrally controlled.  For each project, the
linkage handles a CRC, calls to the project above it (these vectors are
outside the linkage space used by the application itself) and must only used
its own allocation of RAM and flash for internal purposes.

- each major product update includes interrupt vector scrambling within
bootloader space to make extraction of the application via the Ti boot
loader more difficult as anyone trying to rip the IP will need to break the
password again.  A PC based application does the scrambling and updates a
single file which every project uses for linkage management.

- tricky things I had to overcome to make the above work are: linkage
control of the placement of interrupt vectors based on a plain text file
used by several projects at once, automated update of this file via a PC
application, placement of routines at defined locations so other projects
could call them (without including the code), CRC for each project in its
own flash space, limiting RAM access to prevent corruption of the projects
higher in the call chain for each project.  The target chip is
MSP430F167/8/9.

The IAR documentation provided the information to do all this with
confidence using their toolset.  Since the client has already selected the
IAR toolset this won't change their choice.

For other readers, I have to add that I selected the AQ430 toolset based on
its much better price relative to the IAR toolset and I have used it for
most of the other projects I have done.  It has worked very well for me.  In
my first project I took the files from an IAR kickstart project which had
outgrown the 4K code limit and AQ430 made and ran the project first time
without any changes to any source files.  The AQ430 toolset has definitely
been a good buy from my perspective.

Michel, In looking through the documentation I can't tell you that all the
above believe this is possible with AQ430.  This is probably more an issue
of the documentation itself and if the client had not of already selected
IAR you would have had some product support interaction with me.

Regards,

Ray



-----Original Message-----
From: michelqv [mailto:michel@mich...]
Sent: Tuesday, 23 November 2004 11:28 PM
To: msp430@msp4...
Subject: [msp430] Re: MSP430 C compilers




Hi Ray,

AQ430 DOES allow full control for linkage. The directives are
different from IAR's (and everyboy else's, I suspect) but
nevertheless it is not too complicated. Hey, some of it is even
described in the help file ;-) (ldseg,...). We'd like to hear from
you if you found something that you thought was not possible with
AQ430.

Michel

--- In msp430@msp4..., "Raymond Keefe" <ray@b...> wrote:
> I use both the Quadravox compiler and also the IAR
Embedded
Workbench. both
> the Kickstart version and the full version for one
client who
purchased a
> license.
>
> I find the Quadravox toolset easiest to use for simpler projects
but needed
> the full control over linkage for one project
which required
multiple
> applications to run together on the one chip and
that was the one I
used the
> IAR Embedded Workbench for.
>
> At the current level of maturity, I expect all the mainstream
offerings are
> probably pretty good.  I will depend on your
project's specific
requirements
> whether you need something above average or not.
>
> Ray






.


Yahoo! Groups Links








Oh yes, it is the goodest.
Why can't you also offer a limited version of your
IDE and with no 30day limit?

Josh

--- Paul Curtis <plc@plc@...> wrote:

> ...I don't think so.
> 
> --
> Paul Curtis, Rowley Associates Ltd 
> http://www.rowley.co.uk
> CrossWorks for MSP430, ARM, and (soon) Atmel AVR
> processors   
> 
> > -----Original Message-----
> > From: Alexey Starostin [mailto:vesago@vesa...] 
> > Sent: 23 November 2004 11:48
> > To: msp430@msp4...
> > Subject: RE: [msp430] MSP430 C compilers
> > 
> > 
> > 
> > Hi.
> > 
> > IAR the most good compiler for MSP430.
> > 
> > 
> > > -----Original Message-----
> > > From: john_the_ee [mailto:john_the_ee@john...]
> > > Sent: Tuesday, November 23, 2004 12:21 AM
> > > To: msp430@msp4...
> > > Subject: [msp430] MSP430 C compilers
> > > 
> > > 
> > > 
> > > 
> > > Hi.
> > > 
> > > I am looking to purchase a compiler for the
> MSP430 uC.
> > > 
> > > I would like to hear which compiler you prefer
> and why.  Cost is an 
> > > issue, but I'm willing to pay for high quality.
> > > 
> > > I think I will avoid msp430-gcc because I want
> something 
> > with an IDE 
> > > and I need to get up and running quickly.
> > > 
> > > Any general comments you have an MSP430 tools
> vs. PIC or 
> > AVR would be 
> > > helpful
> > > 
> > > Below are the compilers I found:
> > > 
> > > 1. Quadravox
> > > 2. IAR
> > > 3. Rowley & Associates
> > > 4. HiTech
> > > 5. ICC430
> > > 6. ImageCraft ICC430
> > > 7. MSPGCC (free)
> > > 
> > > I am looking to use the Elptronic JTAG
> interface:
> > > 
> > > http://www.elprotronic.com/Products.asp
> > > 
> > > Suggestions and comments would be great.
> > > John.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > .
> > > 
> > > 
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ------------------------ Yahoo! Groups Sponsor 
> > --------------------~-->
> > $9.95 domain names from Yahoo!. Register anything.
> >
>
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CFFolB/TM
> >
>
--------------------------
> > ------~-> 
> > 
> > .
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> 



		
__________________________________ 
 
 


Josh,

> > IAR the most good compiler for MSP430.

> Oh yes, it is the goodest.

Why would that be?  Enlighten me.

> Why can't you also offer a limited version of
your IDE and 
> with no 30day limit?

Why should I offer such a thing?  The fact that IAR offer a free 4K
limited version infers that it's better than our IDE and compiler?  On
what basis?

Do you offer free versions of your own tools and applications to
everybody on the net?

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors  

At V7, our (ImageCraft's, not Rowley's) demos will be fully
functional for 
45 days, then change to a 4K code limited for non-commercial use with no 
time limit.

At 02:20 PM 11/23/2004, josh lu wrote:

>Oh yes, it is the goodest.
>Why can't you also offer a limited version of your
>IDE and with no 30day limit?
>
>Josh

// richard (This email is for mailing lists. To reach me directly, please 
use richard at imagecraft.com) 


Hi Richard, 

> At V7, our (ImageCraft's, not Rowley's)
demos will be fully 
> functional for
> 45 days, then change to a 4K code limited for non-commercial 
> use with no time limit.

That's brave.  However, it seems to be the way the world is headed,
though I don't see how the non-commercial use can be enforced.  Anybody
have any opinions on the new kid on the block, cuckoo in the nest or
black sheep of the family?

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors  

Also, the Rowley Compiler is actually affordable to just about everyone - 
unlike the unlimited version of the IAR. 

The support's a damn sight better too. 

Just my 20p's worth. :-)

Rob.




Josh,

> > IAR the most good compiler for MSP430.

> Oh yes, it is the goodest.

Why would that be?  Enlighten me.

> Why can't you also offer a limited version of
your IDE and 
> with no 30day limit?

Why should I offer such a thing?  The fact that IAR offer a free 4K
limited version infers that it's better than our IDE and compiler?  On
what basis?

Do you offer free versions of your own tools and applications to
everybody on the net?

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors  



.

 
Yahoo! Groups Links