I do not know, but should not you flush just after you send everything, but before you cut it off? Just asking.
Edit: and if leds blinks without camera attached, but not blinks with the camera, are you sure you have enought power for the camera? there is relatively low limit, how much can a pin offer in terms of current.