Glitching work.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 15 Feb 2010 01:59:19 +0000 (01:59 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 15 Feb 2010 01:59:19 +0000 (01:59 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@318 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/apps/avr/avr.c
firmware/apps/glitch/glitch.c

index 98d7566..b052272 100644 (file)
@@ -21,7 +21,8 @@ void avrsetup(){
 //! Initialized an attached AVR.
 void avrconnect(){
   //set I/O pins
-  avrsetup();
+  avrsetup(); //Cut this?
+  //delay(50);
   
   //Pulse !RST (SS) at least twice while CLK is low.
   CLRCLK;
index bdaa705..b5cd5bc 100644 (file)
@@ -65,8 +65,7 @@ interrupt(TIMERA0_VECTOR) Timer_A (void)
 
 
 
-u16 glitchH=0xfff, glitchL=0xfff,
-  glitchstate=2, glitchcount=0;
+u16 glitchcount=0;
 
 //! Glitch an application.
 void glitchapp(u8 app){