Problem mit pybsl und dem MSP430 Universal BSL Interface

Gast #22714
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

Antwort schreiben

Hinweis: der ursprüngliche Beitrag ist mehr als 6 Monate alt. Bitte hier nur auf die ursprüngliche Frage antworten, für neue Fragen einen neuen Beitrag erstellen.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.