Re: [Mspgcc-users] Programming with msp430-gdb

2013-04-20 Thread Dean Chester
Sorry pressed send in my mail browser. file someFile.elf load someFile.elf mon prog someFile.elf I thought load and mon prog (programs using MSPdebug) did the same thing? Is this correct and I can omit one of these? Or do I always need to do it? Dean On Sat, Apr 20, 2013 at 1:15 PM, Dean

[Mspgcc-users] Programming with msp430-gdb

2013-04-20 Thread Dean Chester
Hi, I currently use 3 different commands to program my launchpad with the msp430-gdb: file someFile.elf -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform

Re: [Mspgcc-users] error: __delay_cycles argument too large

2013-04-11 Thread Dean Chester
I've completely removed all MSP430 stuff on my machine. Got a good link on how to install everything with macports? Or how to do it with a few commands? On Thu, Apr 11, 2013 at 11:58 AM, Aljaž Srebrnič wrote: > On 11/apr/2013, at 12:51, Dean Chester wrote: > > > How would I

Re: [Mspgcc-users] error: __delay_cycles argument too large

2013-04-11 Thread Dean Chester
a loop so > the duration does not exceed 65535. > > > On Thu, Apr 11, 2013 at 5:33 AM, Dean Chester wrote: > >> Hi, >> >> I keep getting this error when I compile some code. The line looks like: >> >> __delay_cycles(80); >> >> If

[Mspgcc-users] error: __delay_cycles argument too large

2013-04-11 Thread Dean Chester
Hi, I keep getting this error when I compile some code. The line looks like: __delay_cycles(80); If I was to compile with code composer studio it wouldn't raise an error so why does MSP430-GCC raise an issue? What work arounds can I use to get around this problem? TIA, Dean ---

Re: [Mspgcc-users] Interrupt Syntax

2013-03-19 Thread Dean Chester
For which version is this valid syntax? Just tried to use it for a simple test with my version which is: Deans-MacBook-Pro:src dean$ msp430-gcc -v Using built-in specs. Reading specs from /usr/local/msp430-uniarch-20110716/lib/gcc/msp430/4.5.3/../../../../msp430/lib/msp430mcu.spec COLLECT_GCC=msp4

[Mspgcc-users] Invalid Use of Void Expression

2013-03-19 Thread Dean Chester
Hi, When I compile my source code I get the following error: main.c: In function ‘main’: main.c:113:3: error: invalid use of void expression The line of code that it is referring to is: __bis_SR_register(LPM4); This is defined in the header file in the compiler yet I can't work out why I am ge