energia msp430 demo MSPDebug


/*
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.
*/

// date 8 Aug 2019
//comments are like instructions

// most launchpads have a red LED
#define LEDr RED_LED

//see pins_energia.h for more LED definitions
#define LEDg GREEN_LED

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(LEDr, OUTPUT);
pinMode(LEDg, OUTPUT);
}
//{
//
//
//}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(LEDr, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(LEDg, LOW); // turn the LED on (HIGH is the voltage level) // mjh
delay(1000); // wait for a second
digitalWrite(LEDr, LOW); // turn the LED off by making the voltage LOW
digitalWrite(LEDg, HIGH); // turn the LED off by making the voltage LOW // mjh
delay(1000); // wait for a second
}


MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer
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: HID0027:COM13
MSP430_Initialize: HID0027:COM13
Firmware version is 20409001
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: F20x2_G2x2x_G2x3x (id = 0x0035)
2 breakpoints available
MSP430_EEM_Init
Chip ID data:
ver_id: 01f2
ver_sub_id: 0000
revision: 30
fab: 40
self: 0000
config: 02
Device: F20x2_G2x2x_G2x3x
Erasing...
Programming...
Writing 758 bytes at f800...
Writing 32 bytes at ffe0...
Done, 790 bytes total
MSP430_Run
MSP430_Close

:10F800005542200135D0085A82451202314080020B
:10F810003F4000000F9308249242120220012F83E0
:10F820009F4FF6FA0002F8233F4012000F9307247F
:10F830009242120220011F83CF430002F923B0122B
:10F84000FEF8B01262F83B400000B01276F80B935D
:10F85000FC27B0120000F93F32D0F000FD3F3040ED
:10F86000B2FA5E436F43B012FEF95E437F400E0072
:10F87000B012FEF930415E436F43B01270FA4E434E
:10F880007F400E00B01270FA3E40E8030F43B01202
:10F8900034F94E436F43B01270FA5E437F400E005E
:10F8A000B01270FA3E40E8030F43B01234F9304111
:10F8B0002D42F2F0FEFF5300F2F0FDFF02003E4049
:10F8C00003003F40068B1F83FE231E83FC2303435C
:10F8D0003D5305245F4202002FF3EB233041B24039
:10F8E000E02E0002F2F03F002E00F2D02000530084
:10F8F0003041B2401A5A2001D2D300003041B24008
:10F90000805A2001B012B0F8B012F2F832D2304171
:10F910000F4232C203431C420A021D420C02024F34
:10F920000E4C0F4D4FEC0FEC8F104E4E8E100E5EA6
:10F930000F6F30410B120A1209120812084E094FBC
:10F94000B01210F90A4E0B4F103CB01210F90E8A8B
:10F950000F7B0F9303203E90E8030528385339634B
:10F960003A50E8030B6332D018000893EE23099352
:10F97000EC23384139413A413B4130410F120E12DC
:10F980000D120C120B121E4206021F4208021B42ED
:10F9900004025D4202024D9304241C420E020D43F8
:10F9A000023C0C430D430E5C0F6D5D4202024D9311
:10F9B00003241D421002023C3D4000020D5B3D90BD
:10F9C000E80304283D5018FC1E530F63824D0402C7
:10F9D000824E0602824F08021E420A021F420C0299
:10F9E0001E530F63824E0A02824F0C02B1C0D00038
:10F9F0000A003B413C413D413E413F4100130B1257
:10FA00000A124F4F5A4FB4FA5D4FC9FA4D932D2445
:10FA10004D4D0D5D1C4DDEFA6F4C4B4A7BE34FFBA9
:10FA2000CC4F00001F4DEAFA1C4DE4FA1D4DF0FAD0
:10FA30004E930520CFFB00006F4C4FFB113C6E93A3
:10FA40000520CFFB00006F4D4FDA063C6E920B2075
:10FA5000CFFB00006F4D4FFBCD4F00006F4C4FDAD6
:10FA6000CC4F0000023CCFDA00003A413B4130412C
:10FA70000B120A124F4F5C4FB4FA5F4FC9FA4F9303
:10FA800015244F4F0F5F1A4FDEFA6D4A4B4C7BE344
:10FA90004DFBCA4D00001F4FF0FA4E9303206E4FEE
:10FAA0004EFB023C6E4F4EDCCF4E00003A413B41D4
:04FAB00030410013CE
:10FAB4000000010204081020010204081020408004
:10FAC4000000804000000001010101010102020266
:10FAD40002020201010000020200000026002E00C2
:10FAE400000027002F00000022002A00000021004F
:02FAF4002900E7
:10FFE0005EF85EF85EF85EF85EF85EF85EF85EF861
:10FFF0005EF85EF87CF95EF85EF85EF85EF800F890
:040000030000F80001
:00000001FF