Hello, it seems that the main microcontroller is in a permanent reset, or the bootloader is missing. At first - please check that the reset button is not stuck under the housing.
Hi....this sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.