3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

MSP430 Based Chronulator (using Launchpad chip)

Step 8Using "spy-by-wire"

Using \"spy-by-wire\"
«
  • IMG_3380.JPG
  • IMG_3390.JPG
"spy-by-wire" is a two wire interface to program the flash memory on the MSP430 microcontroller. It is available on the newer MSP430 chips, including all of the chips that can be used on the Launchpad. The two pins used in this interface are RST and TEST. We will also bring over the power connections, VCC and GND, from the Launchpad when we program.

Below is a picture of the connections required to use the "spy-by-wire" interface.

Programming Connections:
    1.  Disconnect the battery pack from the project board.
    2.  Connect jumper from Launchpad J6 terminal "Vcc" to project board Vcc test point.
    3.  Connect jumper from Launchpad J6 terminal "Gnd" to project board Gnd test point.
    4.  Connect jumper from Launchpad J2 terminal "TEST" to project board TEST test point.
    5.  Connect jumper from Launchpad J2 terminal "RST" to project board RST test point.
    note: All 5 jumpers of Launchpad terminal J3 should be in place.

When the two boards are connected in this manner, you can program the microcontroller while it is in the project board.  You use IAR Embedded Workbench KickStart just as you would if the whole project was on the Launchpad.

Since we are using a different voltage supply voltage (2.5V instead of 3.3V) in this project, you must break the connections when you are testing the project board. Note: If you are using 4 AA batteries and a 3.3V regulator I would still break the connections to be sure that voltage you use to calibrate the meters with is correct.  

Testing Project Board Connections:
    1.  Disconnect all four of the project board connections to the Launchpad.
    2.  Connect the battery pack to the project board.
    3.  Press the Reset button.    


« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
30
Followers
8
Author:Doug Paradis