First of all, some people reports that D1 mini pro doesn't work well for failure of connecting to specified network. I guess it might have something to do with flash mode("dout", "qio", or something else). Further research is needed to identify this problem. BTW, mine works with 4M flash...