espcomm_upload_mem failed

no, first you upload your Atmega sketch which handles the LCD. With switches 2,3 ON. For the test you switch set 1,2 ON

oh sorry
i uploaded the sketch for display in atmega by toggling 3 and 4 ON actually.
right?

yes, that the inconvenience and I give you the solution in the stackoverflow answer

k