Problem with connecting an LCD 16x2

The single row of blocks means that your LCD controller is not being initialized properly. This is almost always due to incorrect or defective connections.
By the way, your display is still upside down - but you will discover this when you get it working.

mass(pin5),

What does this mean? Pin 5 must be connected to GND (pin 1).

Don