Fixed FlashDev class so address bounds could not go outside the min/max addresses for the device.