altoslib: Fix data fetching during flashing of cc1111-based devices
[fw/altos] / altoslib / AltosDebug.java
index 24a2593303c0f4bc16bbee37debaf73527208d83..a44eb12fc002fd93589ce4278b16c2ee26a5ce3f 100644 (file)
@@ -264,8 +264,8 @@ public class AltosDebug {
 
        public AltosRomconfig romconfig() throws InterruptedException {
                try {
-                       byte[] bytes = read_memory(0xa0, 10);
-                       AltosHexfile hexfile = new AltosHexfile (bytes, 0xa0);
+                       byte[] bytes = read_memory(0x00, 0x200);
+                       AltosHexfile hexfile = new AltosHexfile (bytes, 0x00);
                        return new AltosRomconfig(hexfile);
                } catch (IOException ie) {
                }