-
Content Count
34 -
Joined
-
Last visited
Reputation Activity
-
smiffy reacted to nobody in Debugging A Timer
Big packet of usefull information you found in SLAA494.ZIP and SLAA494.PDF.
Little part from my code:
int main( void ){
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer to prevent time out reset
BCSCTL1 &= ~XT2OFF; // Activate XT2 high freq xtal
BCSCTL3 |= XT2S_2+LFXT1S_2; // 3
-
smiffy reacted to jsolarski in msp430-gcc: delay loops optimised out
FYI if you need more delay options...... http://www.43oh.com/forum/viewtopic.php?f=10&t=65
-
smiffy reacted to gordon in msp430-gcc: delay loops optimised out
Quickstart: viewtopic.php?f=5&t=1402#p9193. I am standing by my earlier opinion that if your OS has Uniarch packages, use those, if it doesn't, poke the vendor to have them. In the meantime, you can use the script attached there (check for patches that might have appeared since), or a number of other Uniarch build scripts/instructions floating around even in this forum.
There's a SF wiki page too for a bit of a background information and whatnot.
-
smiffy reacted to ike in msp430-gcc: delay loops optimised out
http://en.wikipedia.org/wiki/Volatile_variable
volatile unsigned int i=0;
__delay_cycles
http://www.rowley.co.uk/documentation/h ... nmsp_h.htm
-
smiffy reacted to gordon in msp430afe253 TSSOP on a Schmartboard
Try the attached diff (against mspdebug git master HEAD).
If it still doesn't work (properly), do as advised sniffing the USB traffic on Windows with CCS or IAR, then send the results in to Daniel.
msp430afe253.diff.gz