pinmode pullup not working

Why doesn't this work on a Nano?

pinMode(7, INPUT_PULLUP);

When I check pin 7 (D4?), it's near Zero volts.

After sketch upload or reset, and with no setup, loop statements or functions that change the state of pin-7, the pin sits at 0 volts.

If I add an external 15k resistor to pin7 tied to 5V, pin-7 IS nearly 5V.

Is this Nano dead ??

This
pinMode(7, INPUT_PULLUP);

turns on the internal pullup to D7. Not D4.

On a Nano, D7 is pin 7. I think you are checking the wrong pin.

I used this:pinMode(7, INPUT_PULLUP);

After an upload or reset, pin 7 is at 0V.

It appears Nano's internal resistor is not 'connected' ????

ardocman:
After sketch upload or reset, and with no setup, loop statements or functions that change the state of pin-7, the pin sits at 0 volts.

Yes. All digital pins default to INPUT.

ardocman:
I used this: pinMode(7, INPUT_PULLUP);

"Used" how? Did you put it in a sketch? Where in the sketch? Did the sketch upload correctly? What else is in the sketch?
I uploaded this sketch to an Arduino UNO (same processor as the Nano) and Pin 7 reads 5.10V on my multimeter:

void setup()
{
  pinMode(7, INPUT_PULLUP);
}


void loop() {}

D4 is physical pin 7 on the board. Ignore that.
It is pin 4 on the code. Use what is printed on the board

             ┌──...──┐
     TX   1  │  ...  │  30  VIN
     RX   2  │       │  29  GND
    RST   3  │       │  28  RST
    GND   4  │       │  27  5V
     D2   5  │       │  26  A7
     D3   6  │       │  25  A6
     [color=red][b]D4   7[/b][/color]  │       │  24  A5
     D5   8  │       │  23  A4
     D6   9  │       │  22  A3
     D7  10  │       │  21  A2
     D8  11  │       │  20  A1
     D9  12  │       │  19  A0
    D10  13  │       │  18  AREF
    D11  14  │ ┌───┐ │  17  3V3
    D12  15  │ │USB│ │  16  D13
             └─┤   ├─┘
               └───┘