summaryrefslogtreecommitdiff
path: root/altoslib/AltosSelfFlash.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-18 22:00:13 -0800
committerKeith Packard <keithp@keithp.com>2013-12-18 22:00:13 -0800
commit3b13cc2ca035b13582cd2e59ba7286f872f43c6e (patch)
tree46ae87f7f5861be5ca947f3598b67a58a5617b9c /altoslib/AltosSelfFlash.java
parent408b0dea338147382e94717dab85b4a204e7bdf5 (diff)
altoslib: Remove some old debug printfs for self flashing
These aren't necessary anymore and just slow down flashing boards. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosSelfFlash.java')
-rw-r--r--altoslib/AltosSelfFlash.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/altoslib/AltosSelfFlash.java b/altoslib/AltosSelfFlash.java
index 327a90bd..3bf7ce41 100644
--- a/altoslib/AltosSelfFlash.java
+++ b/altoslib/AltosSelfFlash.java
@@ -58,7 +58,6 @@ public class AltosSelfFlash extends AltosProgrammer {
void write_memory(long addr, byte[] data, int start, int len) {
int b;
- System.out.printf ("write_memory %x %d\n", addr, len);
link.printf("W %x\n", addr);
link.flush_output();
for (b = 0; b < len; b++)
@@ -68,7 +67,6 @@ public class AltosSelfFlash extends AltosProgrammer {
}
void reboot() {
- System.out.printf("reboot\n");
link.printf("a\n");
link.flush_output();
}
@@ -115,7 +113,6 @@ public class AltosSelfFlash extends AltosProgrammer {
action(image.data.length - remain, image.data.length);
}
if (!aborted) {
- System.out.printf ("done\n");
action("done", 100);
}
close();
@@ -144,7 +141,6 @@ public class AltosSelfFlash extends AltosProgrammer {
}
private AltosHexfile get_rom() throws InterruptedException {
- System.out.printf("get rom\n");
try {
int base = AltosRomconfig.fetch_base(image);
int bounds = AltosRomconfig.fetch_bounds(image);
@@ -153,7 +149,6 @@ public class AltosSelfFlash extends AltosProgrammer {
hexfile.add_symbols(image);
return hexfile;
} catch (AltosNoSymbol none) {
- System.out.printf("no symbol %s\n", none.getMessage());
return null;
} catch (IOException ie) {
return null;
@@ -163,7 +158,6 @@ public class AltosSelfFlash extends AltosProgrammer {
public boolean check_rom_config() throws InterruptedException {
if (link == null) {
- System.out.printf ("no link\n");
return true;
}
if (rom_config == null) {
@@ -179,7 +173,6 @@ public class AltosSelfFlash extends AltosProgrammer {
}
public AltosRomconfig romconfig() throws InterruptedException {
- System.out.printf("fetch romconfig\n");
if (!check_rom_config())
return null;
return rom_config;
@@ -192,6 +185,5 @@ public class AltosSelfFlash extends AltosProgrammer {
this.listener = listener;
input = new FileInputStream(file);
image = new AltosHexfile(input);
- System.out.printf ("AltosSelfFlash %x\n", image.address);
}
} \ No newline at end of file