goodfet
13 years agoAdded basic AVR flashing support, and an associated avrdude patch
thequux [Tue, 16 Nov 2010 20:40:39 +0000 (20:40 +0000)]
Added basic AVR flashing support, and an associated avrdude patch

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@763 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoAdded the 'flash' verb to the goodfet.cc help.
travisutk [Sun, 14 Nov 2010 17:22:25 +0000 (17:22 +0000)]
Added the 'flash' verb to the goodfet.cc help.
This really should be abstracted somehow.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@762 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoAdded ATmega644P code from C.R.
travisutk [Wed, 27 Oct 2010 17:38:05 +0000 (17:38 +0000)]
Added ATmega644P code from C.R.
Is there a better AVR code database somewhere?

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@760 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoupdates to ADIv5, ARM7, AT91x40, and the flash modules M29W640GB. good stuff.
dodge-this [Mon, 25 Oct 2010 14:50:42 +0000 (14:50 +0000)]
updates to ADIv5, ARM7, AT91x40, and the flash modules M29W640GB.  good stuff.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@759 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agonew stuff for GoodFETADIv5
dodge-this [Mon, 18 Oct 2010 15:40:31 +0000 (15:40 +0000)]
new stuff for GoodFETADIv5

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@757 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoember toys not necessary here.
dodge-this [Wed, 13 Oct 2010 16:33:30 +0000 (16:33 +0000)]
ember toys not necessary here.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@756 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agomyriad of arm/adi additions. working on moving past arm7 into adiv5
dodge-this [Wed, 13 Oct 2010 16:19:50 +0000 (16:19 +0000)]
myriad of arm/adi additions.  working on moving past arm7 into adiv5

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@755 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoAdded ARM Chip ID database file in /reports. Add your ARM CHIP ID MEMORY ADDRESSES
theqlabs [Mon, 11 Oct 2010 23:55:31 +0000 (23:55 +0000)]
Added ARM Chip ID database file in /reports. Add your ARM CHIP ID MEMORY ADDRESSES

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@754 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBlock fetching for the Chipcon from XDATA/CODE memory.
travisutk [Fri, 8 Oct 2010 18:37:18 +0000 (18:37 +0000)]
Block fetching for the Chipcon from XDATA/CODE memory.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@752 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoProper block fetch.
travisutk [Fri, 8 Oct 2010 15:36:57 +0000 (15:36 +0000)]
Proper block fetch.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@751 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agosome fixes and additional toys for client-side
dodge-this [Fri, 8 Oct 2010 12:50:18 +0000 (12:50 +0000)]
some fixes and additional toys for client-side

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@750 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agosetting up for adiv5, the latest arm debug protocols
dodge-this [Fri, 8 Oct 2010 12:48:38 +0000 (12:48 +0000)]
setting up for adiv5, the latest arm debug protocols

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@749 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBlock reads in CC_READ_XDATA_MEMORY.
travisutk [Thu, 7 Oct 2010 22:18:42 +0000 (22:18 +0000)]
Block reads in CC_READ_XDATA_MEMORY.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@748 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBackward-compatible peekblock for Chipcon.
travisutk [Thu, 7 Oct 2010 22:18:05 +0000 (22:18 +0000)]
Backward-compatible peekblock for Chipcon.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@747 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoCommented some peek/poke commands and defined a blockwise peek.
travisutk [Thu, 7 Oct 2010 21:53:56 +0000 (21:53 +0000)]
Commented some peek/poke commands and defined a blockwise peek.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@746 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFixed GoodFETSPI by adding optional third argument to peek8().
travisutk [Wed, 6 Oct 2010 18:33:09 +0000 (18:33 +0000)]
Fixed GoodFETSPI by adding optional third argument to peek8().

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@744 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoForgot to include goodfet.adc (ADC10 client) in last commit.
scottlivingston [Wed, 29 Sep 2010 05:25:48 +0000 (05:25 +0000)]
Forgot to include goodfet.adc (ADC10 client) in last commit.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@737 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoAdd ADC10 application for sampling analog values.
scottlivingston [Wed, 29 Sep 2010 05:15:16 +0000 (05:15 +0000)]
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

13 years agoAdd note about another tested PIC target: PIC24FJ64GA002
scottlivingston [Sat, 25 Sep 2010 18:49:21 +0000 (18:49 +0000)]
Add note about another tested PIC target: PIC24FJ64GA002

New PIC app command: "reset".  Causes the PIC target to start!  This
is only useful in special cases and may be removed from the app later.

PIC client dictionary of known targets expanded to include several
PIC24FJxxGAxxx chips.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@732 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoTimeout is now a warning, rather than an error.
travisutk [Thu, 23 Sep 2010 19:58:52 +0000 (19:58 +0000)]
Timeout is now a warning, rather than an error.
The app won't exit on a timeout.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@731 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agocontinuing to improve arm support with AT91X40 and adding AT91SAM7
dodge-this [Wed, 22 Sep 2010 05:30:32 +0000 (05:30 +0000)]
continuing to improve arm support with AT91X40 and adding AT91SAM7

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@730 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoMore clocking tests, getting ready for an
travisutk [Sat, 18 Sep 2010 21:22:41 +0000 (21:22 +0000)]
More clocking tests, getting ready for an
info memory recovery script.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@725 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNearing 16-bit clock control data.
travisutk [Fri, 17 Sep 2010 20:44:38 +0000 (20:44 +0000)]
Nearing 16-bit clock control data.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@724 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoGetting closer on MSP430X2 support.
travisutk [Tue, 14 Sep 2010 17:06:38 +0000 (17:06 +0000)]
Getting closer on MSP430X2 support.
This just prints an error for those functions which are not yet implemented.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@723 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRetry on failed MSP430 JTAG entry.
travisutk [Tue, 14 Sep 2010 17:05:57 +0000 (17:05 +0000)]
Retry on failed MSP430 JTAG entry.
Fixes some headaches with MSP430X2, but unnecessary for MSP430 and MSP430X.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@722 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoMSP430X2 corrections.
travisutk [Sun, 5 Sep 2010 21:01:24 +0000 (21:01 +0000)]
MSP430X2 corrections.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@721 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoAT91x40 series of ARM7 microcontrollers supported. still no flash capability yet...
dodge-this [Sat, 4 Sep 2010 06:27:42 +0000 (06:27 +0000)]
AT91x40 series of ARM7 microcontrollers supported.  still no flash capability yet.  working on it.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@720 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agochipcon 1111 flash fixes, arm7 jtag fixes and improvements
dodge-this [Fri, 3 Sep 2010 17:00:20 +0000 (17:00 +0000)]
chipcon 1111 flash fixes, arm7 jtag fixes and improvements

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@719 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agotweak here, tie there
dodge-this [Tue, 31 Aug 2010 20:03:45 +0000 (20:03 +0000)]
tweak here, tie there

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@718 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoMoving GF40 to branches.
travisutk [Mon, 30 Aug 2010 19:46:52 +0000 (19:46 +0000)]
Moving GF40 to branches.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@715 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agotweak here, tie there
dodge-this [Sun, 29 Aug 2010 14:29:55 +0000 (14:29 +0000)]
tweak here, tie there

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@714 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoreadChunk (may replace readMem) is implemented, moving memory into regs then reading...
dodge-this [Sat, 28 Aug 2010 13:11:39 +0000 (13:11 +0000)]
readChunk  (may replace readMem) is implemented, moving memory into regs then reading the regs.  .67secs versus 4.0secs for pulling 32 words w00t!

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@713 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoimplemented ARMget_registers() using ldm from user mode. problem is it takes twice...
dodge-this [Sat, 28 Aug 2010 12:09:16 +0000 (12:09 +0000)]
implemented ARMget_registers() using ldm from user mode.  problem is it takes twice as long as just loading all the registers because register gets/sets are done in firmware.
about to revert it to the old method but wanted to save the work.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@712 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoARM mode set r15 fixed.
dodge-this [Sat, 28 Aug 2010 11:49:34 +0000 (11:49 +0000)]
ARM mode set r15 fixed.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@711 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoimprovements... except now arm mode set_register for r15 doesn't work right... prolly...
dodge-this [Sat, 28 Aug 2010 02:12:46 +0000 (02:12 +0000)]
improvements... except now arm mode set_register for r15 doesn't work right... prolly to do with fixing dclk timing issues.  never was set up the way the docs said to.  that must have been why it worked.
however, thumb to arm and arm to thumb work well... get/set regs in thumb mode work relatively well.
need to iron out get/sets and then fix offsets for halt/resume so we hit the right instruction on exit.  then work on the watch/breakpoints and continuing...
also need to work on the get/set multiple regs and then read/writemem of large chunks...  using multiple regs :)

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@710 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoomj, i can't believe i left this one out.
dodge-this [Sun, 22 Aug 2010 06:55:01 +0000 (06:55 +0000)]
omj, i can't believe i left this one out.
sheesh.  i'm stupid.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@706 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoreworking get/set_register() to write twice for sanity.
dodge-this [Sun, 22 Aug 2010 06:46:03 +0000 (06:46 +0000)]
reworking get/set_register() to write twice for sanity.
reading/writing registers now works in thumb mode...
still having difficulties switching to arm mode though.  problems showed up i think when fixing the read-memory timing through runtest/idle.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@705 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agolatest updates including GoodFETARM.py "DEPRECATED" message
dodge-this [Thu, 19 Aug 2010 15:26:30 +0000 (15:26 +0000)]
latest updates including GoodFETARM.py "DEPRECATED" message

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@704 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRemoved thickness note from GF40 schematic.
travisutk [Wed, 18 Aug 2010 17:39:40 +0000 (17:39 +0000)]
Removed thickness note from GF40 schematic.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@703 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoSupport for SparkFun nRF24L01 Dongle.
travisutk [Mon, 16 Aug 2010 22:47:36 +0000 (22:47 +0000)]
Support for SparkFun nRF24L01 Dongle.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@699 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNothing important.
travisutk [Mon, 16 Aug 2010 22:38:40 +0000 (22:38 +0000)]
Nothing important.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@698 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoGF40 is routed, will sleep on it and order in the morning.
travisutk [Sun, 15 Aug 2010 20:36:34 +0000 (20:36 +0000)]
GF40 is routed, will sleep on it and order in the morning.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@697 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoGF40 is routed, will sleep on it and order in the morning.
travisutk [Sun, 15 Aug 2010 20:32:07 +0000 (20:32 +0000)]
GF40 is routed, will sleep on it and order in the morning.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@696 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRouting GF40.
travisutk [Sun, 15 Aug 2010 18:47:49 +0000 (18:47 +0000)]
Routing GF40.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@695 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoForking GF40 from GF23.
travisutk [Sun, 15 Aug 2010 15:36:51 +0000 (15:36 +0000)]
Forking GF40 from GF23.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@694 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agox00t!
dodge-this [Fri, 13 Aug 2010 04:11:22 +0000 (04:11 +0000)]
x00t!
arm jtag on goodfet is a reality!
or at least most of the hurdles have been conquered.
ARMreadMem works now.  it turns out i was haphazardly running through RUNTEST/IDLE willy nilly, which was messing up the RESTART/BRKPT magic.

still todo:
* complete and test writeMem
* add flash-writing (may need to implement in specific subclasses)
* create goodfet.arm for command-line access
* prettify and complete GoodFETARM7, rename jtagarm7tdmi.h
* create specific subclasses for actual arm7 chips (at91r40008, at91sam7, etc...)

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@693 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agooops. here's the new code. old code will remain in jtagarm7tdmi.c for the time...
dodge-this [Thu, 12 Aug 2010 16:11:26 +0000 (16:11 +0000)]
oops.  here's the new code.  old code will remain in jtagarm7tdmi.c for the time being for reference.  will remove it later when any comments or other tidbits deemed of value are copied over.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@692 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agow00t! jtagarm7 committed and included in build.
dodge-this [Thu, 12 Aug 2010 16:09:59 +0000 (16:09 +0000)]
w00t!  jtagarm7 committed and included in build.
i need the one with the big gb's!

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@691 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agocleaning up jtag, jtag430, jtag430x2, jtagarm7tdmi includes
dodge-this [Wed, 11 Aug 2010 17:23:45 +0000 (17:23 +0000)]
cleaning up jtag, jtag430, jtag430x2, jtagarm7tdmi includes

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@690 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agojtagtransn reworked. testing looks good so far.
dodge-this [Wed, 11 Aug 2010 15:16:20 +0000 (15:16 +0000)]
jtagtransn reworked. testing looks good so far.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@689 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agostill working on it
dodge-this [Mon, 9 Aug 2010 12:35:27 +0000 (12:35 +0000)]
still working on it
about to rip out more functionity from embedded to python

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@688 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoupdates.
dodge-this [Fri, 30 Jul 2010 02:14:06 +0000 (02:14 +0000)]
updates.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@687 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agostill chugging away. place-holder. once again to the breach!
dodge-this [Wed, 28 Jul 2010 10:40:59 +0000 (10:40 +0000)]
still chugging away.  place-holder.  once again to the breach!

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@686 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoreadMem is my ass a kickin. why won't the arm micro restart and execute the pretty...
dodge-this [Tue, 20 Jul 2010 01:45:07 +0000 (01:45 +0000)]
readMem is my ass a kickin.  why won't the arm micro restart and execute the pretty little read instruction!?

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@683 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNHBadgeB support.
travisutk [Sun, 18 Jul 2010 00:52:42 +0000 (00:52 +0000)]
NHBadgeB support.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@682 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoSupport for newer firmware.
travisutk [Thu, 8 Jul 2010 21:49:39 +0000 (21:49 +0000)]
Support for newer firmware.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@681 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRunning.
travisutk [Thu, 8 Jul 2010 21:30:50 +0000 (21:30 +0000)]
Running.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@680 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agosetRadioChannel
travisutk [Thu, 8 Jul 2010 21:02:33 +0000 (21:02 +0000)]
setRadioChannel

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@679 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNeighbor count.
travisutk [Thu, 8 Jul 2010 21:00:41 +0000 (21:00 +0000)]
Neighbor count.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@678 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 pinout.
travisutk [Thu, 8 Jul 2010 20:20:46 +0000 (20:20 +0000)]
EM260 pinout.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@677 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBetter strange attractors graph of EM260 randtest.
travisutk [Thu, 8 Jul 2010 19:56:59 +0000 (19:56 +0000)]
Better strange attractors graph of EM260 randtest.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@676 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBetter RNG test.
travisutk [Thu, 8 Jul 2010 19:31:25 +0000 (19:31 +0000)]
Better RNG test.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@675 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFixed P4REN error that broke MSP430F1612 support."
travisutk [Thu, 8 Jul 2010 19:19:43 +0000 (19:19 +0000)]
Fixed P4REN error that broke MSP430F1612 support."

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@674 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agow00t! jtag arm is a reality on goodfet.
dodge-this [Thu, 8 Jul 2010 19:03:11 +0000 (19:03 +0000)]
w00t!  jtag arm is a reality on goodfet.
got getCPSR and setCPSR working.
working on memory reading/writing still.

about to strip the whole thing out of goodfet firmware code into python, leaving the goodfet firmware code must slimmer.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@673 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoMore EM260 code. RNG works only after another board has initialized the chip.
travisutk [Thu, 8 Jul 2010 19:00:22 +0000 (19:00 +0000)]
More EM260 code.  RNG works only after another board has initialized the chip.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@672 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFull commands, even when they contain 0xA7.
travisutk [Thu, 8 Jul 2010 18:38:04 +0000 (18:38 +0000)]
Full commands, even when they contain 0xA7.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@671 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRNG test.
travisutk [Thu, 8 Jul 2010 17:50:31 +0000 (17:50 +0000)]
RNG test.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@670 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 support is golden.
travisutk [Thu, 8 Jul 2010 17:42:15 +0000 (17:42 +0000)]
EM260 support is golden.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@669 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoReading status works.
travisutk [Thu, 8 Jul 2010 15:31:42 +0000 (15:31 +0000)]
Reading status works.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@668 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoReading status works.
travisutk [Thu, 8 Jul 2010 15:31:13 +0000 (15:31 +0000)]
Reading status works.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@667 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260spiversion() is stabilized.
travisutk [Thu, 8 Jul 2010 15:24:25 +0000 (15:24 +0000)]
EM260spiversion() is stabilized.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@666 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoCleaned up EM260 code, about to fork into separate module.
travisutk [Thu, 8 Jul 2010 14:57:24 +0000 (14:57 +0000)]
Cleaned up EM260 code, about to fork into separate module.
The SPI client was resetting just before every transaction.  This fix might break other code.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@665 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 client is finally showing signs of life!
travisutk [Thu, 8 Jul 2010 14:53:18 +0000 (14:53 +0000)]
EM260 client is finally showing signs of life!

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@664 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 extensions to SPI are almost ready.
travisutk [Thu, 8 Jul 2010 14:06:51 +0000 (14:06 +0000)]
EM260 extensions to SPI are almost ready.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@663 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFixed bug where first byte of EM260 response would be lost.
travisutk [Wed, 7 Jul 2010 20:37:53 +0000 (20:37 +0000)]
Fixed bug where first byte of EM260 response would be lost.
(No big deal for EZSP, but it cripples version checks.)

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@662 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 SPI support. Really needs to be cleaned up.
travisutk [Wed, 7 Jul 2010 20:19:59 +0000 (20:19 +0000)]
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

13 years agotrunk/hardware README
travisutk [Wed, 7 Jul 2010 15:32:14 +0000 (15:32 +0000)]
trunk/hardware README

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@660 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEM260 client.
travisutk [Wed, 7 Jul 2010 15:26:47 +0000 (15:26 +0000)]
EM260 client.
This is the SPI EZSP protocol, not the SIF debugging protocol.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@659 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoyay! it worked!
dodge-this [Tue, 6 Jul 2010 14:42:49 +0000 (14:42 +0000)]
yay!  it worked!
jtag arm was pretty much always working.  i simply wanted too much out of it.
i forgot to contemplate that debugging through jtag *is shellcoding* and needs
to be treated as if it is fragile... because it is.

writing to a register involves ldr rX [rY]
turns out, when rY is not word aligned, the contents of the data is shifted in funky ways...
weirder still, the rotating differed between r0-7 and r8-15.

solution?  use PC.  ldr rX, [r15] means the highest likelihood of having word-aligned register.
change PC at your own peril.  make sure it is word-aligned.

and all is well.

initial testing of reading from memory seems promising.  although, debugging in the process doesn't work *at all* because the python handler includes the debug messages as part of the data.

need to true up reading memory, writing memory, reading code, and reading/writing PSRs.

yay!

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@657 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoyay! getting there. still odd register bugs, but getting there with peek.
dodge-this [Mon, 5 Jul 2010 22:55:57 +0000 (22:55 +0000)]
yay!  getting there.  still odd register bugs, but getting there with peek.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@656 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoGoodFET JTAG ARM updates.
dodge-this [Mon, 5 Jul 2010 17:51:14 +0000 (17:51 +0000)]
GoodFET JTAG ARM updates.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@655 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNew ROM, AT24DF081
travisutk [Mon, 5 Jul 2010 17:27:15 +0000 (17:27 +0000)]
New ROM, AT24DF081

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@654 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoTurning Point patches.
travisutk [Mon, 5 Jul 2010 15:16:38 +0000 (15:16 +0000)]
Turning Point patches.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@653 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoProper checksumming.
travisutk [Thu, 1 Jul 2010 14:07:06 +0000 (14:07 +0000)]
Proper checksumming.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@651 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoEarly 25C32/64 client.
travisutk [Wed, 30 Jun 2010 09:08:06 +0000 (09:08 +0000)]
Early 25C32/64 client.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@650 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoSupport for sniffing Turning Point Clicker packets.
travisutk [Wed, 30 Jun 2010 09:06:59 +0000 (09:06 +0000)]
Support for sniffing Turning Point Clicker packets.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@649 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoHigher stopping voltage for glitch learning.
travisutk [Wed, 30 Jun 2010 01:00:15 +0000 (01:00 +0000)]
Higher stopping voltage for glitch learning.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@648 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFormatting in glitch.c
travisutk [Mon, 28 Jun 2010 15:01:16 +0000 (15:01 +0000)]
Formatting in glitch.c

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@647 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBetter glitching exploration.
travisutk [Sun, 27 Jun 2010 22:02:30 +0000 (22:02 +0000)]
Better glitching exploration.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@646 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoLowered max voltage threshold to 200 during learning phase, increased trial count...
travisutk [Sun, 27 Jun 2010 19:26:25 +0000 (19:26 +0000)]
Lowered max voltage threshold to 200 during learning phase, increased trial count to 30.
I need to make trial count independent, so that a first pass can be replaced by later, more thorough learning passes.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@644 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoTiming functions delay_ms, delay_us and delay_ticks now use Timer B.
scottlivingston [Fri, 25 Jun 2010 17:25:28 +0000 (17:25 +0000)]
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

13 years agoBetter glitching code, more portable than the old.
travisutk [Fri, 25 Jun 2010 16:32:41 +0000 (16:32 +0000)]
Better glitching code, more portable than the old.
I might have broken AVR glitching support.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@642 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBrought glitch app back. Might break lesser builds.
travisutk [Fri, 25 Jun 2010 13:42:09 +0000 (13:42 +0000)]
Brought glitch app back.  Might break lesser builds.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@641 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoNever a wordsize of 0.
travisutk [Fri, 25 Jun 2010 13:15:56 +0000 (13:15 +0000)]
Never a wordsize of 0.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@640 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoMoving glitcher away from AVR-specific calls.
travisutk [Thu, 24 Jun 2010 21:34:17 +0000 (21:34 +0000)]
Moving glitcher away from AVR-specific calls.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@639 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoBeginning CCSPI mode. Not nearly complete.
travisutk [Thu, 24 Jun 2010 21:26:33 +0000 (21:26 +0000)]
Beginning CCSPI mode.  Not nearly complete.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@638 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoRemoved P5REN element from goodfet.c
travisutk [Tue, 15 Jun 2010 03:05:27 +0000 (03:05 +0000)]
Removed P5REN element from goodfet.c
This was PIC code that broke some apps on the GF1x with the MSP430F1612.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@635 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFixed Port 5 bug, critical.
travisutk [Tue, 15 Jun 2010 02:28:00 +0000 (02:28 +0000)]
Fixed Port 5 bug, critical.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@634 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoFixed 2274 support.
travisutk [Tue, 15 Jun 2010 02:01:46 +0000 (02:01 +0000)]
Fixed 2274 support.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@633 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

13 years agoProper I/O ports with new firmware.
travisutk [Tue, 15 Jun 2010 01:52:23 +0000 (01:52 +0000)]
Proper I/O ports with new firmware.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@632 12e2690d-a6be-4b82-a7b7-67c4a43b65c8