X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2FREADME.txt;h=1df8000c4955503aaf13cf0fe63403e5641ce8ea;hp=ea75e38b19b78763e71df3a57e4d1f40db082c2b;hb=f4a366d95f96109559f0903611d7103c50cde3f7;hpb=449640364dc1db2767ce30d3fb8b95bdaae119dd diff --git a/firmware/README.txt b/firmware/README.txt index ea75e38..1df8000 100644 --- a/firmware/README.txt +++ b/firmware/README.txt @@ -1,18 +1,24 @@ GoodFET Firmware -by Travis Goodspeed - +by Travis Goodspeed +and some damned good neighbors. -Requires MSPGCC and msp430-bsl. +Set $GOODFET to be the port of your GoodFET, such as +export GOODFET=/dev/cu.usbserial-* #Darwin +export GOODFET=/dev/ttyUSB* #Linux (Default) -Assumes MSP430F161x by default. Call for others by the following method, -recognizing that 2618 support is a rather recent addition and only works -in MSPGCC from CVS. +The target board must be specified. For example, +board=goodfet31 make clean install +board=goodfet41 make clean install +board=telosb make clean install -export mcu=msp430x2618 -make -e +We require at least msp430-gcc-4.4.5, but older versions might work if +you're lucky. +For faster startup times, it helps to write a static clock +configuration into the firmware. In the following example, the proper +DCO happens to be 0x8F8A. - -Some weird switches, -1) Build for a static DCO configuration. Useful for standalone firmware. -CFLAGS="-DSTATICDCO=0x8F9E" make clean all +pro% goodfet.monitor info +GoodFET with f26f MCU +Clocked at 0x8f8a +pro% board=goodfet41 CFLAGS='-DSTATICDCO=0x8f8a' make clean install