about this blog

Here you can find latest hack progress reports and other raw information.


tags


recent entries   


Donate for GH1 hack project! 

-April 23, 2010

GH1 firmware update research 

-April 19, 2010

GH1 related 

-April 17, 2010

More info on Panasonic 

-April 14, 2010

Panasonic Cameras 

-April 12, 2010


recent comments

for two weeks i have been asking how to use frmcrypt.exe, it loads in win7 ... 

-October 04, 2014

hello I've discovered this site searching for the state-of-the-art about any pentax hack. With the ... 

-May 29, 2013

Just a hunch. The last three digits are 505 for K5, and 504 for ... 

-October 23, 2012

Is there a way to disable dfs on my K7 with v1.11 firmware? 

-February 22, 2012

As a practical matter since you can stuff 100,000 files into a FAT32 file system, ... 

-November 30, 2011


archive

april 2010

march 2010

september 2009

august 2009



topics

General (13)

Dumping (1)

Disassembling (5)

Features (0)


admin*

General


Saturday, August 8, 2009


1:39



Some info about GX20 v1.01 and MODSET and AUTORUN functions.

MODSET.xxx works with turning on with open or closed (!) SD door (without any buttons).
Note! You must not have AUTORUN.xxx for MODSET.xxx to work :-)

All previously mentioned commands seems to work.
 
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.


AUTORUN.xxx works on every camera start, and in case of synax error it hangs sometimes.

Extra info, you could use FILEOUT "STRING" to write STRING to CHKDAT.xxx file. String will be appended to end of file.

WAIT without parameters causes syntax error.
With any parameter it wait indefinetely. Parameter may be TaskID.

You could also note that interpreter runs in his own thread, at least AF and metering works perfectly.


General  comments (0)



Friday, August 7, 2009


0:00



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.
 
MODSET file name

Camera model

File name

K10D with firmware v1.10 MODSET.421 (don't work with v1.20 and v1.30!)
GX10 with firmware v1.10 MODSET.429 (same as K10D)
GX20 v1.01 MODSET.454
K20D v1.03 MODSET.442
K200D v1.00.00.03
MODSET.445
K7 v1.01
MODSET.474
Km v1.10 MODSET.464

 
Available commands

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
 
 
Example of proper MODSET.xx file
[DEBUG_MODE EN]
[SCRIPT_EN_MODE EN]
 
Turn camera off.
Turn camera on with MENU button pressed.
 
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.



General  comments (68)



Thursday, August 6, 2009


22:46



How to turn build in script interpreter
 
You must enable script mode :
 
MODSET.xxx file
[SCRIPT_EN_MODE EN]
 
Make 'AUTORUN.xxx' file (xxx same as in MODSET file) with script inside.
 
Available BASIC keywords
END, EXIT, PAUSE, WAIT,
GOTO, IFGOTO, ALLCLR, CLS,
PRINT, LANGUAGE, COLOR, $ % ( for values )
GOSUB, IFGOSUB , RETURN, IF, ELSE,
WHILE, INTERVAL, CYCLE, FILEOUT, FSEARCH,
TIMERON, TIMEROFF.

Looks like quite full functional BASIC 
You could try "hello world" first.
 
AUTORUN.xxx hello world example
PRINT "Hello World";
EXIT
 
According to first test results, you must turn camera on with MENU button and after firmware version number you'll see your program execution result.
 
Test volunteers are welcome.


General  comments (11)




[FIRST]  [PREV]   1 2 [3]
11 - 13 of 13















(c) 2009 Pentax Hacking Community