This is using python 2.2 (as noted in the output below).  Going on the
assumption that somehow the _parjtag.so file is hosed, trying to rebuild it
in the /jtag directory has the error after the seconds set
of ----------------'s.  I made sure it's using python2 also, although it's
calling out python2.1 in the /usr/bin/env bang line.

        --John

------------------------------

[r...@linux analog]# ./jtag.py -D -e
MSP430 parallel JTAG programmer Version: 1.0
Use -h for help
debug level set to 1
python version: 2.2 (#1, Apr 12 2002, 15:29:57)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-109)]
Traceback (most recent call last):
  File "./jtag.py", line 472, in ?
    main()
  File "./jtag.py", line 468, in main
    jtag.close()                                    #Release serial
communication port
  File "./jtag.py", line 177, in close
    _parjtag.reset(1,1)
TypeError: function takes exactly 0 arguments (2 given)
[r...@linux analog]#

------------------------------

[r...@linux jtag]# make
cd hardware_access; make all;
make[1]: Entering directory `/home/msp430/jtag/hardware_access'
cd HILppdev -lHIL; make libHIL.a
make[2]: Entering directory `/home/msp430/jtag/hardware_access/HILppdev'
make[2]: `libHIL.a' is up to date.
make[2]: Leaving directory `/home/msp430/jtag/hardware_access/HILppdev'
make[1]: Leaving directory `/home/msp430/jtag/hardware_access'
cd funclets; make all;
make[1]: Entering directory `/home/msp430/jtag/funclets'
python ihex2c.py eraseFlash.a43 eraseFlash
  File "ihex2c.py", line 38
    ascii += (32 < value < 127) and chr(value) or '.'
           ^
SyntaxError: invalid syntax
make[1]: *** [convert] Error 1
make[1]: Leaving directory `/home/msp430/jtag/funclets'
make: *** [funclets] Error 2
[r...@linux jtag]#

-----------------------------
-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Chris
Liechti
Sent: Friday, October 25, 2002 18:10
To: [email protected]
Subject: Re: RE: [Mspgcc-users] JTAG MSP-FETP430IF status


Am 25.10.2002 17:10:12, schrieb "J.C. Wren" <[email protected]>:

>       Any ideas?  All the documentation in the /pyjtag talks about pyserjtag
>after the Requirement section.  Am I supposed to do something else besides
>copy the jtag.py and _parjtag.* files to my working directory?

that soule be fine,just make sure that you run a python2.x

>       Am I even using the right package?  The second error set is from 
> building
>whatever's in the /jtag directory.  I also tried switching in to the
>/jtag/python directory and building that.  No go.  Apparently there are 3
or
>4 different versions of python, and there somewhat non-interoperable?  I'm
>not a python person, so I'm a little in the weeds.  I do know that 1.52 and
>2.2 are installed on this system.  It seems the scripts want 2.1?

no they should run fine from 2.1 on and upwards. the error you quote, must
be from 1.5.2
you can probably change the first line in the script to "python2"

chris




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users



Reply via email to