projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: fetch existing romconfig for flashing
[fw/altos]
/
ao-tools
/
altosui
/
AltosFlash.java
diff --git
a/ao-tools/altosui/AltosFlash.java
b/ao-tools/altosui/AltosFlash.java
index 0f92d6e7bf2ffb82d27fa31aa0fde7cb240e73d5..b70185558f974a6fe9fb94b7ebf10db4c1dd5258 100644
(file)
--- a/
ao-tools/altosui/AltosFlash.java
+++ b/
ao-tools/altosui/AltosFlash.java
@@
-247,6
+247,7
@@
public class AltosFlash {
int flash_addr = image.address;
int image_start = 0;
int flash_addr = image.address;
int image_start = 0;
+ action("start", 0);
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;
@@
-314,6
+315,8
@@
public class AltosFlash {
}
public AltosRomconfig romconfig() {
}
public AltosRomconfig romconfig() {
+ if (!check_rom_config())
+ return null;
return rom_config;
}
return rom_config;
}