Chipcon RAM buffer execution info.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 24 Apr 2011 21:13:47 +0000 (21:13 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 24 Apr 2011 21:13:47 +0000 (21:13 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1011 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETCC.py
client/goodfet.cc

index 2427e03..9e135c1 100644 (file)
@@ -727,7 +727,7 @@ class GoodFETCC(GoodFET):
         print "Done.";
 
     def setup(self):
-        """Move the FET into the CC2430/CC2530 application."""
+        """Move the FET into the Chipcon 8051 application."""
         #print "Initializing Chipcon.";
         self.writecmd(self.APP,0x10,0,self.data);
     def CCrd_config(self):
@@ -745,17 +745,28 @@ class GoodFETCC(GoodFET):
         self.CClockchip();
     
 
-    CCversions={0x0100:"cc1110",
-                0x1100:"cc1111",
-                0x8500:"cc2430",
-                0x8900:"cc2431",
-                0x8100:"cc2510",
-                0x9100:"cc2511",
-                0xA500:"cc2530", #page 57 of SWRU191B
-                0xB500:"cc2531",
+    CCversions={0x0100:"CC1110",
+                0x1100:"CC1111",
+                0x8500:"CC2430",
+                0x8900:"CC2431",
+                0x8100:"CC2510",
+                0x9100:"CC2511",
+                0xA500:"CC2530", #page 57 of SWRU191B
+                0xB500:"CC2531",
                 0x9500:"CC2533",
                 0x8D00:"CC2540",
                 0xFF00:"CCmissing"};
+    CCexecbuf= {0x0100:0xF000,
+                0x1100:0xF000,
+                0x8500:0xF000,
+                0x8900:0xF000,
+                0x8100:0xF000,
+                0x9100:0xF000,
+                0xA500:0x8000,
+                0xB500:0x8000,
+                0x9500:0x8000,
+                0x8D00:0x8000,
+                0xFF00:0xF000} #missing
     CCpagesizes={0x01: 1024, #"CC1110",
                  0x11: 1024, #"CC1111",
                  0x85: 2048, #"CC2430",
index 8d403c2..f7574bc 100755 (executable)
@@ -155,7 +155,9 @@ client.serInit()
 client.setup();
 client.start();
 
-
+#REMOVEME
+client.halt();
+client.pokebyte(0xc7,0x08);
 
 if(sys.argv[1]=="carrier"):
     if len(sys.argv)>2:
@@ -184,7 +186,6 @@ if(sys.argv[1]=="reflex"):
             rssi=0;
         rssi=client.peek8(0xFE00,"xdata");
         print "Activated jamming with RSSI of %i, going again for another packet." % rssi;
-        #client.CCdebuginstr([0x02, 0xf0, 0x00]); #ljmp 0xF000
         client.resume();