> Currently, it would work for a flash at zero, and not at the end. The > proposed change would make it work at the end, and not at zero. A > hypothetical flash containing the zero address in its middle would not > work either way. I don't have immediate ideas of how to account for all > these possibilities, but the reset vector is near the end, and one may > expect that to be in flash.
a flash starting at 0 is a common case. How about: (addr <= c->base + c->size - 1) -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
