Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-08-2014, 06:03 PM   #271
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
QuoteOriginally posted by Class A Quote
The K100D even has a built-in editor.

After saving the original lens data, you could edit the data by using the K100D. No need to use Notepad+ or similar.
Cool...even better.... I much prefer the screwdrive over the SDM anyway.

03-11-2014, 08:22 AM   #272
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
QuoteOriginally posted by Driline Quote
Attempting SDM to screwdrive procedure for K-5 DA*16-50 using Pktether.......results to follow.......

---------- Post added 03-08-14 at 09:30 AM ----------

No Joy. I can enter the TEST MODE on the C menu, but I cannot get into the De Bug Mode via the modset.474 file using the [OPEN_DEBUG_MENU] command. Looks like its off to Henry's for them to send out for repair.
Hiya

Not sure if you've sorted this but I just took ownership of a DA*50-135 and within about 15-20 minutes I had screwdrive enabled for my K5. Happy to talk you through it if you need.

Absolutely delighted as I picked up a great value lens with a duff SDM and now I have full autofocus functionality and superb optics. Over the moon!
03-11-2014, 08:42 AM   #273
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
QuoteOriginally posted by pjm1 Quote
Hiya

Not sure if you've sorted this but I just took ownership of a DA*50-135 and within about 15-20 minutes I had screwdrive enabled for my K5. Happy to talk you through it if you need.

Absolutely delighted as I picked up a great value lens with a duff SDM and now I have full autofocus functionality and superb optics. Over the moon!
I tried both my K5 and sisters K100d with no luck. It looks to me like the process is different with every camera. I can see how others may get frustrated and give up. Like me No matter, my lens is under warranty anyway so I am sending it off now for repair.

If you could however try to write down the exact steps you took to convert your 50-135, I think that would be very helpful. The current instructions are very vague in my opinion and do not lend themselves to regular computer users for success.
03-11-2014, 09:47 AM - 11 Likes   #274
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
No probs... summary instructions (detail below):

1. Use PKTether to set camera to Debug Mode
2. Use the memory card "boot file" trick to force the camera to open the full debug menu
3. Copy current lens config from EEPROM to memory card
4. Backup original config file on computer and make required edits in Notepad++
5. Copy new lens config from memory card to EEPROM & test lens works in screwdrive mode
6. Use PKTether to turn off debug mode
7. Tidy up memory card by removing "boot files"

So, here's the detail (a fair bit of copying & pasting from other sources, but worth having it all in the one place)...

1. Use PKTether to set camera to Debug Mode
a. Download the great PKTether tool and run the exe file (likely inside the zip file downloaded)
b. Turn your camera on and then connect your camera via USB to the computer
c. PKTether should show that the camera is now connected and the camera should show "PC-5" or similar message in the top LCD
d. Choose "Camera Debug Mode On" from the Debug mode menu
Done!

2. Use the memory card "boot file" trick to force the camera to open the full debug menu
a. Create a blank (empty) file on your computer called develop.mod
b. Create a second blank (empty) file on your computer in notepad. It should have one and only one line in it:
[OPEN_DEBUG_MENU]
I pressed return after typing the above, which meant there appeared to be two lines in my first - the first one above and a blank second one. That worked fine.
c. Save it and close notepad/notepad++ and rename to:
For K5 the file should be renamed to: 00077430.505 (these are all numbers, not 's' or 'o') - I have tested this and can confirm it works
For K5-ii the file should be renamed to: 00077680.536 (have not confirmed this as I don't have this camera)
For K5-iis the file should be renamed to: 00077681.541 (have not confirmed this as I don't have this camera)
Note: both of these files must be named exactly as listed and MUSTN'T have .txt (or any other) suffixes - be careful that Notepad and other apps sometimes automatically append them. Also be careful to check you are displaying the suffixes otherwise this just won't work.
d. Copy both of these files (the blank develop.mod and your second file containing the open_debug_menu command) to the root (top most) directory of your memory card
e. Put the memory card into your camera (while off) and turn the camera on. Some reports suggest leaving the card door open but I found it didn't matter
f. Your camera should now show the full 5 page (or so) debug menu
g. Do not touch any options except what's below - you could brick your camera, lens etc.

3. Copy current lens config from EEPROM to memory card
a. On the penultimate page of the full debug menu, you should find an option "LENS ROM CAMERA=>SD" or similar - basically copies the settings from the camera (or lens) to the SD card. This is what we want to do - to get a copy of the current and default configuration
b. Once completed, turn the camera off, take the card out and put it in your computer. You should see a new file called LENSEEP.LNS make a backup copy of this and keep it safe.

4. Backup original config file on computer and make required edits in Notepad++ (rather than simple Notepad as you need to see the row and column headings)
a. Having backed up the file, edit LENSEEP.LNS using Notepad++. You should see something like the following excerpt, which is one "block" of data. Depending on which DA* lens you have, you might have 4 or 8 of such blocks (starting at 0000, 0100, 0200, 0300 etc. etc):

Code:
";        -----------------------------------------------------------------------------"
"; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"
"; -----------------------------------------------------------------------------"
":0000", "28","D6","50","8A","63","84","92","6D","71","68","68","38","03","31","93","1B"
":0010", "FF","FF","FF","F1","29","63","83","90","00","76","06","51","03","0D","00","00"
":0020", "00","00","F1","C0","00","04","28","00","00","00","00","00","00","00","00","00"
":0030", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":0040", "28","D6","50","9A","63","84","93","6D","69","68","68","34","03","31","8B","1B"
":0050", "FF","FF","FF","F1","29","63","83","91","00","76","06","51","03","0E","00","00"
":0060", "00","00","F1","C0","00","10","24","00","00","00","00","00","00","00","00","00"
":0070", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":0080", "28","D6","50","7A","63","84","92","6D","79","68","68","38","03","31","9B","1B"
":0090", "FF","FF","FF","F1","29","63","83","90","00","76","06","51","03","0D","00","00"
":00A0", "00","00","F1","C0","00","82","2C","00","00","00","00","00","00","00","00","00"
":00B0", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":00C0", "28","D6","50","6A","63","84","91","6D","81","68","68","38","03","31","A3","1B"
":00D0", "FF","FF","FF","F1","29","64","83","8F","00","86","06","51","03","0D","00","00"
":00E0", "00","00","F1","C0","00","86","2E","00","00","00","00","00","00","00","00","00"
":00F0", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
Note: I have highlighted the entries above, which are the four data points you need to amend in that block, and each subsequent block. For each block, it is rows xx20, xx60, xxA0 and xxE0. And for each row it will be column 03 (i.e. the forth as "00" is the first column). For each block then, you have four amendments and they're all identical - changing the C0 to 80. And that's it.

For my DA*50-135 lens there were 8 blocks with four amendments in each, so that was 32 changes, all C0 to 80. I used the Insert key to switch to overwrite mode and simply overwrote the C with an 8.

b. Confirm you've made the right changes and save the file back to the memory card (I kept a copy on my computer).
c. Take the memory card out and put back in your camera, turn it on (keep the card door open if you like) - you should be back to the full debug menu

5. Copy new lens config from memory card to EEPROM & test lens works in screwdrive mode
a. On the penultimate page again, there should be another option "LENS ROM SD=>CAMERA" - basically does the opposite of step 3a and copies your new datafile back to the EEPROM inside the camera/lens. It will say "VERIFYING" and go through the rows in the LENSEEP file until it's happy.
b. Press the menu key to exit the debug menu and check autofocus works and you can hear the screwdrive operating (easy to check with my lens as the SDM was dead - so activity meant success!)
Note: if you haven't edited the file properly, you probably won't find this step working... in my case, I had followed instructions for the DA*16-50 which only has 4 blocks rather than 8 to edit... I went back to my computer and made the other 16 edits and then it worked. So don't panic and take your time.

6. Use PKTether to turn off Debug Mode
a. Leaving your camera on, connect it via USB to the computer
b. PKTether should show that the camera is now connected and the camera should show "PC-5" or similar message in the top LCD
c. Choose "Camera Debug Mode Off" from the Debug mode menu
Done!

7. Tidy up memory card by removing "boot files"
As a final step, I deleted the "boot files" from the root directory of my memory card... I didn't want to leave them lying around just in case.


Last edited by pjm1; 03-14-2014 at 07:16 AM. Reason: Clarifying 2c
03-11-2014, 10:31 AM   #275
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
Great information pjm1. I can see already the first mistake that I made. Step 2. I was under the assumption Pktether opened up the "Full" DeBug menu in the camera. Apparently that is only partially true. You still must use a boot file from the SD card to open it. I wish I could have read your post before I sent my camera off. Again, thanks for taking the time to post the "Correct" way for users with a K-5 to convert from SDM to screwdrive. I've got the DA*50-135 so when it does fail this will help me.
03-14-2014, 05:13 AM   #276
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
QuoteOriginally posted by pjm1 Quote
No probs... summary instructions (detail below):

1. Use PKTether to set camera to Debug Mode
2. Use the memory card "boot file" trick to force the camera to open the full debug menu
3. Copy current lens config from EEPROM to memory card
4. Backup original config file on computer and make required edits in Notepad++
5. Copy new lens config from memory card to EEPROM & test lens works in screwdrive mode
6. Use PKTether to turn off debug mode
7. Tidy up memory card by removing "boot files"

So, here's the detail (a fair bit of copying & pasting from other sources, but worth having it all in the one place)...

1. Use PKTether to set camera to Debug Mode
a. Download the great PKTether tool and run the exe file (likely inside the zip file downloaded)
b. Turn your camera on and then connect your camera via USB to the computer
c. PKTether should show that the camera is now connected and the camera should show "PC-5" or similar message in the top LCD
d. Choose "Camera Debug Mode On" from the Debug mode menu
Done!

2. Use the memory card "boot file" trick to force the camera to open the full debug menu
a. Create a blank (empty) file on your computer called develop.mod
b. Create a second blank (empty) file on your computer in notepad. It should have one and only one line in it:
[OPEN_DEBUG_MENU]
I pressed return after typing the above, which meant there appeared to be two lines in my first - the first one above and a blank second one. That worked fine.
c. Save it and close notepad/notepad++ and rename to:
For K5s the file should be renamed to: 00077430.505 (these are all numbers, not 's' or 'o') - I have tested this and can confirm it works
For K5-ii the file should be renamed to: 00077680.536 (have not confirmed this as I don't have this camera)
For K5-iis the file should be renamed to: 00077681.541 (have not confirmed this as I don't have this camera)
Note: both of these files must be named exactly as listed and MUSTN'T have .txt (or any other) suffixes - be careful that Notepad and other apps sometimes automatically append them. Also be careful to check you are displaying the suffixes otherwise this just won't work.
d. Copy both of these files (the blank develop.mod and your second file containing the open_debug_menu command) to the root (top most) directory of your memory card
e. Put the memory card into your camera (while off) and turn the camera on. Some reports suggest leaving the card door open but I found it didn't matter
f. Your camera should now show the full 5 page (or so) debug menu
g. Do not touch any options except what's below - you could brick your camera, lens etc.

3. Copy current lens config from EEPROM to memory card
a. On the penultimate page of the full debug menu, you should find an option "LENS ROM CAMERA=>SD" or similar - basically copies the settings from the camera (or lens) to the SD card. This is what we want to do - to get a copy of the current and default configuration
b. Once completed, turn the camera off, take the card out and put it in your computer. You should see a new file called LENSEEP.LNS make a backup copy of this and keep it safe.

4. Backup original config file on computer and make required edits in Notepad++ (rather than simple Notepad as you need to see the row and column headings)
a. Having backed up the file, edit LENSEEP.LNS using Notepad++. You should see something like the following excerpt, which is one "block" of data. Depending on which DA* lens you have, you might have 4 or 8 of such blocks (starting at 0000, 0100, 0200, 0300 etc. etc):

Code:
";        -----------------------------------------------------------------------------"
"; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"
"; -----------------------------------------------------------------------------"
":0000", "28","D6","50","8A","63","84","92","6D","71","68","68","38","03","31","93","1B"
":0010", "FF","FF","FF","F1","29","63","83","90","00","76","06","51","03","0D","00","00"
":0020", "00","00","F1","C0","00","04","28","00","00","00","00","00","00","00","00","00"
":0030", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":0040", "28","D6","50","9A","63","84","93","6D","69","68","68","34","03","31","8B","1B"
":0050", "FF","FF","FF","F1","29","63","83","91","00","76","06","51","03","0E","00","00"
":0060", "00","00","F1","C0","00","10","24","00","00","00","00","00","00","00","00","00"
":0070", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":0080", "28","D6","50","7A","63","84","92","6D","79","68","68","38","03","31","9B","1B"
":0090", "FF","FF","FF","F1","29","63","83","90","00","76","06","51","03","0D","00","00"
":00A0", "00","00","F1","C0","00","82","2C","00","00","00","00","00","00","00","00","00"
":00B0", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
":00C0", "28","D6","50","6A","63","84","91","6D","81","68","68","38","03","31","A3","1B"
":00D0", "FF","FF","FF","F1","29","64","83","8F","00","86","06","51","03","0D","00","00"
":00E0", "00","00","F1","C0","00","86","2E","00","00","00","00","00","00","00","00","00"
":00F0", "00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00"
Note: I have highlighted the entries above, which are the four data points you need to amend in that block, and each subsequent block. For each block, it is rows xx20, xx60, xxA0 and xxE0. And for each row it will be column 03 (i.e. the forth as "00" is the first column). For each block then, you have four amendments and they're all identical - changing the C0 to 80. And that's it.

For my DA*50-135 lens there were 8 blocks with four amendments in each, so that was 32 changes, all C0 to 80. I used the Insert key to switch to overwrite mode and simply overwrote the C with an 8.

b. Confirm you've made the right changes and save the file back to the memory card (I kept a copy on my computer).
c. Take the memory card out and put back in your camera, turn it on (keep the card door open if you like) - you should be back to the full debug menu

5. Copy new lens config from memory card to EEPROM & test lens works in screwdrive mode
a. On the penultimate page again, there should be another option "LENS ROM SD=>CAMERA" - basically does the opposite of step 3a and copies your new datafile back to the EEPROM inside the camera/lens. It will say "VERIFYING" and go through the rows in the LENSEEP file until it's happy.
b. Press the menu key to exit the debug menu and check autofocus works and you can hear the screwdrive operating (easy to check with my lens as the SDM was dead - so activity meant success!)
Note: if you haven't edited the file properly, you probably won't find this step working... in my case, I had followed instructions for the DA*16-50 which only has 4 blocks rather than 8 to edit... I went back to my computer and made the other 16 edits and then it worked. So don't panic and take your time.

6. Use PKTether to turn off Debug Mode
a. Leaving your camera on, connect it via USB to the computer
b. PKTether should show that the camera is now connected and the camera should show "PC-5" or similar message in the top LCD
c. Choose "Camera Debug Mode Off" from the Debug mode menu
Done!

7. Tidy up memory card by removing "boot files"
As a final step, I deleted the "boot files" from the root directory of my memory card... I didn't want to leave them lying around just in case.
Do you happen to know the modset file for the K5? I don't see that listed or did I miss something?
03-14-2014, 05:26 AM   #277
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
QuoteOriginally posted by Driline Quote
Do you happen to know the modset file for the K5? I don't see that listed or did I miss something?
It's not a MODSET file for the K5 variants. It's a filename of numbers, together with a DEVELOP.MOD file.

I think the how-to page which talks about modset is for a different camera.
03-14-2014, 06:17 AM   #278
Veteran Member
crewl1's Avatar

Join Date: Jul 2010
Location: Los Angeles, CA
Photos: Gallery | Albums
Posts: 9,797
@pjm1
Thanks for taking the time to document the steps.
I will save these off for future reference.
One question I have is now that you switched the Da 50-135 to screw drive is the AF faster so as to make it usable for sports?

03-14-2014, 06:30 AM   #279
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
QuoteOriginally posted by crewl1 Quote
@pjm1
Thanks for taking the time to document the steps.
I will save these off for future reference.
One question I have is now that you switched the Da 50-135 to screw drive is the AF faster so as to make it usable for sports?

Ha! you're asking the wrong person... my lens's SDM was dead when I bought it so I can't compare, I'm afraid.

I'm going to hazard a guess that it's still not fast enough for fast action. It's about 1 second to focus in from infinity to 1m, give or take (might be slightly quicker, but it's that order of magnitude). The biggest issue will be if it misses and starts to hunt through the full focus range. The alternative is to stick to manual focus and "manually bracket" when you think you're in the range by twisting the focus ring a bit while holding the shutter down on continuous drive. Not ideal though and you're guaranteed to have 6/7ths of your photos unusable (assuming you fill the buffer)...
03-14-2014, 07:11 AM   #280
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
QuoteOriginally posted by pjm1 Quote
It's not a MODSET file for the K5 variants. It's a filename of numbers, together with a DEVELOP.MOD file.

I think the how-to page which talks about modset is for a different camera.
Line 2 part c. The k5 is not listed. Should it be?
03-14-2014, 07:15 AM   #281
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
QuoteOriginally posted by Driline Quote
Line 2 part c. The k5 is not listed. Should it be?
Sorry, my instructions not being quite clear enough: I typed "for K5s" and meant plural K5, rather than some sort of K5-s variant! I'll edit the original post now...
03-14-2014, 07:41 AM   #282
Veteran Member
Driline's Avatar

Join Date: Dec 2012
Location: IOWA Where the Tall Corn Grows
Photos: Gallery
Posts: 2,983
QuoteOriginally posted by pjm1 Quote
Sorry, my instructions not being quite clear enough: I typed "for K5s" and meant plural K5, rather than some sort of K5-s variant! I'll edit the original post now...
You know, that Scottish "accent" gives you away every time My ancestors hail from Kilkenny Ireland so I do feel some connection to you "blokes" across the pond
03-14-2014, 08:07 AM   #283
Veteran Member
awaldram's Avatar

Join Date: May 2008
Location: Hampshire
Photos: Gallery
Posts: 731
QuoteOriginally posted by pjm1 Quote
Ha! you're asking the wrong person... my lens's SDM was dead when I bought it so I can't compare, I'm afraid.

I'm going to hazard a guess that it's still not fast enough for fast action. It's about 1 second to focus in from infinity to 1m, give or take (might be slightly quicker, but it's that order of magnitude). .
I can answer the other end (SDM) as was timing inf - min - inf whilst testing if there was any SDM speed reduction applied with the new converter.

My 50-135 achieves inf - min - inf travel in (averaged over ten runs) 1.77 seconds

Which would be .88 secs min-inf inc stopping time.
03-14-2014, 08:08 AM   #284
Veteran Member
crewl1's Avatar

Join Date: Jul 2010
Location: Los Angeles, CA
Photos: Gallery | Albums
Posts: 9,797
QuoteOriginally posted by pjm1 Quote
Ha! you're asking the wrong person... my lens's SDM was dead when I bought it so I can't compare, I'm afraid.

I'm going to hazard a guess that it's still not fast enough for fast action. It's about 1 second to focus in from infinity to 1m, give or take (might be slightly quicker, but it's that order of magnitude). The biggest issue will be if it misses and starts to hunt through the full focus range. The alternative is to stick to manual focus and "manually bracket" when you think you're in the range by twisting the focus ring a bit while holding the shutter down on continuous drive. Not ideal though and you're guaranteed to have 6/7ths of your photos unusable (assuming you fill the buffer)...
Thanks.
03-14-2014, 10:46 AM   #285
Forum Member
pjm1's Avatar

Join Date: Jan 2014
Location: Scotland
Photos: Albums
Posts: 96
QuoteOriginally posted by Driline Quote
You know, that Scottish "accent" gives you away every time My ancestors hail from Kilkenny Ireland so I do feel some connection to you "blokes" across the pond
If only you heard me... I sounds about as Scottish as the Duke of Edinburgh! Although he probably speaks Greek a bit better
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
autofocus, body, camera, card, codes, computer, da*, da* 16-50mm, deactivate, deactivate sdm, debug, drive, f/2.8, k-mount, k100d, lens, lenses, memory, menu, mode, page, pentax lens, rows, screw, sdm, slr lens, thanks, time
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
For Sale - Sold: Pentax DA* 16-50mm f/2.8 SDM $750 OBO noahpurdy Sold Items 3 08-22-2012 09:22 AM
For Sale - Sold: Pentax SMC DA* 16-50mm f/2.8 ED AL IF SDM pentaman Sold Items 5 03-01-2012 05:10 PM
For Sale - Sold: (Price Reduced) MINTY Pentax-DA* 16-50mm f/2.8 ED AL (IF) SDM Lens Boxed hzhao1964 Sold Items 3 02-11-2012 08:28 AM
For Sale - Sold: SCM Pentax 16-50mm f/2.8 DA* SDM (US) Green Chile Sold Items 3 09-20-2010 10:43 AM



All times are GMT -7. The time now is 06:42 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top