Jump to content
Sign in to follow this  
moihussain

In-circuit programming problems with Jtag interface

Recommended Posts

I and a few friends of mine are working on a project for which we were required to design a PCB.

We designed it and made provisions for in-circuit programming using jtag as described inSLAU278F (MSP430 HARDWARE USER GUIDE) , page 25. The only changes we made were:

 

1> We connected pin 4 of JTAG to Vcc pin on our PCB.(This was as required by Note A in SLAU278F page 25).

2> We left pin 2 unconnected(Note A again).

 

While trying to load a program from CCS to the MSP on the PCB, we encounter an error saying that either the device is not recognized or not supported.

 

We use the MSP-FET430UIF tool to program and debug. It works fine while programming the msp with the target board(TS430PM64).

 

Any and all advice or suggestions are highly appreciated.

 

Hussain.

Share this post


Link to post
Share on other sites

Use your voltmeter and measure Vcc on your dev board. Does it have power?

 

This is how I interpret Note A:

If connecting pin 4, the programmer has to supply power.

If connecting pin 2, the dev board has to supply its own power.

 

The best way would be to get the schematic for the TS430PM64 board and copy the circuit to yours.

 

Does that help?

Share this post


Link to post
Share on other sites

Thanks zeke for your reply.

Use your voltmeter and measure Vcc on your dev board. Does it have power?

 

Yes, the PCB's supply is working and the voltage levels on the jtag pins were same as the corresponding pins on the target board(TS430PM64) except that pin 2 had Vcc and pin 4 was Gnd on the target board and the reverse on the PCB which was as expected.

 

This is how I interpret Note A:

If connecting pin 4, the programmer has to supply power.

If connecting pin 2, the dev board has to supply its own power.

 

Are you sure about this? I ask this because the notations and arrow indications on that page suggest the reverse. Pin 2's notation (Vcc TOOL) and the arrow suggest to me that the debugging tool(MSP-FET430UIF) will power the msp for programming it and pin 4(Vcc Target) suggests that the the target's(PCB's) supply must provide the power required for programming.

 

The best way would be to get the schematic for the TS430PM64 board and copy the circuit to yours.

 

We actually did copy the schematic in TS430PM64 board. This is in concurrence with page 25 of SLAU278F.

 

There seems to be some other problem. Something other than power which we aren't able to debug. Any suggestions?

Share this post


Link to post
Share on other sites

If you are using soldered perfboard (or breadboard), remove any power or ICs that may be connected to the msp socket (you should always have your msp in a socket on any soldered board). Then, check the resistance between the vcc, gnd, test, and reset terminals. I've often had problems with stray flux getting in-between and causing confusion with downloading/debugging.

 

Let me know if this is irrelevant.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×