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?
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?
--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 msp430]# cd jtag
[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'
cc -O -Wall -I.. -I../.. -c -o HIL.o HIL.c
ar rc libHIL.a HIL.o
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'
msp430-gcc -mmcu=msp430x1121 -D_GNU_ASSEMBLER_ -c -o blinking.o blinking.S
msp430-ld -T msp430xRAM.x -o blinking.elf blinking.o
msp430-objcopy -O ihex blinking.elf blinking.a43
msp430-gcc -mmcu=msp430x1121 -D_GNU_ASSEMBLER_ -c -o eraseFlash.o
eraseFlash.S
msp430-ld -T msp430xRAM.x -o eraseFlash.elf eraseFlash.o
msp430-objcopy -O ihex eraseFlash.elf eraseFlash.a43
msp430-gcc -mmcu=msp430x1121 -D_GNU_ASSEMBLER_ -c -o progFlash.o
progFlash.S
msp430-ld -T msp430xRAM.x -o progFlash.elf progFlash.o
msp430-objcopy -O ihex progFlash.elf progFlash.a43
msp430-objdump >eraseFlash.lst -DS eraseFlash.elf
msp430-objdump >progFlash.lst -DS progFlash.elf
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
rm progFlash.o progFlash.elf blinking.o eraseFlash.o blinking.elf
eraseFlash.elf
make[1]: Leaving directory `/home/msp430/jtag/funclets'
make: *** [funclets] Error 2
[r...@linux jtag]#