Jump to content


  • Content Count

  • Joined

  • Last visited

  1. RohitGupta


    Just to add when designing voltage dividers use the resistor values pretty high to reduce loading effects and discharging (when sensing battery voltage).. I usually add a 0.1uF cap in parallel to the lower resistor (one whose one end is grounded).. It acts as a good snubber. Hope it helps Sent from my RM-914_im_india_269 using Tapatalk
  2. They look like pepper-mint candy! But i guess mbed is a very big community in itself and supposedly supported by ARM. So, i guess energia should be for TI boards itself. They are cheap though.. the M4 one has specs better than TIVA but it seems to be a re-routed Discovery.. one switch and one user Led. An RGB is a lot fun initially! The USB on it can also do pretty much the same what the TIVA can do. But compared to TIVA its cheaper 10.4USD vs 13USD. Plus gives arduino users headstart!
  3. Hi, Thanks a lot! Finally the IDE Showed up..I can compile all but those with serial dont show up on the Serial monitor and it gives the following error! Experimental: JNI_OnLoad called. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyACM0: File exists RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyACM0: File exists RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyACM0: File exists RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyACM0 processing.app.SerialNotFoundException: Serial port 'COM1' 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:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:374) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873) at java.awt.Component.processMouseEvent(Component.java:6288) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6053) at java.awt.Container.processEvent(Container.java:2045) at java.awt.Component.dispatchEventImpl(Component.java:4649) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Component.dispatchEvent(Component.java:4475) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227) at java.awt.Container.dispatchEventImpl(Container.java:2089) at java.awt.Component.dispatchEvent(Component.java:4475) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675) at java.awt.EventQueue.access$300(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:634) at java.awt.EventQueue$2.run(EventQueue.java:632) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119) at java.awt.EventQueue$3.run(EventQueue.java:648) at java.awt.EventQueue$3.run(EventQueue.java:646) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) at java.awt.EventQueue.dispatchEvent(EventQueue.java:645) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) You can see the screenshot as well! I also worked the other way around after spending the whole day trying to figure out the issue and configured geany to code MSP430 in just 3 keystrokes! Its here on my blog I think i am only left with the Serial Issue! TIA Regards, Rohit Update:I played with it , the IDE sort of Hangs and has to be killed. Dont know why? The Serial Port option is also unavailable as it its there but it doesnt get highlighted when i hover over it.
  4. Hi, I followed the above discussion and renamed all the files as mentioned and also installed openjre as mentioned. I have recently migrated to ubuntu (12.04 LTS 64Bit) from windows 7. On Windows its pretty straight to get energia running.. When i ran the command in terminal as energia/energia i got the following error: Exception in thread "main" java.lang.ExceptionInInitializerError at processing.app.Base.main(Base.java:122) Caused by: java.awt.HeadlessException at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:234) at processing.core.PApplet.<clinit>(Unknown Source) ... 1 more doing a version check for java i got rohit@rohit-Lenovo-H530:~$ java -version java version "1.7.0_51" OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) Then i sort of gave up and did it the old way by using mspgcc and mspdebug just to check if there was any issue with the installation of gcc/debug The program for blinky compiled and i had it flashed and debuged successfully. Thinking to get some serial running. I followed this: https://github.com/capnm/LaunchPad Then i got the error (:/) ** compile the cdcacm kernel modulemake -C /lib/modules/3.8.0-35-generic/build M=/home/rohit/LaunchPad/cdc-acm/fix-msp430lp-serial modulesmake[1]: Entering directory `/usr/src/linux-headers-3.8.0-35-generic' CC [M] /home/rohit/LaunchPad/cdc-acm/fix-msp430lp-serial/cdcacm.o/home/rohit/LaunchPad/cdc-acm/fix-msp430lp-serial/cdcacm.c: In function