hostsim and cob handling
[aversive.git] / projects / microb2010 / microb_cmd / microbcmd.py
index ff99e81..4e923c6 100755 (executable)
@@ -862,7 +862,7 @@ class Interp(cmd.Cmd):
         buf = f.read()
         addr = 0
         while addr < len(buf):
-            #time.sleep(0.1)
+            time.sleep(0.1)
             if check_crc(self.ser, buf, addr, SPM_PAGE_SIZE) == 0:
                 sys.stdout.write("*")
                 sys.stdout.flush()
@@ -884,12 +884,12 @@ class Interp(cmd.Cmd):
         filename = os.path.join(MICROB_PATH, "../mainboard/main.bin")
         self.bootloader(filename, 1)
 
-    def do_mechboard(self, args):
-        filename = os.path.join(MICROB_PATH, "../mechboard/main.bin")
+    def do_cobboard(self, args):
+        filename = os.path.join(MICROB_PATH, "../cobboard/main.bin")
         self.bootloader(filename, 2)
 
-    def do_sensorboard(self, args):
-        filename = os.path.join(MICROB_PATH, "../sensorboard/main.bin")
+    def do_ballboard(self, args):
+        filename = os.path.join(MICROB_PATH, "../ballboard/main.bin")
         self.bootloader(filename, 3)
 
     def do_toto(self, args):