AndrejaKo 1 Posted February 9, 2012 Share Posted February 9, 2012 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?). gatImmusepete 1 Quote Link to post Share on other sites
nuetron 64 Posted February 9, 2012 Share Posted February 9, 2012 Well, I don't know how in CCS, but in IAR: Click project->download->download active application. Quote Link to post Share on other sites
SugarAddict 227 Posted February 9, 2012 Share Posted February 9, 2012 Setup a TITXT or HEX build and use MSP430Flasher.exe in the post-build ? Quote Link to post Share on other sites
bluehash 1,581 Posted February 9, 2012 Share Posted February 9, 2012 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. Quote Link to post Share on other sites
SugarAddict 227 Posted February 9, 2012 Share Posted February 9, 2012 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. oPossum and bluehash 2 Quote Link to post Share on other sites
SugarAddict 227 Posted February 10, 2012 Share Posted February 10, 2012 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" oPossum 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.