This type of BIOS flashing is dangerous and can brick a board.
Some are indeed similar enough you can do it with no ill-effect, others even if said to be about the same can lead to a board going bye-bye if you try it.
If you have the need to flash something from one to the other as the OP did I
seriouslysuggest getting one of these:
https://www.ebay.com/itm/NANO-USB-P...593344?hash=item3f2b8ce400:g:B6QAAMXQrNtR0sQZ
No need to worry about a bricked board via crossflashing/hotflashing with it and it's easy to use, got myself one of these sometime ago and it's been worth every penny spent for it and then some.
I don't know if it works on modern motherboards, but it works here on my classic 939 motherboard, but it's very high risk if you get it wrong.
Have new firmware on USB stick, boot into BIOS upto firmware update, but don't start it yet. Pull the BIOS chip out of the socket (do not power down motherboard) & insert "Any compatible BIOS chip" that fits the socket. Now press update firmware.
It must read update successful, if it does not, press reset, do not power down & repeat update firmware by going back into the BIOS until it reads successful.
NOTE: computer must never be power down until it reads a successful update.
It works for me first time. I can pull a BIOS chip from any computer & copy it for my motherboard or a similar motherboard. I have around six or seven spare BIOS chips for my motherboard & it work on near identical motherboards that have a small number of features missing, but BIOS chip that is flashed for other motherboard, you have to insert the correct BIOS chip for that motherboard in-order for it to function correctly.
This effectively is a BIOS COPY hack using your motherboard to reprogramme any BIOS chip that fit in the BIOS socket.
If you get a error after a successful update, just do a BIOS reset clear/load BIOS default & power down, this should clear the error & you should now have a spare BIOS chip.
To confirm everything is ok, just reflash it again in the normal way, their should be no errors whatsoever & new BIOS should be working as normal.
Just to make it clear, I don't know if this works on modern motherboards, but it always works first time on my 939 motherboard with no errors during reflashing.