Dear,
I am trying without success to program LaunchPad MSP430G2 using MSP430Flasher
I could program MSP430F149 using MSP FET Emulator and MSP430Flasher, but when I connect
the LaunchPad MSP430G2 the MSP430Flasher does not find the connected device
I am using the following Makefile:
OBJECTS=blink.o
GCC_DIR = ../../../bin
SUPPORT_FILE_DIRECTORY = ../../../include
DEVICE = msp430g2553
CC = $(GCC_DIR)/msp430-elf-gcc
GDB = $(GCC_DIR)/msp430-elf-gdb
OBJCPY = $(GCC_DIR)/msp430-elf-objcopy
LOAD = MSP430Flasher -i /dev/tty.uart-D5FF5184AB90253B
CFLAGS = -I $(SUPPORT_FILE_DIRECTORY) -mmcu=$(DEVICE) -O2 -g
LFLAGS = -L $(SUPPORT_FILE_DIRECTORY)
all: ${OBJECTS}
$(CC) $(CFLAGS) $(LFLAGS) $? -o $(DEVICE).out
$(OBJCPY) -O ihex $(DEVICE).out $(DEVICE).hex
load: all
$(LOAD) -z [VCC,RESET] -w $(DEVICE).hex
debug: all
$(GDB) $(DEVICE).out
I get the following:
fetchoo:msp430g2553 mazeboard$ make load
../../../bin/msp430-elf-gcc -I ../../../include -mmcu=msp430g2553 -O2 -g -L ../../../include blink.o -o msp430g2553.out
../../../bin/msp430-elf-objcopy -O ihex msp430g2553.out msp430g2553.hex
MSP430Flasher -i /dev/tty.uart-D5FF5184AB90253B -z [VCC,RESET] -w msp430g2553.hex
* -----/|-------------------------------------------------------------------- *
* / |__ *
* /_ / MSP430 Flasher v1.3.7 *
* | / *
* -----|/-------------------------------------------------------------------- *
*
* Evaluating triggers...
* Invalid argument for -i trigger. Default used (USB).
* Checking for available FET debuggers:
* Couldn't find any connected USB FETs!
* Resetting device (RST/NMI)...done
* Starting target code execution...done
* Resetting device (RST/NMI)...done
* Starting target code execution...done
* Resetting device (RST/NMI)...done
* Starting target code execution...done
* Resetting device (RST/NMI)...done
* Starting target code execution...done
* Resetting device (RST/NMI)...done
PS: I can program LaunchPad MSP430G2 using Energia (so Energia finds the device,
but MSP430Flasher fails to do so)
Kind regards
Taoufik