Thanks for the information.

I downloaded and installed version 2.3 of msp430-jtag and I still
receive the same error (on the MSP430F2012 board) ---

 An error occoured:
 Can't open interface: Could not reset device
 make: *** [jtag] Error 1

The MSP430F169 board still works. The MSP430F2012 board is a prototype
of a new design so it is possible that there is a PCB or assembly
error.

I believe my JTAG is wired correctly. I have wired the 14 pin connector
as follows ---

JTAG Pin    2012 Pin
     1        9   TDO/TDI/P1.7
     3        8   TDI/TCLK/P1.6
     4            VCC from the PCB
     5        7   TMS/P1.5
     7        6   TCK/P1.4
     8        11  TEST
     9            GND
    11        10  RESET


I will take a look at the timing tomorrow and compare it to SLAA149B.

Which parrallel port programmer are you using?
Do you have any pull-ups or pull-downs on pins P1.4-P1.7 or TEST?

Thanks for your help.

(* jcl *)

--
http://www.luciani.org

On 3/28/07, Chris Liechti <[email protected]> wrote:
John Luciani schrieb:
> I am trying to program an MSP430F2012 with msp430-jtag (version 2.0)
> and the Olimex parallel port programmer. I get the following error
> message ---
>
> An error occoured:
> Can't open interface
> make: *** [jtag] Error 1
>
> This JTAG setup does program my MSP430F169 board.
>
> I noticed in the 2012 datasheet that the JTAG TDO and TDI (pin 9) are
> multiplexed. The footnote states that the TDO or TDI function is
> selected by a JTAG instruction. How can I determine if the msp430-jtag
> is sending the appropriate instruction?

thats nothing special to the F20xx the mltiplexed pins are used when the
security fuse is burnt.

 > Is there anything else that
> needs to be done to program the 2012?

the 2013 works for me. but note that:
- the TI backend (default) does not support spy-bi-wire capable devices
on the parallel port
- only recent msp430-jtag have support for spy-bi-wire respectiveley 4
wire JTAG on these devices (in the mspgcc backend)

so you need to upgrade your installation but then you should be able to
programm with msp430-jtag --backend=mspgcc

spy-wi-wire itself is only supported with the TI USB adapters (or
compatible) and the TI backend. (there are 3rd party suppliers with give
you their own MSP430.dll which is compatible or they are compatible on
the USB side)

newer msp430-jtag have a backend help that prints a table with a
backend/connection compatibllity matrix (check the "--help")

> The TEST pin looks like it is being set properly. AFAIK this and the
> multiplexed TDO/TDI pin are the only differences between the
> JTAG on the 169 and the 2012.

there are timing restrictions. the pin must be pulsed for less than
100us so that the 4 wire JTAG is activated, without this it is in the
spy-bi-wire mode.  the mspgcc backend tries to generate this pulse, but
the non-realtime of the operation system can not guarantee that it works
(which means it can fail to get a connection, just retry. for me it
works most of the time without retries)

chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to