Looking a little closer at the problem, this patch seems to fix the issue. 
However, it’s not thoroughly tested and I’m not sure whether it’s a valid fix:

$ svn diff -- avr.c
Index: avr.c
===================================================================
--- avr.c       (revision 1436)
+++ avr.c       (working copy)
@@ -361,7 +361,7 @@
     return avr_mem_hiaddr(mem);
   }

-  if (pgm->paged_load != NULL && mem->page_size != 0) {
+  if (pgm->paged_load != NULL && mem->page_size != 0 && mem->paged) {
     /*
      * the programmer supports a paged mode read
      */

Best regards,
Sven

Reply via email to