This speeds up downloads to 93KB/s, which is starting to get usable.
send("swbreak+;");
}
}
+ send("PacketSize=131072;");
return end_packet();
}
set_privilege(PRV_M);
state.dpc = state.pc;
state.pc = DEBUG_ROM_START;
- debug = true; // TODO
+ //debug = true; // TODO
}
void processor_t::take_trap(trap_t& t, reg_t epc)
class DownloadTest(unittest.TestCase):
def setUp(self):
- length = 2**16
+ length = 2**20
fd = file("data.c", "w")
fd.write("#include <stdint.h>\n")
fd.write("uint32_t length = %d;\n" % length)