Ender 3 v1.1.4 bricked ,,,Guide me to upload Hex file

I have recently problem in reading sd card in my Ender 3 v1.1.4 8 bit board, so I decided to upgrade the firmware using a arduino Uno…but unfortunately I bricked it
Now I have bought a Usbasp Avr Programming device to upload the Firmware,guide me to upload Hex file through the device

Install AVRdude,

avrdude -c usbasp -p m1284p -U flash:w:firmwarefile.hex:i
replace the name of the hex file of course.
And double check the six wires if you don’t use a pre-made cable, especially if MISO/MOSI are connected the right way round.