Try to flash the miner using SD card.
I found whatsminer m3 documentation from their
support/help page and they have some guides of creating SD card recovery.
I don't know what is the whatsminer m3 control board model name but it looks like an H3 control board if not ZYNQ control board.
Check this guide "
Make SD card flasher/upgrader"
Check this for images/firmware:
https://drive.google.com/drive/folders/12MQqtbh1jNu20zBdxWYra4OdddnxQGvwYou can also check the documentation to other lists of how to flash the miner but the only thing that I know will work is flashing the miner with SD card.