This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Developing Software



Hello I have a DRV2603-EVM CT RevD CapTouch Board and a MSP430 Launchpad for developing.

I have 0 experience with anything like this, and these are my first boards.

I am assigned to build software to interact with the hardware. Like, I run a program on my computer, with the devices plugged in, and I can interact with them with my computer, via a command prompt or something along those lines, as opposed to loading modified firmware and testing on the boards themselves.

I'm a bit lost as to how to start doing this.

I would love some advice as to what direction I should go in.Or if this is even possible.

If I could figure out how to run a program that would display "Hello world" or something, and pressing a key would initiate an LED blink, or a vibration, or something, I would be really happy. I can make something more complex from there.

I'm a computer science intern in an electrical engineering department and I feel a bit lost.

Thank you for your time!

  • Lindsay Smith said:
    Like, I run a program on my computer, with the devices plugged in, and I can interact with them with my computer, via a command prompt or something along those lines, as opposed to loading modified firmware and testing on the boards themselves.

    So you don't want a progam running on the MSP that does the job but rather want to control MSP hardware functions using a PC terminal?

    If so, there are two approaches.

    First, you can write a software for the MSP that accepts comamnds form the PC serially, interprets them, does wha tthe command tells, and reports the result back.
    This is not an easy task for a beginner. On the PC side, you'd only need a temrinal program, like HyperTerm, to send the commands and receive the answers. But on the MSP side, you'll need to implement the communicaiton funcitons (UART send/receive), write a ocmmand interpreter etc.

    The other option is to uplaod a program to the MSp that doe snothing. (main(){while(1);})
    Then you attach the debugger to the MSP, stop teh endless while loop and directly control the hardware registers with the debuggers register view. This you can do almos tout-of-the-bix with no MSP coding experience. However, directly manipulating MSP register might be way to slow for some tasks. in this case: back to option one.
    It would be, however, sufficient for checkign the state of a pushbutton (not CapSense!) or switching the LEDs on and off.

**Attention** This is a public forum