Pumpkin User Forums
  TI's MSP430
  Problems with Rowley CrossWorks MSP430 v1.3

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Problems with Rowley CrossWorks MSP430 v1.3
posted December 17, 2004 13:42     Click Here to See the Profile for aek     Edit/Delete Message   Reply w/Quote
Rowley has released CrossWorks for MSP430 v1.3, and with this new release, Salvo users should be aware of the following:

1) When opening projects in the current Salvo release (built from early CS430 v1.2), it is necessary to do the following (courtesy Paul Curtis at Rowley):

You need to set "Include Startup Code" to "Yes" in the Linker Options of the project. This is a slight incompatibility with v1.2. If you set this to "Yes", it's backward compatible with v1.2.

2) Users have reported (and I have witnessed) run-time problems with Salvo tasks that i) had switch() statements with more than 4 cases, and ii) multiple instances of sprintf(). These are due to some incompatible optimizations that are present in v1.3 (and maybe in later v1.2, but not in early v1.2). Until we have fully characterized the effect of these new optimizations, we recommend that all users set the following Code Generation Options to "None" or "No" when applied to a project's source code (*.c) files that contain Salvo tasks:

Jump Threading Optimization
Peephole Optimizaton
Register Allocation

Source code modules that do not include Salvo tasks can have all optimizations applied to them without worry.

I suspect that the problem is in Register Allocation, as Salvo does not save registers between context switches (in order to minimize RAM requirements). Once we have fully characterized this problem, we will update RM-CS430.PDF.



All times are ET

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Pumpkin Home Page

2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.

Ultimate Bulletin Board 5.46a