xyz ha scritto:Riesci a sapere con quale versione del kernel la board ha funzionato ?
Si, giustamente ieri ho contattato il mio conoscente a cui funziona la board.
Il kernel in uso sulla distribuzione Ubuntu 12.1 è 3.2.0-49-generic-pae.
Moderatori:
Paolino,
fairyvilje
xyz ha scritto:Riesci a sapere con quale versione del kernel la board ha funzionato ?
xyz ha scritto:La cosa strana è che non riesce a leggere il chip id e non riesce a trovalo tra quelli noti.
~ $ cat LibUsb.h | grep ST
const quint16 USB_ST_VID = 0x0483;
const quint16 USB_STLINK_PID = 0x3744;
const quint16 USB_STLINKv2_PID = 0x3748;
xyz ha scritto:C'è un errore di comunicazione tra la tua board e il programma, francamente non si riesce a capire se è colpa del kernel o di qualche altra incompatibilità hardware o software.
# $ ./qstlink2
(process:5252): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(process:5252): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(process:5252): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Verbose level: 2
(process:5252): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Info: Devices list loaded.
Info: Found an ST Link V2.
Info: Opening device...
Info: Device Open.
Error: Device not found!
Info: Disconnected.
# $
# $ dbus-monitor
Failed to open connection to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
$ ps aux | grep 5252
root 5252 2.2 0.5 59096 15880 pts/0 S+ 23:46 0:00 ./qstlink2
simo 5260 0.0 0.0 2720 788 pts/1 S+ 23:46 0:00 grep 5252

xyz ha scritto:Se il chip id è 0x4220 devi capire per quale motivo non viene letto correttamente.
xyz ha scritto:Comunicare con un AVR è molto più semplice rispetto a un ARM.
Visitano il forum: Nessuno e 15 ospiti