Based on your description it seems like your switch is stuck in boot mode. Also while performing software recovery steps you are getting error "Ping is not alive" which means there is no connectivity between the computer and your Switch.
To solve this issue please follow the below steps.
Please try the same troubleshooting steps by turning off the windows firewall. Here I share the guide on how to turn off windows firewall.
Good day, assuming you are using windows in my response.
First, a note:
ipaddr = 192.168.0.2
serverip = 192.168.0.2
gatewayip = 192.168.0.2
Your devices IP and the TFTP server you are attempting to contact are the same IP.
If you're running a TFTP server on a laptop, it will need to have a different IP, like 192.168.0.69, and the gateway address can be the same.
Once the TFTP server is connected to the out of band management ethernet port on the switch, you'll need to check which network interface is being used in windows, usually in network and sharing center\adapter options.
Once you've found the interface being used here, you'll have to change the IP and Gateway on that interface to a unique IP, like 192.168.0.69.
From there, you'll need to bind the ip being used to the TFTP server application you're using, it's application specific on exactly how to do that.
Once you've configured your TFTP server host and application, you'll need to change the target gatewayip and serverip addresses on your switch.
A very important note here:
If you are using a domain joined computer or workstation to host the TFTP server, there may be group policies that will prevent changing the firewall settings, or will simply reset them when you try to change them. You may have to unjoin the organization domain or tenant, update the group policy on the machine by opening a command prompt as an admin, and running 'gpupdate -force'
Restart the computer
If this was part of the issue preventing your devices from communicating, you should now be able to turn off the windows firewall and try again.