problem mit pyJTAG bzw. GDB

OP #238997
Lesenswert?

Ich habe versucht pyJTAG unter Linux (Fedora Core 2) zum laufen zu
bringen. Das Programm spuckt aber leider eine Fehlermeldung aus:


[ebtschi@localhost ebtschi]$ msp430-jtag
/opt/cdk4msp/bin/msp430-jtag:10: RuntimeWarning: Python C API version
mismatch for module _parjtag: This Python has API version 1012, module
_parjtag has version 1011.
  import _parjtag
MSP430 parallel JTAG programmer Version: 1.3
Use -h for help

An error occoured:
Could not initialize the library (port: /dev/parport0)


Mit Zugriffsrechten hat es sicher nichts zu tun, als root habe ich das
selbe Problem. Das Device /dev/parport0 existiert auf jeden Fall.

Vielleicht irgendwas mit der Python-Version? Mit GDB-Proxy funktioniert
es aber auch nicht (ähnliche Fehlermeldung), also glaube ich dass es
eher mit dem Port-Device zu tun hat (ich kann mich da natürlich
irren).

Wäre toll wenn jemand eine Idee hätte was da sein könnte!
OP #239001
Lesenswert?

[ebtschi@localhost ebtschi]# msp430-gdbproxy --port=2000 --debug msp430

Remote proxy for GDB, v0.7.1, Copyright (C) 1999 Quality Quorum Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood

GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
use `--warranty' option. This is Open Source software. You are
welcome to redistribute it under certain conditions. Use the
'--copying' option for details.

debug:     msp430: msp430_open()
error:     msp430: Could not initialize device interface (1)

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren