I am running Windows 7 and am using CCS 5.1.1 to connect to an MSP-FET430UIF which is in turn connected to a privately designed board containing an MSP430F5529. I have been getting the above error message when I try to connect. A search on this forum came up with a solution to someone else's similar problem, where they were using an MSP430BT5190. The solution was provided by Andreas Dannenberg on 18-Jan-2012 as a zip file: SP_MSP430BT5190_Tue001_17_2012__11_16.zip. The zip file is dated/authored 01/17/2012 Florian Berenbrinker. Reading the enclosed pdf and txt files I get the distinct impression it will not work for other MSP430 devices. Is there a more general solution that works for all MSP430 devices and where can I get it? Regards, Harry.
That issue you are referring to (with the patch that Andreas provided) only applied to a small set of devices (the BT5190 and some particular 4xx parts) - I've been using CCS 5.1 myself to program F5529 target boards without any problems. Your issue is more likely being caused by some incorrect connection on your board - have you compared all of your connections against those laid out in the Hardware Tool's user's guide Figure 2-1 (4-wire JTAG) or 2-2 (Spy-bi-wire)?
Please click the Verify Answer button on this post if it answers your question.
Hi Katie, and thanks for your reply.
Before I designed my board I had looked at Fig 2-1 in the Hardware Tools User's Guide, but my design was actually based on another design I found on the TI website. As with Fig 2-1 in slau278, the TDO,TDI,TMS and TCK tracks are direct connections, but the RST/NMI connection is slightly different. There is a series resistor-capacitor net from the positive rail to ground and this is connected directly as you would expect to the RST/NMI pin on the MCU, but the connection to the JTAG RST pin is via a 220 Ohm resistor. That's the only difference. You can find the design I used in Fig 2-1 on page 65 of slau320d.pdf (MSP430 Programming Via the JTAG Interface). Since I trust TI design implicitly, I think the problem lies elsewhere.
Things you might like to comment on:
Thanks for any help/suggestions you can give me.
The design you referenced from slau320 is actually the design for the replicator tool, which is basically a custom JTAG programmer that you can make. For future reference the recommended configuration for the programming connections is to match Fig 2-1 from slau278, and to also check the recommended R and C values for the RST line against the recommendations in the user's guide for your part, in this case the 5xx user's guide table 1-3 "connection of unused pins".
I think the reason that the replicator design has that additional series resistor on RST is because it has a button on that line - you can see this in the schematic labeled as "S2". I think the series resistor is there so that pushing the button would not provide a direct short to ground. The series resistor is not needed for programming, but since it is on the replicator design it probably isn't going to interfere with your programming either. So you are likely encountering some other problem.
Did you connect the TEST pin? You listed the other JTAG pins (TDI, TDO, TMS, TCK) but you also need TEST connected to the FET tool program this device.
My next question is whether you are powering your board externally or from the FET tool, and which pin (2 or 4 on the JTAG header) you have connected to Vcc on the MSP430?
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.