Close
0%
0%

im-me messenger - 12 years later

let's see if all that code still works that's flying around

Similar projects worth following
but first we have to make a goodfet

managed to buy two with dongle even for far under 100 dollars / euros (it's all the same these days). 

  • trying to get the GoodFET running on mac

    davedarko08/05/2022 at 11:30 4 comments

    
    # download mps compilers
    brew tap tgtakaoka/mspgcc
    
    # prepare folders
    
    sudo mkdir /opt/homebrew/lib/msp430 /opt/homebrew/lib/msp430/lib /opt/homebrew/include/msp430 /opt/homebrew/include/msp430/include
    sudo chown -R $(whoami) /opt/homebrew/lib/msp430 /opt/homebrew/lib/msp430/lib /opt/homebrew/include/msp430 /opt/homebrew/include/msp430/include
    
    # run install 
    brew install libc-msp430 gdb-msp430
    

    https://exfil.co/2016/02/11/goodfet-on-os-x/ 

    Found a good starting point to talk with the MSP430, but sadly it runs into a weird bootloader password issue.

    goodfet.bsl -P ./goodfet.hex --fromweb
    Use -h for help
    Use --fromweb to upgrade a GoodFET.
    MSP430 Bootstrap Loader Version: 1.39-goodfet-8
    Invoking BSL...
    Transmit password ...
    Use -h for help
    Use --fromweb to upgrade a GoodFET.
    MSP430 Bootstrap Loader Version: 1.39-goodfet-8
    Invoking BSL...
    Transmit password ...
    Traceback (most recent call last):
      File "/usr/local/bin/goodfet.bsl", line 1987, in 
        main(0);
      File "/usr/local/bin/goodfet.bsl", line 1887, in main
        bsl.actionStartBSL()
      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 801, in bslTxRx
        rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
      File "/usr/local/bin/goodfet.bsl", line 480, in comTxRx
        rxHeader, rxNum = self.comRxHeader()        #receive header
      File "/usr/local/bin/goodfet.bsl", line 386, in comRxHeader
        if not hdr: raise BSLException("Timeout")
    __main__.BSLException: Timeout
    

    aha! So the tutorial uses a capital P where the flag should be a small p. Or not, maybe the password stuff is set somewhere else or while compiling. writing the ./prebuilt firmware worked.

    board=goodfet42 goodfet.bsl -p goodfet.hex

    Well that wasn't really a solution, but somehow I got it to except the firmware, probably by using the "fromweb" flag for it, where it wasn't confused by all that.

  • but first, we must build a goodFET42

    davedarko07/18/2022 at 19:44 0 comments

    Sure, I could try and do the same hard work that plenty people have done before me, do miserably and fail - or I could just try and get stuff from back then working. So within chip shortage I tried to get hold of the MSP chip that's featured on the GoodFET, a DIY JTAG and more probe, that isn't obtainable anywhere. Thankfully everything I needed was accessible and so I started redesigning the GoodFET in KiCad, swapped some parts and added rounded corners basically and ordered the boards at OSHpark. Why did I do that? Because all the tutorials from 2010 basically start with "connect your GoodFET to the im-me messenger" and well I need one then, of course.

View all 2 project logs

Enjoy this project?

Share

Discussions

Elliot Williams wrote 07/27/2022 at 12:53 point

If you get yours working, I'll bring mine to Congress and we can chat.  Or scan the lower bands.  Or...

  Are you sure? yes | no

davedarko wrote 07/28/2022 at 10:33 point

heck yeah congress :) or supercon :) Or both :)

  Are you sure? yes | no

sup wrote 07/27/2022 at 07:56 point

Ask yourself if a standard format wouldn't be better

  Are you sure? yes | no

davedarko wrote 07/28/2022 at 10:32 point

ask yourself if the GoodFET isn't a standard

  Are you sure? yes | no

tywy wrote 07/26/2022 at 18:31 point

this is feather format? https://learn.adafruit.com/adafruit-feather/feather-specification

  Are you sure? yes | no

davedarko wrote 07/27/2022 at 07:45 point

nopes, it's 0.8 x 1.9 inches instead of 0.9 x 1.8 inches :) 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates