I assume flashing the BIOS is like flashing it on a normal computer. In that case, you may be able to download to your root dir and run the flashing program from a minimal startup.
However, some BIOS programs want you to use a boot disk, and without one you may even still be a little low on memory to do so.