Update to add support for MSP430-GCC 4.6 which moved things around; - Use standard linker scripts, existing ones no longer work - Refer to MCUs as 'msp430fZZZZ' instead of 'msp430xZZZZ', the 'x' references no longer work - Rename lib/msp430xZZZZ to msp430fZZZZ to simplify compiling with new MCU name - Compiles clean against all platforms, tested against hardware for gf20, gf30, telosb, nhb12 git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1082 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
initial merge of donbfet code, sans changes to monitor/avr/spi git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1053 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Removed NOP for loop that breaks GCC4. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@910 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
A major refactor of the GoodFET firmware build system and apps to give better encapsulation and separation of code. Each app now has a struct containing meta data and handle fn hooks. The apps.h/.c are now autogenerated as well as a builddate.h containing the build date. The goodfet.monitor client has a new command: goodfet.monitor listapps [full] This walks the global apps list and lists out the apps compiled into the firmware as well as the date it was built. If the "full" option is given, it also prints out the description strings for each app. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@837 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
hooking up the goodfet.xscale code. it is minimal for now. it should be able to pull down the cpu id. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@829 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Add ADC10 application for sampling analog values. Currently only supports x2274 chip, as on GoodFET31 board. The sampled line is pin 5 of the JTAG header. The new app ID is 0x74. The corresponding client (Python script) is goodfet.adc The ADC10 app is NOT included in the default build. See comments in Makefile for what to add if you desire it. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@736 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
EM260 SPI support. Really needs to be cleaned up. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@661 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Timing functions delay_ms, delay_us and delay_ticks now use Timer B. This has been verified with a GF31 board (hence x2274 chip) and read/write/erase and dev ID extraction on dsPIC33FJ128GP710 and PIC24FJ64GA002 chips. Use of Timer B should work as specified on GF1x boards (hence msp430f161x chips) based on my (cursory) review of the MSP430x1xx family "user's guide." However note that this has still NOT been tested on hardware. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@643 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Chipcon SPI driver, in the works. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@631 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Moved monitor commands. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@543 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Forked SPI to NRF. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@520 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
WEAKDEFed ejtaghandle. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@504 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Proper self-calibration of the DCO. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@487 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Some handlers are now WEAKDEF'ed. Fixes missing arm7tdmi linking error. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@465 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Updates to ARM7TDMI JTAG app and optimizations for debughex() and added debughex32() for 32-bit longs git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@457 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
First addition of dsPIC33F/PIC24H chip family programmer! See README under firmware/apps/pic for details. Note that it has only been tested on dsPIC33FJ128GP708 (and x710) chips and lacks some functionality and documentation. Added optional timeout argument to GoodFET client class serInit method. This is passed along to the serial object. To build my dsPIC33F/PIC24H related app, define INSTALL_PIC_APP somewhere near the top of goodfet.c and add apps/pic/dspic33f.o to the firmware Makefile. Added new timing routines that use Timer A to count milliseconds, microseconds and clock ticks. These overshoot by a few instructions, and may need refinements as research demands. Fixed minor typos in comments of a few source files. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@452 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
JTAGARM7TDMI inclusion of handle function git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@413 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
dos2unix, smart card app. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@334 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Trying to clean up port. Not nearly complete. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@285 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
Unnecessary definition. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@284 12e2690d-a6be-4b82-a7b7-67c4a43b65c8