Hey.

Could you try reflashing the latest firmware. Including using the checkbox to wipe flash. And reupload and try the code again.

Thanks