Jump to content

Search the Community

Showing results for tags 'msp-exp430g2'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 8 results

  1. Hi! I'm a newbie just starting out with a MSP-EXP430G2 LaunchPad running with an M430G2553 chip. I am trying to load Examples from the Energia IDE but each time I attempt to compile or upload the code I get an error: msp430-g++: error: <name>\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include: No such file or directory exit status 1 Error compiling for board MSP-EXP430G2 w/ MSP430G2553. I am running a Win 10 64 laptop. I have selected the correct Board (MSP-EXP430G2 w/ M430G2553) from the Tools menu and updated the software. Can someone please tell me where I am going wrong. Many thanks in anticipation!
  2. I would like to measure the voltage of a NiMH DC battery not exceeding 12V and I just knew that msp430g2553's ADC has an internal voltage divider. Is it appropriate to use the internal voltage divider directly without any external circuit?
  3. I'm trying to bring up a CLI/Makefile based toolset under Ubuntu. Ubuntu version 17.04 MSPDebug version 0.24 My two Launchpads are both MSP-EXP430G2, Rev1.5, and are about three years old. One has a 2553 chip and the other is a 2452. Result of 'mspdebug --usb-list' includes: Devices on bus 001: 001:010 0451:f432 eZ430-RF2500 [serial: FEFF467AF9CB2548] Running mspdebug gives: randy@corvette: mspdebug/0.24$ ./mspdebug -U '001:010' rf2500 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. Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc. Trying to open interface 1 on 010 rf2500: warning: can't detach kernel driver: No data available Initializing FET... rf2500: can't send data: Resource temporarily unavailable fet: open failed Trying again... Initializing FET... rf2500: can't send data: Resource temporarily unavailable fet: open failed After I plug the Launchpad into USB, dmesg shows: [80373.763698] usb 1-9.3: USB disconnect, device number 10 [80387.054044] usb 1-9.3: new full-speed USB device number 11 using xhci_hcd [80387.363746] usb 1-9.3: New USB device found, idVendor=0451, idProduct=f432 [80387.363749] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [80387.363751] usb 1-9.3: Product: Texas Instruments MSP-FET430UIF [80387.363752] usb 1-9.3: Manufacturer: Texas Instruments [80387.363753] usb 1-9.3: SerialNumber: FEFF467AF9CB2548 [80387.389816] cdc_acm 1-9.3:1.0: No union descriptor, testing for castrated device [80387.389829] cdc_acm 1-9.3:1.0: ttyACM0: USB ACM device [80397.690445] hid-generic 0003:0451:F432.000A: usb_submit_urb(ctrl) failed: -1 [80397.690462] hid-generic 0003:0451:F432.000A: timeout initializing reports [80397.696344] hid-generic 0003:0451:F432.000A: hiddev0,hidraw4: USB HID v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on usb-0000:03:00.0-9.3/input1 I've installed and activated the udev rules in /etc/udev/rules.d/71-ti-permissions.rules This feels like a driver problem to me. I haven't been able to find any information on what drivers are used, just vague and unhelpful statements like 'if you are running a current version of Linux it probably has the correct drivers already installed.' I've tried running as root to bypass any permissions issues with no change in results. I've installed energia, it uses mspdebug for it's connection so it gives the same result. I've run out of things to try. The MSP430 is a nice processor to work with but if I can't get the tools to work I'll have to pick a different MCU. Thanks All Randy
  4. It seems this is the problem that will never go away. I am asking here because anything on Google appears to be many years old, and I don't know if patches were applied to the Linux code base in that time or not. My Linux version (from /proc/version): "Linux version 4.9.56 (gleepy@clyde) (gcc version 6.3.0 (GCC) ) #1 SMP Sun Oct 15 14:54:08 EDT 2017" as an x86_64 system with no 32 bit libraries anywhere, I am causing the cdc-acm module to be loaded when either Launchpad is attached: two /dev/ttyACMx ports with the MSP-EXP430FR5994, as is expected; one with the '430G2. The '430G2 has its TXD/RXD jumpers oriented horizontally for hardware serial communication. I have no issues with using mspdebug rf2500 to flash and verify any code I compile with MSP430 GCC. When flashing noForth onto the board, there was absolutely no communications with the computer when running minicom 2.7.1 at the recommended settings of 9600 baud, 8 bits, no parity, 1 stop, and no flow control. None. Even when I followed some old advice of using the stty command to set the speed and flush the port immediately after plugging in the Launchpad. Even the "out of the box" firmware on the '430FR5994 will not communicate with the GUI program which is run. No indication of any extant serial ports show up on the selector in the GUI program. This does not appear to be a privilege or permissions issue as even as root, the communications problems exist. Since people seem to be able to use the Launchpad with Linux to invoke serial communications, as it is implied in the TI documentation and what the noForth people say. Therefore, there exists a set of users which do not have this communications problem. Could it be a lost cdc-acm patch that was supposed to work its way to the Linux maintainers and had gotten lost in code checkins?
  5. Hello, I need some guidance on Programming MSP-EXP430G2 Launchpad using Energia on Linux OS. This is the first time I am using energia. The main objective for using energia is to be able to program/debug MSP-EXP430G2 Launchpad in Linux environment (as CCS 6.0 does not support MSP-EXP430G2 Launchpad on linux) Guidance needed for: Kindly guide me on how can I get things working in usermode. Specially, I would like to be able to 1. pass any argument while my code is running in the device (equivalent to scanf/getc/getchar in C programming). 2. Print information while my code is running in the device (equivalent to printf/putc/putchar in C programming). System Information: Launchpad: MS-EXP430G2 Rev 1.5 $ uname -a Linux Home 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ lsusb Bus 002 Device 008: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool $ dmesg [ 2652.200025] usb 2-9: new full-speed USB device number 9 using ohci_hcd [ 2652.445202] cdc_acm 2-9:1.0: This device cannot do calls on its own. It is not a modem. [ 2652.445207] cdc_acm 2-9:1.0: No union descriptor, testing for castrated device [ 2652.445231] cdc_acm 2-9:1.0: ttyACM0: USB ACM device [ 2662.504177] generic-usb 0003:0451:F432.0005: usb_submit_urb(ctrl) failed [ 2662.504188] generic-usb 0003:0451:F432.0005: timeout initializing reports [ 2662.504371] generic-usb 0003:0451:F432.0005: hiddev0,hidraw3: USB HID v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on usb-0000:00:02.0-9/input1 $ more /etc/udev/rules.d/46-TI_launchpad.rules #MSP 430 Launchpad #Bus 002 Device 005: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool SUBSYSTEMS=="usb", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f430", MODE="0660", GROUP="plugdev" SUBSYSTEMS=="usb", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", MODE="0660", GROUP="plugdev" $ ls -al /dev/ttyACM0 crw-rw---- 1 root dialout 166, 0 May 3 10:14 /dev/ttyACM0 $ sudo service udev restart udev stop/waiting udev start/running, process 7856 $ ls -al /dev/ttyACM0 crw-rw---- 1 root dialout 166, 0 May 3 10:14 /dev/ttyACM0 $ groups adm tty cdrom sudo dip plugdev lpadmin sambashare home $ /opt/energia-0101E0012/energia IDE comes-up in usermode as well as sudo mode Current Status: In sudo mode Tools->Serial Port is active ans shows /dev/ttyACM0 selected Blink example can be loaded succesfully with following log:- Binary sketch size: 2,623 bytes (of a 16,384 byte maximum) Trying to open interface 1 on 009 rf2500: warning: can't detach kernel driver: No data available Device: MSP430G2553/G2403 Erasing... Programming... Done, 2624 bytes total In Usermode Tools->Serial Port is Greyed out Blink example can be loaded succesfully with following log:- Binary sketch size: 2,623 bytes (of a 16,384 byte maximum) Trying to open interface 1 on 009 Device: MSP430G2553/G2403 Erasing... Programming... Done, 2624 bytes total Current Issues: In sudo mode Serial Monitor window shows up without any error Following code does not show any output in Serial Monitor window or in status window of energia. void setup () { // initialize serial communications at 9600 bps: Serial.begin(9600); // Initialize the digital pin as output. // Pin 2:14 leds have connected: pinMode (14, OUTPUT); pinMode (2, OUTPUT); } void loop () { digitalWrite (14, HIGH); // Led on delay (600); // Wait 1 sec. digitalWrite (14, LOW); // LED off delay (1000); // Wait 1 second. digitalWrite (2, HIGH); // Led on delay (300); // Wait 1 second digitalWrite (2, LOW); // LED off delay (1000); // Wait 1 sec. Serial.print("Hi Abhaya"); Serial.println(300); } In Usermode Gives following error when Serial Monitor is invoked processing.app.SerialNotFoundException: Serial port '/dev/ttyACM0' not found. Did you select the right one from the Tools > Serial Port menu? at processing.app.Serial.<init>(Serial.java:165) at processing.app.Serial.<init>(Serial.java:92) at processing.app.SerialMonitor.openSerialPort(SerialMonitor.java:209) at processing.app.Editor.handleSerial(Editor.java:2630) at processing.app.Editor$20.actionPerformed(Editor.java:777) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3311) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  6. I'm developping some codes with Energia or TI CCS for the TI LaunchPad MSP-EXP430G2, v1.4 and v1.5, with G2553 and G2452 chips. I organize DIY workshops. I'm playing with various computers, I enumarate them: 1x W7Pro32, 1x W7Starter, 1x W8.1x64, 1x TP-Link TL-MR3020+OpenWrt, 1x TP-Link WR710N+OpenWrt. Nothing is going right with serial, only my old W7Pro32 can read/write thru the USB serial ! Even my 2 OpenWrt TP-Link can't communicate ! If I play with some Arduino in place of TI LaunchPad, all USB serial is working fine (except the known reset problem of Arduino USB serial). Yesterday evening, I played a lot with a TI LaunchPad and my W8.1x64. I discovered that sometimes, the serial USB could communicate ! That's after a lot of stress of the serial settings. I used PuTTY to receive something. The G2553 program was continualy sending 1 character every second. After changing the "Flow control" in PuTTY/Settings/Connection/Serial a lot of times, changing from XON/XOFF to RTS/CTS to /DTR/DSR, in any order, and typing a lot of ^S,^Q,... sentences, the TI Launchpad would finally communicate ! As soon as the USB serial communicates, I can deselect the "Flow control" (can be any) to "none". But never unplug the USB else... What is wrong in the firmware ?
  7. Hi, I have a MSP-EXP430G2 Rev. 1.4 with ....G2231 installed. I have disconnected the on-board emulator supply by removing the J3-VCC jumper. All info on the web and TI literature that I have found so far state that to power up the MCU, I must provide a 47K pull up from RST to VCC (3.6V). The schematic for the Launchpad indicates that the pull up is actually on the board already. Whether I assume that the on-board pull up is really there or connect my own external resistor, the mcu will not power up and begin execution. The only thing that seems to work is to tie RST directly to VCC. Can anyone provide insight into my apparent misunderstanding of the circuit operation. Thanks in advance for you help. Gordon
  8. A friend, knowing that I'm interested in microcontrollers, gave me an Energia tarball along with the TI Launchpad MSP-EXP430G2 to play with on my Centos 6 laptop. At the moment, I'm executing the sample programs but the serial port is grayed out and therefore not installing correctly - so - looking for help - I first looked for an nntp USENET newsgroup - but, not having found one, I found this nice forum site instead. This seems to be the place to ask questions (this post is NOT a question!). So, in summary, looking for help is why I created this account - but that's not the purpose of this thread - which is simply to introduce myself. Hi, I'm brand new to both Linux and to the TI Launchpad - but I'm sure happy to try Energia out on Centos 6 with the MSP-EXP430G2. I'm usually a good forum citizen, posting detailed threads, with good titles and taking care to punctuate and spell properly (Am. English) - and most importantly - I generally take the time to include a picture and to update my results - and - when I get good enough - to edify others by writing DIYs and HOWTOs so that they don't have the same problems that I've had. I'm all for "paying it forward" and for "standing on others' shoulders" to improve the steps so that the NEXT person has an easier time doing the same task. That makes me worth spending effort on (i.e., investing in me), and, to pay you back, I will invest in the next user (when and if I can, of course). But, that's for later - as I don't know ANYTHING about Energia and the Launchpad just yet - since both were just handed gratis to me today. I do realize that, being on Centos, I'm probably in the minority, so, over time, I hope we can help other Centos users have the same experience with Energia on the MSP-EXP430G2 as Ubuntu users would. Here's a picture of my current setup:
  • Create New...