Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | How to write code to MCU?

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

How to write code to MCU? - Mike Simpson - Aug 4 13:25:29 2008

Question: How do I write a program to a target MCD (MSP430F2011) using a MSP-
FET430UIF so that it will run independently.

More inf:.Using Kickstart, I have written a program that runs well on the microcontroller
when connected to the USB-Debug-Interface, but now I want to let it free of the ribbon
cable umbilical. Simply disconnecting and shorting TEST/SWBTCK to ground doesn't
work, nor does there seem to be a big red button on screen saying "write code to MCU".
Please take pity on one who speaks Microchip PIC, but is dislexic in the world of the
MSP430.
Mike
DCA Design International Limited.
Registered number: 01995159.
Registered in England and Wales.
Registered office: 19 Church Street, Warwick, CV34 4AB.

This e-mail is communicated in confidence.
It is intended for the recipient only, and may not be disclosed further without the express consent of the sender.
If you receive this e-mail in error - please notify the sender immediately, return the original message, and destroy any copies.

Viruses - DCA Design International has taken every reasonable precaution to ensure that this message is virus-free.
However, we cannot accept liability for any damage sustained as a result of software viruses.
You are advised to scan all messages before opening.

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )


Re: How to write code to MCU? - Onestone - Aug 4 14:19:49 2008

Mike, unless you are runnin gin Simulator mode your code will be down
loaded to the micro. It executes from the micro when debugging. You can
easily check this in the options PROJECT-OPTIONS-DEBUGGER FET debugger
sould be selected, then under the FET debugger tab make sure verify
download is selected.

Other than that, applying power to the micro, once disconnected, will
run it. Shorting TEST won't do anything useful with a disconnected
micro. If you're writing in assembler the difference between a Debug
session and a run session is not huge. But in C there could be a lot of
differences. You should normally be able to run you're debug version
independently though. Once that is proven you can then generate a
runtime version of the code for download and test that.

Cheers

Al

Mike Simpson wrote:

>Question: How do I write a program to a target MCD (MSP430F2011) using a MSP-
>FET430UIF so that it will run independently.
>
>More inf:.Using Kickstart, I have written a program that runs well on the microcontroller
>when connected to the USB-Debug-Interface, but now I want to let it free of the ribbon
>cable umbilical. Simply disconnecting and shorting TEST/SWBTCK to ground doesn't
>work, nor does there seem to be a big red button on screen saying "write code to MCU".
>Please take pity on one who speaks Microchip PIC, but is dislexic in the world of the
>MSP430.
>Mike
>DCA Design International Limited.
>Registered number: 01995159.
>Registered in England and Wales.
>Registered office: 19 Church Street, Warwick, CV34 4AB.
>
>This e-mail is communicated in confidence.
>It is intended for the recipient only, and may not be disclosed further without the express consent of the sender.
>If you receive this e-mail in error - please notify the sender immediately, return the original message, and destroy any copies.
>
>Viruses - DCA Design International has taken every reasonable precaution to ensure that this message is virus-free.
>However, we cannot accept liability for any damage sustained as a result of software viruses.
>You are advised to scan all messages before opening.
>
>------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )