--- a/src/eric7/MicroPython/Devices/DeviceBase.py Sat Apr 01 15:38:31 2023 +0200 +++ b/src/eric7/MicroPython/Devices/DeviceBase.py Sun Apr 02 11:13:14 2023 +0200 @@ -1131,7 +1131,7 @@ res['flash_used_kb'] = res['flash_total_kb'] - res['flash_free_kb'] res['flash_free_pc'] = res['flash_free_kb'] / res['flash_total_kb'] * 100.0 res['flash_used_pc'] = res['flash_used_kb'] / res['flash_total_kb'] * 100.0 - except AttributeError: + except (AttributeError, OSError): res['flash_info_available'] = False try: