Forum: Mikrocontroller und Digitale Elektronik Problem mit pybsl und dem MSP430 Universal BSL Interface


von nobody0 (Gast)


Lesenswert?

Hallo,

mit dem Win-Programm "MSP430 BSL Programmer" kann ich einen MSP430 ohne 
Probleme flashen, aber mit pybsl kann ich einen MSP430 nur in einem 
Flash Emulation Tool, aber nicht in einem Flash Emulation Tool auf einer 
Euro-Platine mit einigen anderen Bauteilen. Deshalb habe ich die 
Versorgungsspannung des MSP430 und der restlichen Elektronik variiert, 
aber das brachte nichts (obwohl es unter Win immer ging).
Woran kann das liegen? Brauche ich spezielle Optionen für pybsl?

Hier sind die Fehlermeldungen:

> python /usr/local/msp430/pybsl/bsl.py --f1x -D --comport=0 -e
MSP430 Bootstrap Loader Version: 1.23
Use -h for help
debug level set to 1
python version: 2.2.1 (#1, Sep 10 2002, 17:49:17)
[GCC 3.2]
using serial port '/dev/ttyS0'Preparing device ...
Mass Erase...
Traceback (most recent call last):
File "/usr/local/msp430/pybsl/bsl.py", line 1227, in ?
main()
File "/usr/local/msp430/pybsl/bsl.py", line 1173, in main
for f in toinit: f()
File "/usr/local/msp430/pybsl/bsl.py", line 676, in actionMassErase
0xa506) #Required setting for mass erase!
File "/usr/local/msp430/pybsl/bsl.py", line 387, in bslTxRx
self.bslSync(wait) #synchronize BSL
File "/usr/local/msp430/pybsl/bsl.py", line 346, in bslSync
raise BSLException(self.ERR_BSL_SYNC) #Sync. failed
_main_.BSLException: Bootstrap loader synchronization error


> python /usr/local/msp430/pybsl/bsl.py -D --f1x --comport=0 -I test1.txt
MSP430 Bootstrap Loader Version: 1.23
debug level set to 1
python version: 2.2.1 (#1, Sep 10 2002, 17:49:17)
[GCC 3.2]
Ignored unknown field (type 0x03) in ihex file.
using serial port '/dev/ttyS0'Actions ...
Invoking BSL...
Transmit default password ...
Traceback (most recent call last):
File "/usr/local/msp430/pybsl/bsl.py", line 1227, in ?
main()
File "/usr/local/msp430/pybsl/bsl.py", line 1177, in main
bsl.actionStartBSL(usepatch=not unpatched)
File "/usr/local/msp430/pybsl/bsl.py", line 686, in actionStartBSL
self.txPasswd(self.passwd) #transmit password
File "/usr/local/msp430/pybsl/bsl.py", line 663, in txPasswd
wait=wait) #if wait is 1, try to sync forever
File "/usr/local/msp430/pybsl/bsl.py", line 387, in bslTxRx
self.bslSync(wait) #synchronize BSL
File "/usr/local/msp430/pybsl/bsl.py", line 346, in bslSync
raise BSLException(self.ERR_BSL_SYNC) #Sync. failed
_main_.BSLException: Bootstrap loader synchronization error
python /usr/local/msp430/pybsl/bsl.py -D --f1x --comport=0 -I test1.txt
MSP430 Bootstrap Loader Version: 1.23
debug level set to 1
python version: 2.2.1 (#1, Sep 10 2002, 17:49:17)
[GCC 3.2]
Ignored unknown field (type 0x03) in ihex file.
using serial port '/dev/ttyS0'Actions ...
Invoking BSL...
Transmit default password ...
Traceback (most recent call last):
File "/usr/local/msp430/pybsl/bsl.py", line 1227, in ?
main()
File "/usr/local/msp430/pybsl/bsl.py", line 1177, in main
bsl.actionStartBSL(usepatch=not unpatched)
File "/usr/local/msp430/pybsl/bsl.py", line 686, in actionStartBSL
self.txPasswd(self.passwd) #transmit password
File "/usr/local/msp430/pybsl/bsl.py", line 663, in txPasswd
wait=wait) #if wait is 1, try to sync forever
File "/usr/local/msp430/pybsl/bsl.py", line 387, in bslTxRx
self.bslSync(wait) #synchronize BSL
File "/usr/local/msp430/pybsl/bsl.py", line 346, in bslSync
raise BSLException(self.ERR_BSL_SYNC) #Sync. failed
_main_.BSLException: Bootstrap loader synchronization error

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.