EmbeddedRelated.com
The 2024 Embedded Online Conference

Inline functions in C (Crossworks)

Started by Miles Gazic in MSP43020 years ago 9 replies

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...

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?

Started by Al Dietrich in MSP43019 years ago 19 replies

Hello, 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

Started by Tam in MSP43021 years ago 16 replies

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...

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

Started by Paul Curtis in MSP43021 years ago 26 replies
IAR

For 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

Started by Paul Curtis in MSP43020 years ago 10 replies

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...

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

Started by William Sell in MSP43013 years ago 4 replies
IAR

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...

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

Started by timokirschke in MSP43016 years ago 12 replies
IAR

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...

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?

Started by Micah Stevens in MSP43019 years ago 5 replies
IAR

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...

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?

Started by rolf...@... in MSP43018 years ago 9 replies
IAR

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...

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. . To eleminate this redundancy and non-orthogonality i do need


PC-Lint with CrossWorks

Started by Lou C in MSP43019 years ago 15 replies

Does 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)

Started by Mark E. Skeels in MSP43019 years ago 11 replies

What's your reset circuitry look like? ----- Original Message ----- From: "deluxenewandimproved" To: Sent: Monday, February 21, 2005 1:51...

What's your reset circuitry look like? ----- Original Message ----- From: "deluxenewandimproved" To: Sent: Monday, February 21, 2005 1:51 PM Subject: [msp430] MSP430 not automatically running / resetting on powerup (Crossworks) > > > I've got a system ready to ship, but unfortunately my chip won't > automaticall


Crossworks tasking library

Started by Micah in MSP43019 years ago 6 replies

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...

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.

Started by Robert Wood in MSP43019 years ago 3 replies

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...

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

Started by aekalman in MSP43017 years ago 9 replies
IAR

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...

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

Started by bits_2_byte in MSP43017 years ago 1 reply
IAR

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 { ...

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

Started by tony_90_92 in MSP43016 years ago 1 reply

Hi 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

Started by Nick Price in MSP43013 years ago 7 replies

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....

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

Started by quaratie in MSP43016 years ago 2 replies

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...

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

Started by meistak in MSP43015 years ago 2 replies

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...

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

Started by linked82 in MSP43016 years ago 4 replies

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...

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. ------------------------------------



The 2024 Embedded Online Conference