Git Product home page Git Product logo

Comments (6)

travisgoodspeed avatar travisgoodspeed commented on July 17, 2024

Howdy Schuyler,

Could you send me a pull request to update the documentation for the more modern compiler?

Cheers from Pizza Rat City,
-Travis

from goodfet.

docprofsky avatar docprofsky commented on July 17, 2024

It is a bit more involved than just updating the documentation. There are some changes in the new compiler that require changes to the code and makefile.
You can see the changes I have made so far at docprofsky/goodfet:new-compiler-support

I am getting this error about a missing header, which I think may be from TI changing the headers.
lib/msp430f2618.c:5:23: fatal error: sys/crtld.h: No such file or directory

I used these environment variables to point TI GCC at the include directory. In this case ~/opt/ti/gcc is what I set the install directory to.
CFLAGS='-I ~/opt/ti/gcc/include/ -L ~/opt/ti/gcc/include/'

I used this document as a starting point for getting the compiler working.
http://www.ti.com/lit/ug/slau646a/slau646a.pdf

from goodfet.

finderman2 avatar finderman2 commented on July 17, 2024

Just wanted to bump this thread to see if any progress has been made. I recently assembled my own goodfet42 from parts, so I need to flash it from a clean source, I installed the TI compiler but can't seem to get the goodfet software to use it

from goodfet.

travisgoodspeed avatar travisgoodspeed commented on July 17, 2024

On Debian/Stretch, the code builds properly with the following packages. The error concerning sys/crtld.h is caused because msp430-libc is missing; perhaps it isn't included with TI's toolchain?

binutils-msp430 - Binary utilities supporting TI's MSP430 targets
gcc-msp430 - GNU C compiler (cross compiler for MSP430)
gdb-msp430 - The GNU debugger for MSP430
msp430-libc - Standard C library for TI MSP430 development
msp430mcu - Spec files, headers and linker scripts for TI's MSP430 targets
mspdebug - debugging tool for MSP430 microcontrollers

from goodfet.

finderman2 avatar finderman2 commented on July 17, 2024

I should have mentioned that I was trying this on a mac, I then tried it on an Ubuntu 16 machine (real not VM) and got a different error. It's seems like the goodfet program is timing out trying to send the password, is there anything on the hardware I should check? the TX/RX lights do work and blink, though the RX light doesnโ€™t seem to do anything when the program is sending the password (only TX)

from goodfet.

docprofsky avatar docprofsky commented on July 17, 2024

The issue of programming is probably related to the resetting of the MSP430. I had this issue on MacOS 10.10, thought it probably applies to most versions; I fixed it by installing the FTDI driver.

To build the firmware, I use these packages from MacPorts.

msp430-binutils
msp430-gcc
msp430-libc
msp430mcu

from goodfet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.