upload + flash