SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By MaxAmp
#47535
I bought the Motion Detection Module - MSP430F2013 http://www.sparkfun.com/commerce/produc ... ts_id=8645 from spark fun and it works when power from coin cell or JTAG. However, I am unable to program the micro controller using mspgcc. Keep in mind that I have successfully programed Evaluation Board for MSP430FG4619 http://www.sparkfun.com/commerce/produc ... ts_id=8298 . So the problem is specific to this board, its code and processor type. This eliminates problems caused by my programmer or my mspgcc install.

When I run msp430-jtag, I get the following error with the parallel programmer http://www.sparkfun.com/commerce/produc ... ucts_id=15:
Code: Select all
msp430-gcc -g -mmcu=msp430x2013 -o main.elf main.c
msp430-jtag -eE main.elf
MSP430 JTAG programmer Version: 2.3
Use -h for help
Cleaning up after error...
Reset and release device...

An error occoured:
Can't open interface: Could not find device (or device not supported)
And this error with the USB http://www.sparkfun.com/commerce/produc ... cts_id=623:
Code: Select all
msp430-gcc -g -mmcu=msp430x2013 -o main.elf main.c
msp430-jtag -lTIUSB -eE main.elf
MSP430 JTAG programmer Version: 2.3
Use -h for help
Cleaning up after error...
Reset and release device...

An error occoured:
Could not reset target (no connection?): Could not communicate with FET
When programming with USB, the red "write" led quickly blinks twice on the programmer. Both methods causes the red led on the Motion Detection Module to turn on dimly. Once the JTAG programing fails, the board resets and goes into the program it was shipped with.


Image


- I have checked the solder bridges for the OLI/TI selection (see above image).
- I have tried programming with both JTAG and coin cell power with the appropriate jumper setting.

Any ideas as to why this board does not want to be programed? :cry:
By OLIMEX
#47587
MSP430-PIR JTAG is SBW, the parallel port JTAG can't program SBW devices

Tsvetan
By MaxAmp
#47670
Thank you for your response.

I am new to Spy-By-Wire programming. I see that the MSP-JTAG-ISO does support SBW programming.

Does mspgcc support SBW programming or will I have to use IAR?
By OldCow
#47680
I think you may want to consider eZ430-F2013 ($20 including a SBW tool and a F2013 target) or eZ430-RF2500 ($50 including a SBW tool and two RF2500 targets).
By OLIMEX
#47693
MaxAmp: I'm not sure as we don't use mspgcc, IAR kickstart version cover 4KB if I remember correctly and this is enough to use MSP430-PIR