Other Parts Discussed in Thread: ENERGIA
I use Launched pad MSP-exp430g2 ver 1.4 with msp430g2553 with energia 1.8.7E21 under win 10
the unit connect ok
but when run basic project blink
/* Blink The basic Energia example. Turns on an LED on for one second, then off for one second, repeatedly. Change the LED define to blink other LEDs. Hardware Required: * LaunchPad with an LED This example code is in the public domain. */ // most launchpads have a red LED #define LED RED_LED //see pins_energia.h for more LED definitions //#define LED GREEN_LED // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(LED, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }
received end errors
MSPDebug version 0.24 - debugging tool for MSP430 MCUs Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------------- NOTE ------------------ Modified version of mspdebug for Energia Do not use standalone ----------------------------------------- Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc. Using new (SLAC460L+) API MSP430_GetNumberOfUsbIfs MSP430_GetNameOfUsbIf Found FET: HID0008:COM7 MSP430_Initialize: HID0008:COM7 Firmware version is 20409001 MSP430_VCC: 3000 mV MSP430_OpenDevice MSP430_GetFoundDevice Device: MSP430G2xx3 (id = 0x00de) 2 breakpoints available MSP430_EEM_Init Chip ID data: ver_id: 5325 ver_sub_id: 0000 revision: 00 fab: 00 self: 0000 config: 00 Device: MSP430G2xx3 Erasing... MSP430_Run tilib: MSP430_Erase: Could not read device memory (error = 6) ihex: error on line 51 MSP430_Close tilib: MSP430_Run: Could not read Enhanced Emulation Module register (error = 20) tilib: MSP430_Run: Could not read Enhanced Emulation Module register (error = 20)
any idea how to solve this problem, use older version of energia or simple use code ccs 8
what if I want to use the hardware uart ?
know how to connect energia with jtag ?
david-p51@013.net.il