I can send AT Commands, but cannot upload sketch to ESP8266 via Generic ESP Module
In order to put the ESP into programming mode, you need to connect GPIO0 to ground as you power it up.

(I have a push button attached to my proto board for this purpose.)