Jump to content
43oh

CCS5.1: How do I just program the microcontroller?


Recommended Posts

This one must have been answered somewhere, but Google isn't helping and I'm getting drowned in a sea of unrelated information.

 

So far my standard procedure when programming a MSP430 using a LaunchPad has been to fire up the CCS and use the debug button. That will at one point program the microcontroller and start debugging as expected.

 

What I don't seem to be able to do is o figure out how do I program the microcontroller without actually entering debug mode (is that even possible?).

Link to post
Share on other sites
What I don't seem to be able to do is o figure out how do I program the microcontroller without actually entering debug mode (is that even possible?).

There is no separate flash programmer. You will need to take the debug route for CCS.

 

MSP430Flasher.exe

Generating Binary Files with CCS

 

They link a gui tool on the binary file wiki page... but msp430flasher can be put into the post-build so that it's just "build and done". You can build on debug for testing and when you want to final program, change active build to your "ReleaseBuildFlash" build. :)

Link to post
Share on other sites

and to save you some hassle...

 

"${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe" --ti_txt "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.txt" -order MS -romwidth 16 & "${FLASHER_TOOL_ROOT}/MSP430Flasher.exe" -w "${PROJECT_BUILD_DIR}/${BuildArtifactFileBaseName}.txt" -v -g -z [VCC]

 

just define a custom variable FLASHER_TOOL_ROOT for the root directory of where you put the msp430flasher.exe, mine is: "F:/TI/MSP430 Flasher"

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...