Have a try with this link. You can burn the firmware with a easier tool. https://m5stack.readthedocs.io/en/latest/get-started/how_to_burn_firmware_en.html