Electronic – Troubles using a Low-Dropout Linear Regulator

ldovoltage-regulator

I've designed a board, that includes a charging part :

enter image description here

the problem that I have is in the LMS8117A-3.3:
enter image description here

here I can measure 5V on Pin1, but nothing on pin2, I was expecting 3.3V :
I've check the board and no I don't have any bypass, to test the board, I've put a 3.3V voltage at "target voltage pin" and the board works fine! So my question is how may solve this and what am I missing!
This the layout part!

enter image description here

and here a link to the datasheet

Best Answer

You appear to have swapped the ground and input pins.

enter image description here