it wont boot when connected to a charger

when connected to a charger the apple logo appears for a few seconds then the screen goes black and the process repeats over and over. without a charger nothing happens even while pressing on the power button. i tried connecting to 3u tools but it isnt detected

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0