Jump to content
43oh

AbhayaKumar

Members
  • Content Count

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AbhayaKumar got a reaction from energia in Programming MSP-EXP430G2 Launchpad using Energia on Linux OS   
    Thanks for all the support.
     
    I could successfully see the messages printed by my code on Serial Monitor window of eneergia running on my ubuntu 12.04 64-Bit machine. So far it seems to be working fine in user as well as sudo mode.
     
    Since I am a beginner, I may have taken some redundant steps and for sake of subsequent readers, it would be good if somebody can fine tune the same.
     
    Below are the list of steps taken by me:-
    1.    Since I have a 64-Bit machine, I choose 64bit version of shared library for /opt/energia-0101E0012/lib/librxtxSerial.so
                 This was done as suggested in http://www.itopen.it/2013/03/01/msp430-energia-on-linux
                 Now sure why this should be required for a well written code.
     
    2.    Changed the udev rule as suggested in http://www.itopen.it/2013/03/01/msp430-energia-on-linux/ (basically Mode and group)
    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="666",GROUP="dialout"
    SUBSYSTEMS=="usb",ATTRS{idVendor}=="0451",ATTRS{idProduct}=="f432",MODE="666",GROUP="dialout"
    Now sure why GROUP for /dev/ttyACM0 is stuck to dialout.
    3.   Changed cdcacm module as suggested by bi0tech in his last suggestion.
              The kernel source for 3.2.0.60-generic has changed and patch should be updated, as I had to manually search patterns and then edit the code. Thus, not sure whether I did the edits correctly.
×
×
  • Create New...