Code will load and run once but not again

hopefully it clear how to externally power an Arduino (see Feeding power to Arduino)

i would try running a simple program, for example simply flashes the built-in LED (pin 13)