If I understand your original post correctly the motherboard was bricked when you tried to update BIOS - correct?
Or were you attempting to repair/recover an already bricked motherboard?
In either case, did you write the code? If not where did you get the code?
The ch341a may not be relevant or necessary. What was the original reason for chosing to use the ch341a.
Do you have some reference procedure that you can post as a link?
= = = =
This motherboard?
https://download.msi.com/archive/mnu_exe/mb/E7C81v1.2.pdf
[Do verify that I found the applicable User Guide.]
UEFI BIOS information and configuration is presented beginning on physically numbered Page 42
Were there any previous attempts to recover the motherboard by clearing CMOS, removing the battery, etc. per the motherboard's User Guide/Manual?