Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


pjkim last won the day on February 7 2014

pjkim had the most liked content!

About pjkim

  • Rank
    Level 1

Profile Information

  • Gender
    Not Telling
  • Location
    Los Angeles
  1. @@veryalive Thanks for the information. I tried doing what you mentioned. I have a mac so the corresponding directory appears to be: /Applications/ti/ccsv6/eclipse/plugins/com.ti.ccstudio.buildDefinitions.GNU_6.1.1.201512011200/resources/buildDefinitions/msp430 I placed the unzipped file there and restarted CCS. One thing I realized is that you don't get an error if you use the parent directory to bin, i.e. /Applications/ti/gcc. Regardless, I tried both ways (/Applications/ti/gcc/bin (error re compiler not found) and /Applications/ti/gcc (no error)). Either way, GCC-5 does not appear.
  2. BTW, the "Submit a comment" section appears to be broken. I tried using Safari, Chrome, and FF. Each time, the captcha was the same and each time I got the same error message "Error: Time limit is exhausted. Please enter CAPTCHA value again. Click the BACK button on your browser, and try again." Either that or I got the math (8-x=4) wrong.
  3. How do I get Code Composer Studio (mac beta version) to use the new compiler? I tried right clicking a project, Properties->General->Compiler version and in the "Select Compiler Version" window selecting "Select new compiler from file-system" browsing to /Applications/ti/gcc/bin which contains msp430-elf-gcc and all the other goodies. I however get an error message "No compiler selected! Please select a directory that contains the compiler for the MSP430 device-family."
  4. I've been working on a project that uses both OneWire and Serial protocols. I realized that I could send serial data from the MSP430FR4133 launchpad to the computer and use the OneWire to read temperature data. I could not however send serial data from the computer to the launchpad when using OneWire. If OneWire was not used, serial data went both ways without a problem indicating an incompatibility between the OneWire and Serial libraries. I tracked it down to a call to ds.reset() as the problem. Looking at the source for the OneWire.reset() function in OneWire.cpp, there was a suspicious
  5. I received the target board and MSP430FR6989s yesterday. After figuring out how to seat the chips in the ZIF holder (took an embarrassingly long time), I hooked it up to the MSP-FET. I was hoping in the back of my mind that the "MSP430: Trouble Halting Target CPU: Internal error" messages would go away when I switched to full JTAG from Spy-Bi Wire. No such luck. I am still getting the error messages. Trying to track this down, I tried installing the latest MSP430.dll drivers from http://processors.wiki.ti.com/index.php/MSP430_JTAG_Interface_USB_Driver CCS6.0.1 is supposed to have the l
  6. I received my packages in the reverse order-- MSP-FET first followed by the target board/chips a few days later. I have to admit that it took me a long time to figure out how the ZIF holder works! I have only used DIP ZIFs so far-- the ones with a lever on the side. I kept pushing the frame down and wondering how I get it to latch. Yes, I finally figured it out but it took a long time.
  7. No difference with sudo. I am running the latest version of VirtualBox. I updated virtualized CCS6 to latest version (6.0 to It was somewhat of an ordeal because of how I deleted/uninstalled CCS5.5 previously. I had to reinstall CCS5.5 and then run the uninstaller before CCS6 would update). After updating CCS6, it no longer wants to update the firmware-- it now configures the debugger correctly when I start a debug session. I assume there was a change in the MSP-FET driver from 6.0 to 6.0.1. Problem is that I am still getting the "MSP430: Trouble Halting Target CPU: Intern
  8. I received my MSP-FET yesterday-- thank you TI! I was so excited to try out everything. I was deflated to find out that my package only contained the programmer-- hopefully the target board and MSP430FR6989s will arrive soon. It almost felt like Christmas morning-- only to find out the batteries were not included! I wanted to test out my new toy so I hooked up the MSP-FET to some MSP430 chips I hand nearby. I hooked up the MSP-FET to a MSP430G2231 and started Energia on Mac OS X 10.9.4. Although the MSP-FET is seen by the OS, I can't seem to connect to it. On System Info, the vendor/produc
  9. Yes, I am using a L298N dual H bridge motor driver. From what I can gather from the datasheet, I can utilize the ESI to decode one quadrature encoder. I want to drive at least two axes so I can control X and Y. After sorting out the programming/ESI issues, I am planning to solder the MSP430FR6989 onto an LQFP100 adapter board so I can use two at a time. Something like http://www.dx.com/p/multi-function-v116-lqfp-tqfp32-44-48-64-80-100pin-to-dip-adapter-boards-green-2-pcs-217452#.VBCv_UtqJ6E Can't wait to try this out.
  10. I have been interested in making a servo motor controller. I wanted a microcontroller with a hardware quadrature encoder so when TI had a call for projects utilizing the Extended Scan Interface of the MSP430FR6989, I thought this might be a good fit. Servo motors have several advantages over stepper motors including increased torque, lower power consumption, feedback control to eliminate missed steps. The problem is that servo motors are rather expensive compared to stepper motors. I obtained several surplus double-shafted, coreless DC motors with planetary gearboxes for $14. They turn eas
  11. I have been working on a servo motor project. I fabricated a quadrature encoder and affixed it to a double shafted coreless motor with a planetary gearbox. The coreless motor is rather nice because of its efficiency-- turns easily with a single worn out AA battery measuring 1V, but can be driven at up to 24V for more power (for short periods). I want to use this in projects where stepper motors are not a viable alternative because of their high power consumption. The encoder is working and I have proper quadrature signals coming out. I am trying to decide on a microcontroller to read the
  12. Use a voltage divider. See http://en.wikipedia.org/wiki/Voltage_divider#Resistive_divider You can select R1 and R2 so that Vout never exceeds 3.3V. I would pick R1+R2 to be ~50K ohms or so. R2 needs to be the smaller value. If you want, you can connect a diode and resistor to the 3.3V rail to clamp errant voltages for further protection.
  13. Sorry I misunderstood you question(s). Not familiar with "chording" scheme, but chose the values for the individual buttons to be as intuitive as possible for non-geek types. You do lose some dynamic range (1 to 6 vs 1 to 7) and introduce some redudancy to numbers (can do 3 with single key or 1 and 2 together) but I thought the tradoff was worth it to keep it as non-geeky as possible. And also the fact that most people don't subitize more than 5 or 6. As for systematically checking whether I get the same answer compared to a traditional tally counter, hadn't really crossed my mind-- co
  14. Yes, yes it does. It works well and with the msp430 staying predominantly in LPM4, a set of button cells will last for years. The counts are not an approximation-- they are dead on accurate. A button press gives you exactly how many counts you would expect. Concurrent and/or overlapping button presses are also handled correctly. Slightly faster but a lot less tedious. My speed is slowly improving with use so will likely be considerably faster in the future-- sort of like touch typing vs hunt/peck. About 3-4 fold fewer keypresses. Takes some getting used to but once I did, the old m
  • Create New...