Skip to content

Instantly share code, notes, and snippets.

@gyaresu
Last active May 17, 2022 20:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gyaresu/7901e5a4a3348a5a2d37 to your computer and use it in GitHub Desktop.
Save gyaresu/7901e5a4a3348a5a2d37 to your computer and use it in GitHub Desktop.
GoodFET failure
====== Inexplicably it just worked... I think. Those ff's are fairly ominous =====================
pentoo ~ # goodfet.bsl --dumpinfo > info.txt
Use -h for help
Use --fromweb to upgrade a GoodFET.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
pentoo ~ # cat info.txt
@1000
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
q
pentoo ~ # goodfet.bsl --fromweb
Use -h for help
Use --fromweb to upgrade a GoodFET.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Checking for info flash... None.
Look at contrib/infos/README.txt for better performance.
Grabbing goodfet42 firmware from http://goodfet.sourceforge.net/dist/goodfet42.hex
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 2.13 (Device ID: f26f)
Program ...
25842 bytes programmed.
pentoo ~ # goodfet.monitor test
Performing monitor self-test.
Self-test complete.
=============== below here are the original failures ===========================
$export board=goodfet42
-----
$ goodfet.monitor info
GoodFET with f26f MCU
Clocked at 0x8f87
-----
TX/RX/LED flash solid while obviously doing tests
$ goodfet.monitor test all
Performing monitor self-test.
Self-test complete.
-----
$ goodfet.bsl --dumpinfo > goodfetinfo.txt
Use -h for help
Use --fromweb to upgrade a GoodFET.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Use -h for help
Use --fromweb to upgrade a GoodFET.
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Invoking BSL...
Transmit default password ...
Traceback (most recent call last):
File "/usr/local/bin/goodfet.bsl", line 1987, in <module>
main(0);
File "/usr/local/bin/goodfet.bsl", line 1942, in main
bsl.actionStartBSL(bslreset=reset)
File "/usr/local/bin/goodfet.bsl", line 1166, in actionStartBSL
self.txPasswd(self.passwd) #transmit password
File "/usr/local/bin/goodfet.bsl", line 1136, in txPasswd
wait=wait) #if wait is 1, try to sync forever
File "/usr/local/bin/goodfet.bsl", line 800, in bslTxRx
self.bslSync(wait) #synchronize BSL
File "/usr/local/bin/goodfet.bsl", line 759, in bslSync
raise BSLException(self.ERR_BSL_SYNC) #Sync. failed
__main__.BSLException: Bootstrap loader synchronization error (maybe you need -P)
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment