Forums Search for: Crossworks
Inline functions in C (Crossworks)
inI am using the Crossworks compiler, and there are a few places where I'd like to call a function (to make the code easier to read and more...
I am using the Crossworks compiler, and there are a few places where I'd like to call a function (to make the code easier to read and more modular), but would like to avoid the overhead of the function call. In C++, Ada, or the latest C standard you can inline a function, but C didn't originally have that ability. Is there a clean and easy way to inline a function in C? I don't li
Any opinions/experiences on ImageCraft compiler?
inHello, My company will soon purchase a MSP430 compiler. One of the lowest cost MSP430 compilers is ImageCraft. How does it compare to...
Hello, My company will soon purchase a MSP430 compiler. One of the lowest cost MSP430 compilers is ImageCraft. How does it compare to Crossworks and IAR? Crossworks seems to be one of the favorite compilers in the discussion group. Al
Crossworks for MSP430 - Mindful
inThis IDE (Crossworks for MSP430)seems to have a mind of its' own and is becoming more and more tedious to work with, as time goes on. Does...
This IDE (Crossworks for MSP430)seems to have a mind of its' own and is becoming more and more tedious to work with, as time goes on. Does anyone know how to stabilise the seemingly random shifting of panels (sub-windows)? It seems that each time the code is compiled, paused etc. The panels which I time and time again arrange within the IDE, rotate places or swaps levels, subject to a c
ANN: CrossWorks for MSP430 1.0 Released
inFor those of you that are interested, Rowley Associates have released CrossWorks for MSP430 1.0. A 30-day evaluation version, which...
For those of you that are interested, Rowley Associates have released CrossWorks for MSP430 1.0. A 30-day evaluation version, which is identical to the commercial version, is on the web at www.rowley.co.uk, just follow your nose. All that differs is that we will send you a temporary key rather than a permanent key. Here are some of the things that have changed: * Register Allocator turne
CrossWorks for MSP430 v1.2 RC5
inHi All, I have just uploaded CrossWorks for MSP430 v1.2 RC5 to the web site. If there are no major calamaties, this is the version that will...
Hi All, I have just uploaded CrossWorks for MSP430 v1.2 RC5 to the web site. If there are no major calamaties, this is the version that will make it out as v1.2 Gold. This new version of our software features the brand new optimizer that I added to the tools during the v1.2 upgrade. This optimizer features: * inter-module cross calling optimization which significantly reduces code size
porting code to Crossworks
inI bought the TI experimenter board which features the MSP430F5529; for fun I decided to exercise Rowley Crossworks IDE and port the code from CCE...
I bought the TI experimenter board which features the MSP430F5529; for fun I decided to exercise Rowley Crossworks IDE and port the code from CCE and IAR. As we all know TI only supports IAR and CCE in its example files. So I have most of this done, it is straightforward, but I hit a snag with __no_init and __data16; from what my googling shows, Rowley supports a 16-bit wide data model and ...
MSP-FET430UIF - Crossworks cooperation
inHi all, I'm too stupid to install the MSP-FET430UIF without(!) installing IAR or CCE before. As I understood, the Crossworks 2.0 eval MSP430...
Hi all, I'm too stupid to install the MSP-FET430UIF without(!) installing IAR or CCE before. As I understood, the Crossworks 2.0 eval MSP430 DLL Interface inside the Targets window should fit with the UIF without any external installation while using the "$(StudioDir)/bin/ msp430.dll". After doubleclicking on the DLL interface: "Can't connect to terget USB: Couldn' initialize device int...
Crossworks - Can I watch a GPIO Port?
inHi Paul, or anyone else that knows: I found it handy from time to time in IAR to set a watch on a GPIO port, P2IN for example, and I'm...
Hi Paul, or anyone else that knows: I found it handy from time to time in IAR to set a watch on a GPIO port, P2IN for example, and I'm wondering if there's a way to do this in crossworks besides monitoring a memory location in the memory window. Not a deal breaker, but it would be convenient for me to do this in the same window with some other variables. Thanks! -Micah
CPU autodetection for IAR and Crossworks?
inHi, when i change the target (CPU) in an mspgcc project i only have to change the CPU = msp430... line in makefile but in IAR and...
Hi,
when i change the target (CPU) in an mspgcc project i only have to change the
CPU = msp430...
line in makefile but in IAR and Crossworks projects i have to change a) the project file
(and maybe the solution file) and b) dozens of .c-files because IAR and Crosswork do need
a cpu specific header, e. g.
PC-Lint with CrossWorks
inDoes anybody have any control statements that will take care of some info and warning statements Lint gives when processing CrossWorks code? ...
Does anybody have any control statements that will take care of some info and warning statements Lint gives when processing CrossWorks code? For example, the statement if((P4IN & RESET) != RESET) will cause PC-lint to give messages like: Info 778 Constant expression evaluates to 0 in operation '&' Info 774 Boolean within 'if' always evaluates to True It is caused by one of the
Re: MSP430 not automatically running / resetting on powerup (Crossworks)
in
What's your reset circuitry look like?
----- Original Message -----
From: "deluxenewandimproved"
What's your reset circuitry look like?
----- Original Message -----
From: "deluxenewandimproved"
Crossworks tasking library
inOkay, I've been setting up a test case using the crossworks tasking library. I've included the ctl_api.h header, and during the build, none...
Okay, I've been setting up a test case using the crossworks tasking library. I've included the ctl_api.h header, and during the build, none of the tasking functions are found. Here's the error: Build active project ? 230 ms ? 9 errors Building ?Portacom Tasking? in configuration ?Debug? ? 9 errors Compiling main.c Linking Portacom Tasking.hzx ? 9 errors undefined symbol '_ctl_interrupt_c
USART1 Interrupt problem in Crossworks.
inHi folks, I have a problem with an F147 disappearing up its own backside when I get a USART1 transmit interrupt (in Crossworks). My transmit...
Hi folks, I have a problem with an F147 disappearing up its own backside when I get a USART1 transmit interrupt (in Crossworks). My transmit interrupt is defined as follows: void serial_transmit_isr(void) __interrupt [USART1TX_VECTOR] { .. } As soon as I enable USART1 with the following line of code: IE2 |= 0x20; // Enable UART Tx interrupt and send a byte o
Problem with Include Paths in CrossWorks
inHi All. I can't figure out what I'm doing wrong here ... I cannot get CrossWorks to successfully include a header file that is nested...
Hi All. I can't figure out what I'm doing wrong here ... I cannot get CrossWorks to successfully include a header file that is nested more than two levels deep. e.g. level0.h: #include "level1/level1.h" level1.h: "include "level2/level2.h" where the directories are laid out: level0 (project directory) level1 level2 Fails because it can't include level2/level2...
IO PORT BIT DEFINITION FROM IAR TO CROSSWORKS
inI switched from IAR to Crossworks and I'm trying to get my code to compile. My first issue is with the below code volatile union { ...
I switched from IAR to Crossworks and I'm trying to get my code to compile. My first issue is with the below code volatile union { unsigned const char P2IN; /* Port 2 Input */ struct { unsigned const int P2IN_0 : 1; unsigned const int P2IN_1 : 1; unsigned const int P2IN_2 : 1; unsigned const int P2IN_3 : 1; unsigned const int P2IN_4 : 1; un...
__no_init in Crosswork
inHi Is there any easy way to emulate no_init in Crossworks? Thanks Tony ------------------------------------
Hi Is there any easy way to emulate no_init in Crossworks? Thanks Tony ------------------------------------
Reset from C code
inHi Group. This might sound easy, but it's got me in knots. I want to be able to reset my MSP430F5419 by sending it a serial comms command....
Hi Group. This might sound easy, but it's got me in knots. I want to be able to reset my MSP430F5419 by sending it a serial comms command. I could let the watchdog timer timeout, but is there an easier way to call the RESET_VECTOR. I'm using CrossWorks 2.1.2. Cheers Nick ------------------------------------
Crossworks help
inHello, I am using Crosworks 1.4 Build 1 with MSP-FET430UIF but cannot get the debugger to work. I get an "Can't identify target device: No...
Hello, I am using Crosworks 1.4 Build 1 with MSP-FET430UIF but cannot get the debugger to work. I get an "Can't identify target device: No error" message and it does not connect. If I try the CrossConnect it will connect but I get a verify error after download. The hardware is known good and so is the programming fixture. I am using msp430f147. Any ideas would be much appr...
__delay_cycles() problem
inHello I am using the MSP430 F1611 with the Crossworks Compiler. The MCLK is 7.3728 MHz. So when I use __delay_cycles(737280) i expected a...
Hello I am using the MSP430 F1611 with the Crossworks Compiler. The MCLK is 7.3728 MHz. So when I use __delay_cycles(737280) i expected a delay of 100 ms. Instead the delay is 273 ms (measured with the timer and the 32.768 kHz clock). Interrupts are switched off. Did I understand something wrong here? Best regards MeistaK ------------------------------------
Freertos running on MSP430X
inHi all, Has anybody ever tried to run a port of FreeRtos (IAR, CCE, Crossworks, GCC) into a MSP430X CPU? If yes, does change the...
Hi all, Has anybody ever tried to run a port of FreeRtos (IAR, CCE, Crossworks, GCC) into a MSP430X CPU? If yes, does change the assembler code part? I Think it not should, given that is code compatible with old CPUs (at least if 0xFFFF treshold is not surpassed). Thanks Best Regards. ------------------------------------