for (int offset = 0; offset < len; offset += 0x100) {
link.printf("R %x\n", addr + offset);
byte[] reply = link.get_binary_reply(5000, 0x100);
for (int offset = 0; offset < len; offset += 0x100) {
link.printf("R %x\n", addr + offset);
byte[] reply = link.get_binary_reply(5000, 0x100);
action(0, image.data.length);
while (remain > 0 && !aborted) {
int this_time = remain;
action(0, image.data.length);
while (remain > 0 && !aborted) {
int this_time = remain;
return read_hexfile(base, (int) (bounds - base));
} catch (AltosNoSymbol ns) {
return null;
return read_hexfile(base, (int) (bounds - base));
} catch (AltosNoSymbol ns) {
return null;