Comments (6)
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.
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.
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.
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.
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.
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)
- DEBUG ERROR: Haven't got ASM to flash-pulse SBW. HOT 2
- Duplicate jtag430 app (easy, with patch) HOT 1
- Changing goodfet.bsl DEBUG flag changes program behaviour HOT 2
- pyserial setTimeout issue HOT 13
- Broken Pipe
- goodfet.monitor seems not working with facedancer21 HOT 1
- Facedancer OTG? HOT 1
- Stuck in loop in client/goodfet.nrf Autotune::selftune HOT 2
- Not possile to make facedancer21 build HOT 1
- USB Enumeration in OSX Fails
- Non existing attribute "device_vendor" HOT 1
- ccspi TX does not write the last byte to TX_FIFO HOT 5
- Unable to flash API Mote HOT 3
- goodfet42Can't open the port?
- make error HOT 2
- Question on CC2420 HOT 2
- Ubuntu 20.04 "No module named serial" HOT 2
- Chip ID is 0xffff, implying a wiring problem. HOT 11
- Support (possible) for board=eZ430U HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goodfet.