program all MSP430Fxxx flash microcontrollers (note: parallel port JTAG doesn't support Spy-Bi-Wire devices as timing from parallel port can't meet programming specs)
uses TI standard 2x7 pin JTAG connector
Both are in fact JTAG, 4-Wire and 2-Wire otherwise known as Spy-Bi-Wire (SBW)...
communication error:
check if hardware is connected
check if debug protocol (SBW or 4-wire) is correct
In IAR workbench kickstart version IDE that i am using there was a an option to change the protocol but it is set default as SBW .Manuall change option is highlighted for MSP430F449 alone.
could you please suggest something to clear this error?
The stack pointer for stack 'Stack' (currently Memory:0xDDFE) is outside the stack range (Memory:0x9B0 to Memory:0xA00)
#include "io430.h"
void delay(int a);
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
P1DIR |= 0xFF;
for (;;)
{
P1OUT = ~P1OUT ;
delay(10);
}
}
void delay(int a)
{
volatile unsigned int i; // volatile to prevent optimization
i = a*100; // SW Delay
do i--;
while (i != 0);
}
#include "io430.h"
void DELAY ();
int main( void )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTHOLD;
P1SEL=0X00;
P1DIR=0XFF;
P1OUT=0XFF;
for(;;)
{
P1OUT=0X0F;
DELAY(500);
P1OUT=0X0E;
DELAY(500);
P1OUT=0X0D;
DELAY(500);
P1OUT=0X0C;
DELAY(500);
P1OUT=0X0B;
DELAY(500);
P1OUT=0X0A;
DELAY(500);
P1OUT=0X09;
DELAY(500);
P1OUT=0X08;
DELAY(500);
P1OUT=0X07;
DELAY(500);
P1OUT=0X06;
DELAY(500);
P1OUT=0X05;
DELAY(500);
P1OUT=0X04;
DELAY(500);
P1OUT=0X03;
DELAY(500);
P1OUT=0X02;
DELAY(500);
P1OUT=0X01;
DELAY(500);
P1OUT=0X00;
DELAY(500);
}
//return 0;
}
void DELAY (unsigned int d )
{
for(int k=0;k<d;k++)
for(int j=0;j<786;j++);
}
The stack pointer for stack 'Stack' (currently Memory:0xDDFE) is outside the stack range (Memory:0x9B0 to Memory:0xA00)
The stack pointer for stack 'Stack' (currently Memory:0xDDFE) is outside the stack range (Memory:0x9B0 to Memory:0xA00)
Are you trying to download a new program or extract an existing program from the MSP430FG4618?
You can use the MSP430 LaunchPad as both a programmer and debugger.
MSP430 LaunchPad Value Line Development kit
Depending on whether any code protection has been activated, you may be able extract/dump existing binary from the device.
BigDog
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?