I've already tried the nop thing and it doesn't work better.
I've quickly examined the generated assembly code, and there is no
obvious difference between the 2 programs, at least in the main part.
I'll try to watch deeper in the next few days.
Thanks for your answer again.
Fred
2010/8/23
- Ursprüngliche Nachricht -
Von: Frédéric Sureau
Gesendet am: 23 Aug 2010 21:39:51
I compile my blink led program code (attached) for the msp430f5529
using mspgcc4 with option mmcu=msp430x5418.
The result is that the led is blinking too fast. I thought it was that
the delay was too
: [Mspgcc-users] mspgcc or mspgcc4 for a msp430f5529
To: GCC for MSP430 - http://mspgcc.sf.net;
mspgcc-users@lists.sourceforge.net
I believe some people are having some success using mspgcc4 and compiling
with the TI headers version of msp430-libc. There's a bug in the headers
right now
On 23.08.2010 22:39, Frédéric Sureau wrote:
When removing the main loop ( while(1) ), the led is just flashing one
time very shortly independently from the delay duration.
Show the code, please. Seems like you missed volatile keyword in delay cycle variable declaration
and more effective
Thanks for your quick reply !
Nothing changed with the volatile keyword.
Here is the code (sorry it was an attachment but it may not have passed) :
#include msp430f5529.h
int main ( void )
{
volatile unsigned long int i;
WDTCTL = WDTPW | WDTHOLD;
P1DIR = 1;
On Mon, 2010-08-23 at 17:11 -0400, Frédéric Sureau wrote:
for(i=0;i5000;i++);
Try:
for(i=0;i5000;i++)
nop();
Cheers,
Rob
not tried on target yet).
Fred
Le 19 août 2010 15:35, Frédéric Sureau frederic.sur...@gmail.com a écrit :
-- Forwarded message --
From: Peter Bigot p...@peoplepowerco.com
Date: 2010/8/11
Subject: Re: [Mspgcc-users] mspgcc or mspgcc4 for a msp430f5529
To: GCC for MSP430
--
From: Peter Bigot p...@peoplepowerco.com
Date: 2010/8/11
Subject: Re: [Mspgcc-users] mspgcc or mspgcc4 for a msp430f5529
To: GCC for MSP430 - http://mspgcc.sf.net;
mspgcc-users@lists.sourceforge.net
I believe some people are having some success using mspgcc4 and compiling
with the TI headers
Le 19 août 2010 15:35, Frédéric Sureau frederic.sur...@gmail.com a écrit :
-- Forwarded message --
From: Peter Bigot p...@peoplepowerco.com
Date: 2010/8/11
Subject: Re: [Mspgcc-users] mspgcc or mspgcc4 for a msp430f5529
To: GCC for MSP430 - http://mspgcc.sf.net;
mspgcc-users
I believe some people are having some success using mspgcc4 and compiling
with the TI headers version of msp430-libc. There's a bug in the headers
right now that means you should include the legacy header msp430x552x.h
instead of the chip-specific one, and the compiler isn't aware of the 5529
so
10 matches
Mail list logo