Hi @leoagro,
The M5Burner software can recover most things (we've all been there). I suggest start from the M5Stack website for your device to try bringing it back to basic functionality first i.e. take your Core back from Core2 firmware.
If you still have trouble post back here with the environment you used to flash the firmware, recovery steps taken, etc.