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 188.8.131.520 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 184.108.40.2066) 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 Mike Ostrego:
I'm sorry about the delay. The software team is still working to resolve this issue. Could you please try configuring the CLI package to use SLOW JTAG mode? I've attached a target configuration file (.ccxml) for the MSP430F5438A already configured for that mode (configured it using CCS). Using the cloud-based UniFlash tool, select the "Create Session From Existing Target Configuration File" option, choose this .ccxml file, click "Start", and then generate the CLI package.
Let me know if this works when you can, and thank you again for your patience.
MSP Customer Applications
In reply to James Evans:
I see that I didn't attach the .ccxml file. Here it is.
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.