Probably a lose USB connector.. it would explain the no charging and no flash mode problem. What happened when you plugged in the charger? Did the led light up?