Enabling debug mode.
Make file named 'MODSET.xxx' in flash card root.
Note! xxx is different for each model.
in file write commands exactly as they are provided, use notepad or other simple text editor.
Camera model
| File name
| K10D with firmware v1.10
| MODSET.421
| K10D with firmware v1.20 -v1.30
| MODSET.TXT
| GX10 with firmware v1.10
| MODSET.429
| GX10 with firmware v1.20-v1.30
| MODSET.TXT
| GX20 v1.01, v1.03
| MODSET.454
| K20D v1.03
| MODSET.442
| K200D v1.00.00.03
| MODSET.445
| K7 v1.01
| MODSET.474
| Km v1.10
| MODSET.464 press "Delete" during turn-on
| K2000 v1.10
| MODSET.482 press "Delete" during turn-on
|
Command
| Meaning
| [DEBUG_MODE EN]
| Enables debug mode
| [DEBUG_MODE DIS]
| Disables debug mode
| [RELEASE_AGING]
| Test shutter by making many expositions
| [OPEN_DEBUG_MENU]
| Opens debug menu
| [SW_DEBUG_MENU EN]
| Enables debug menu
| [SCRIPT_EN_MODE EN]
| Enables script interpreter
| [SCRIPT_EN_MODE DIS]
| Disables script interpreter
| [VLENS_CONTROL]
| Display VLENS CONTROL screen
|
Additional info below:
[VLENS_CTRL] displays VLENS CONTROL on screen and do not react to keys I tried. We must find key combination that toggles SDM On/off and PZ On/Off.
[OPEN_DEBUG_MENU] Opens large debug menu on startup there you can make all functions. Like dumping your lens ROM. :-)
Especially interesting is AF PINT DISP as it displays some displacements.
First example of proper MODSET.xx file
| [DEBUG_MODE EN]
[SCRIPT_EN_MODE EN]
|
Second example of proper MODSET.xx file
| [OPEN_DEBUG_MENU]
|
Turn camera off.
Turn camera on with MENU button pressed (or same with DELETE button).
I don't guarantee that this will work on all cameras the same.
But easy to check.
If in original it don't work leave flash door open then turning camera back on.
Dumping
Now you can dump any firmware from most PENTAX DSLR models.
How to do it? Make two MODSET.xxx files
First MODSET.xxx file
|
---|
[CPU_ROM_STORE]
|
Second MODSET.xxx file
|
---|
[DSP_ROM_STORE]
|
Copy first file to root of your flash card.
Turn on your camera. Wait before dumping is completed. Turn camera off.
Copy second file to root of your flash card.
Turn on your camera. Wait before dumping is completed.
You'll have two files on flash card now.
Send them to us in archived form ONLY if Pentax have no available firmware for your model and you don't see firmware in our Downloads page.
But we are interested in K7 beta firmware images.
SYSPARAM file
Each Pentax or Samsung camera uses SYSPARAM.TXT file to set verious internal parameters, mostly related to debug things.
So, you need Debug Mode turned on.
Commands for GX20:
Command
| Meaning
| [STOREPREBAYER]
| Store prebayer raw
| [STOREBAYER]
| Store bayer raw
| [STOREPREDARK]
| Store predark raw
| [STOREGEN]
| Store some info
| [STORECPU]
| Store CPU info
| [STOREAE]
| Store AE info
| [STOREAF]
| Store AF info
| [STOREWD]
| Store WD
| [STOREIQWD]
| Store IQWD
| STOREDP
| Store DP
| STOREDEFECTPIXELDATA
| Stores defect mixels map
| FORCENR
| Forces noise reduction
| DISABLENR
| Disables noise reduction
| DISABLEBLC
| Disable black level correction
|
Other commands, most of them quite dangerous, and can lead to malfunction:
GRAYCODE, AFECDS, AFEDGAIN, AFEPGAGAIN, AFEVO, FSOFFSET, AFEDIFFMODE,
LINEOB, ENABLEDPCFULL, DISABLEDPC, DISABLEB, AYFLT, FORCEBAYFLT, ENABLEFLATIMAGE,
ADCCALIB, ADCCALTEST, AFESHIFTOBAREA, AFEPOWERCTRL, BFTOFFSET, TGMAININDEX,
TGSUBINDEX, ENABLEAFECHKMODE, SENSORREG0, SENSORREG1, SENSORREG2, SENSORREG3,
SENSORREG4, SENSORREG5, SENSORREG6, SENSORREG7, ENABLESENSORCDSGAIN,
ENABLESENSORINTEG, EETUNE0, EETUNE1, EETUNE2, EETUNE3, EETUNE4, EETUNE5, EETUNE6,
AFEREG0, AFEREG1, AFEREG2, AFEREG3, AFEREG4, AFEREG5, AFEREG6,
AFEREG7, AFEREG8, AFEREG9, AFEREG10, AFEREG11, AFEREG12, AFEREG13, AFEREG14, AFEREG15
STORELVPREBAYER, STOREVFPNDATA, DISABLEVFPNCOR, BULB_OFFSET, BULB_DARK_OFFSET,
BULB_RES_OFFSET, ENABLESUBDUCTACNODE, DISABLE_WS_CALC, ENABLE_LONGEXP_HOB,
DISABLE_NORMAL_HOB, DISABLE_DS_NEWALG, DISABLE_AFE_CLAMP_CLIP, DISABLE_AFE_CLAMP_AVEEX
ENABLE_AFE_LPF, DISABLE_LV_POWEROFF, BULB_EXP_UNIT_TIME, ENABLE_DEBUG_LCD_OFF,
HSS_EXP_TIME, PM_PARAM, FORCE_LEXP_DPC, DO_DA_CALIB, DAC_SIZE_LIMIT, DA_PARAM,
DAC_PARAM, DAC_DUMP, DA_TONE_FLAT, DA_DIS_DAC_CORRECT, DISABLE_ACNODE_REFECT,
DAC_STORE_IMG, WS_K_VALUE, DAC_DEBUG_MODE_BREAK
Primer:
SYSPARAM.TXT file (all in one line, actually!)
|
---|
[STOREAE] 1@[STOREPREBAYER] 1@[STOREBAYER] 1@[STOREPREDARK] 1@[STOREGEN] 1@[STORECPU] 1@[STOREAF] 1@ [STOREWD] 1@[STOREIQWD] 1@[STOREDP] 1@[STOREDEFECTPIXELDATA] 1@
|
This will enable many storage related commands. Use 0 to disable each STORE related mode.
(c) 2009 Pentax Hacking Community |