Burn a 29LV160 flash chip

To write each byte, put the byte address on the 21 address pins (A-1 through A19), put the data on Q0 through Q7, set /WE low, and pulse /CE low. Keep /BYTE low, /RESET and /OE high.

You need 31 output pins so you should use the Mega.