Viewfinder

From Nikon Hacker
Jump to: navigation, search

Hardware

Viewfinder is connected to IO controller of D5100 (TMP19A44FEXBG) and is accessed by Firmware A using a SPI bus on serial port HSC2 (shared with a flash eeprom chip).

framed

The optical viewfinder includes several red LED focus points superimposed on the image, as well as an LCD display along the base. This status display is used by the default firmware to indicate aperture, shutter speed, exposure compensation, and other settings.

The LCD's display is fed from the buffer at 0xFFFF6FA4. The buffer is thirteen bytes wide. Byte 0 does not appear to be used.



Byte Bit Element Function
Byte 0 00-FF Unused?
Byte 1 01 4 First digit, top segment
02 4 First digit, upper right segment
04 4 First digit, lower right segment
08 4 First digit, bottom segment
10 4 First digit, upper left segment
20 4 First digit, middle segment
40 4 First digit, lower right segment
80 10 Flexible program indicator (P*)
Byte 2 01 4 Second digit, top segment
02 4 Second digit, upper right segment
04 4 Second digit, lower right segment
08 4 Second digit, bottom segment
10 4 Second digit, upper left segment
20 4 Second digit, middle segment
40 4 Second digit, lower right segment
80 3 AE lock indicator
Byte 3 01 4 Third digit, top segment
02 4 Third digit, upper right segment
04 4 Third digit, lower right segment
08 4 Third digit, bottom segment
10 4 Third digit, upper left segment
20 4 third digit, middle segment
40 4 Third digit, lower right segment
80 4 Decimal point
Byte 4 01 5 First digit, upper left segment
02 5 First digit, middle segment
04 5 First digit, lower left segment
08 5 Aperture indicator (F)
10 4 Double quote (")
20 4 Fourth digit, upper left segment
40 4 Fourth digit, middle, lower left, lower right and bottom segments
80 2 Focus indicator
Byte 5 01 5 Second digit, upper left segment
02 5 Second digit, middle segment
04 5 Second digit, lower left segment
08 5 Decimal point
10 5 First digit, top segment
20 4 First digit, upper right segment
40 4 First digit, lower right segment
80 4 First digit, bottom segment
Byte 6 01 11 Minus on left, plus on right
02 11 First left bar
04 11 Left arrow
08 14 ISO indicator
10 5 Second digit, top segment
20 4 Second digit, upper right segment
40 4 Second digit, lower right segment
80 4 Second digit, bottom segment
Byte 7 01 11 Left side, second dot from left
02 11 Left side, third dot from left
04 11 Left side, fourth dot from left
08 11 Left side, sixth bar from left
10 11 Left side, second bar from left
20 11 Left side, third bar from left
40 11 Left side, fourth bar from left
80 11 Left side, fifth bar from left
Byte 8 01 11 Right side, second dot from right
02 11 Right side, third dot from right
04 11 Right side, fourth dot from right
08 11 Right side, sixth bar from right
10 11 Plus on left, minus on right
20 11 Outermost dots on left and right, middle bar
40 11 0 in middle
80 7 Bracketing indicator
Byte 9 01 9 Flash-ready indicator
02 11 Right side, first bar from right
04 11 Right arrow
08 16 Warning indicator (?)
10 11 Right side, second bar from right
20 11 Right side, third bar from right
40 11 Right side, fourth bar from right
80 11 Right side, fifth bar from right
Byte A 01 15 First digit, upper left segment
02 15 First digit, middle
04 15 First digit, lower left segment
08 13 Minus compensation triangle
10 6 Battery indicator
20 12 Flash compensation indicator
40 7 White balance
80 13 Plus compensation triangle
Byte B 01 15 Second digit, upper left segment
02 15 Second digit, middle
04 15 Second digit, lower left segment
08 Unused?
10 15 First digit, top segment
20 15 First digit, upper right segment
40 15 First digit, lower right segment
80 15 First digit, bottom segment
Byte C 01 15 Third digit, upper left segment
02 15 Third digit, middle
04 15 Third digit, lower left segment
08 15 Decimal point
10 15 Second digit, top segment
20 15 Second digit, upper right segment
40 15 Second digit, lower right segment
80 15 Second digit, bottom segment
Byte D 01 8 Thousand indicator (K)
02 15 Fourth digit, middle, lower left, lower right and bottom segments
04 15 Opening and closing brackets
08 14 AUTO indicator
10 15 Third digit, top segment
20 15 Third digit, upper right segment
40 15 Third digit, lower right segment
80 15 Third digit, bottom segment

Messages

Viewfinder can display some special messages. Meaning is represented in following table:

Picture Text Position Meaning
Vf cec.png CEC Appears if connected HDMI device support HDMI-CEC
Vf cha.png CHA Bad SDHC/CF card or formating (???)
Vf pc.png PC USB cable is connected to PC and Camera Control Pro Software is connected
Vf ref.png rEF Camera is set to take a dust reference photo
Vf bulb.png buLb Blinks - setting bulb shutter is not allowed in this mode
Vf prn.png Prn
Vf ce.png CE
Vf hp.png HP
Vf pre.png PrE Camera is set to take a reference white balance photo
Vf up.png UP
Vf gd.png Gd Preset white balance successful
Vf no.png no Preset white balance was not successfull
Vf gooo.png Gooo
Vf dl.png dL
Vf job.png Job
Vf ful.png Ful Memory card is full or not possible to generate picture file number
Vf bsy.png bSY No picture can be made, because cam is busy saving data from buffer
Vf 3f.png 3F Bracketing mode: 3 f-stop spread (?)
Vf cd.png Cd
Vf 3d.png 3d Autofocus 3D mode active
Vf hot.png Hot
Vf busb.png buSb
Vf fulb.png Fulb
Vf rff.png rFF
Vf adl.png Adl Active D-Lighting
Vf act.png Act
Vf rls.png rLS
Vf pg.png PG
Vf ab.png Ab