Part Number: MSP430F5438A
I am trying to make a simple system to program boards from the command line so UniFlash is not needed. I am running version 18.104.22.1680 of UniFlash. I create a "Standalone Command Line" package from within UniFlash. I take the uniflash_windows_64.zip and unzip it into a folder, run "one_time_setup.bat" then "dslite.bat", and DSLite (version 22.214.171.1246) always gives me the following error:
Executing Startup Scripts: MSP430Connecting...error: MSP430: Error connecting to the target: Unknown deviceFailed: Operation was aborted
I turned on logging in the dslite.bat batch file (-g blinker.log) and found the following in blinker.log:
0x000017EC 1201 3 MSP430 MSP C: MSP430_OpenDevice( MSP430F5438A, , 0, 0x0, 0 )0x000017EC 6084 3 MSP430 MSP R: MSP430_OpenDevice( MSP430F5438A, , 0, 0x0, 0 ) = -10x000017EC 6084 3 MSP430 MSP C: MSP430_Error_Number()0x000017EC 6084 3 MSP430 MSP R: MSP430_Error_Number() = 50x000017EC 6084 3 MSP430 MSP C: MSP430_Error_String( 5 )0x000017EC 6084 3 MSP430 MSP R: MSP430_Error_String( 5 ) = Unknown device0x000017EC 6084 3 MSP430 GTI R: GTI_CONNECT( 0x02666268 ) = 0xFFFFFFFF0x000017EC 6084 3 PERF I: GTI_CONNECT finished: 4.884457s wall, 0.000000s user + 0.000000s system = 0.000000s CPU (n/a%)
I can get the device to program from UniFlash itself, but I want to use the command line tool for production. From UniFlash, I get the following in the log (from ds.log):
0x000016A4 344603 3 MSP430 MSP C: MSP430_OpenDevice( MSP430F5438A, , 0, 0x0, 0 )0x000016A4 345270 3 MSP430 MSP R: MSP430_OpenDevice( MSP430F5438A, , 0, 0x0, 0 ) = 0
Why is DSLite failing and UniFlash succeeding? Is there a way to get the internal function "MSP430_OpenDevice()" to succeed from the command line through the DSLite tool? Please let me know.
In reply to James Evans:
In reply to Mike Ostrego:
James, I am going to try to attach the log from my trial with DSLite version 126.96.36.1995 and UniFlash Version: 188.8.131.522. Mike
Thank you for the additional information. I'm sure this will help our Tools team figure out what's going on. I've looped them in and am waiting for their feedback.
While we try to figure out the issue with the CLI package, another command line tool that we offer is MSP430-FLASHER. I used the following command to check the MSP-FET's firmware version using the command "MSP430Flasher.exe -i DETECT" executed in a terminal window while inside the MSPFlasher folder (for me it's C:\ti\MSPFlasher_1.3.15). If the firmware is too old, then MSP430-FLASHER may not show it. When executing the command above when the MSP-FET has an older firmware version, it will probably ask you to update the firmware.
You could try installing and using the latest MSP430-FLASHER to upgrade your MSP-FET's firmware and then try programming the MSP430F5438A. I've included the MSP Flasher's User's Guide below for your reference. Section 3 contains the available Triggers and Arguments, and Section 4 contains Exit Specifications. Section 7 includes several example commands for loading and executing code from a .txt file.
If you have any questions about the MSP430-FLASHER or encounter any issues, please let me know. Hopefully, this helps you move forward in your development.
MSP Customer Applications
I'll do that. If you have any other issues, don't hesitate to let us know.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.