SDM Failure at WGW
Posted 02/05/2018 - 10:05
Link
The code doesn't exist on the K-3 although there's a debug menu option for it.
All the gear with no idea
Posted 02/05/2018 - 11:42
Link
Mike-P wrote:
So I need to look out for a beaten up K10D then.
I notice there's one for sale in the classifieds...
So I need to look out for a beaten up K10D then.
David
Posted 02/05/2018 - 13:58
Link
Just tried Debug mode on my K-3 and no options to change lens.
I must have used my old K-5, afraid age and time catching up on me!
I must have used my old K-5, afraid age and time catching up on me!
Regards, Tom
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
Posted 02/05/2018 - 14:16
Link
Just dug this out from my vaults for the K-5 16/50mm and 50/135mm.
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.
Read more at: http://www.pentaxforums.com/forums/10-pentax-slr-lens-discussion/208353-how-deac...#ixzz2ytboB1V2
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.
Read more at: http://www.pentaxforums.com/forums/10-pentax-slr-lens-discussion/208353-how-deac...#ixzz2ytboB1V2
Regards, Tom
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
Posted 02/05/2018 - 20:08
Link
Not having any luck with this, followed everything to the letter, even a step by step you tube vid. but the new file refuses to work, I get "wait" and it just reverts back to the debug menu, tried it 3 times and also with another card but same result, tried it with the K3II and despite the fact I found the necessary files online the PK Tether doesn't find the camera.
Ready to pull what little hair I have left out, so going to give it a break for the evening, may try it with the 50-135 tomorrow and see if that works, I can always revert it back.
Ready to pull what little hair I have left out, so going to give it a break for the evening, may try it with the 50-135 tomorrow and see if that works, I can always revert it back.
Posted 02/05/2018 - 20:58
Link
Sorry to hear that Alan. It appears it can not be done with a K-3/K-3ii and lens, I thought I had but it was my old K-5 and 16/50mm I used when I checked using my post above instructios.
Regards, Tom
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
Posted 02/05/2018 - 21:33
Link
Ok Alan.
Are you using Notepad + +?
If you want send me your Email address and I will send you the original instruction in word format which may better.
Are you using Notepad + +?
If you want send me your Email address and I will send you the original instruction in word format which may better.
Regards, Tom
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
Posted 02/05/2018 - 21:56
Link
Yes I used Notepad++
Think I may have wasted everyones time though, did some Googling and tried a suggestion to repeatedly press the AF button while rotating the focus ring, and it's started working again
We were caravaning over the Goth Weekend and I left my gear in the car overnight, wondering now if the cold had affected it, going to keep trying it for the rest of the evening, then I may stick it in the garage and see if it plays up again, if it does I may still consider the mod (assuming I can get it to work)
Think I may have wasted everyones time though, did some Googling and tried a suggestion to repeatedly press the AF button while rotating the focus ring, and it's started working again
We were caravaning over the Goth Weekend and I left my gear in the car overnight, wondering now if the cold had affected it, going to keep trying it for the rest of the evening, then I may stick it in the garage and see if it plays up again, if it does I may still consider the mod (assuming I can get it to work)
Posted 02/05/2018 - 22:00
Link
Good news Alan and a back up plan if it plays up again, have a good weekend.
Regards, Tom
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
K-1ii,K-3iii's.
SMC PENTAX-F 1:2.8 28mm, HD Pentax-D FA* 1:1.4 50mm SDM AW,
SMC PENTAX-D FA MACRO 1:2.8 100mm WR,
SMC PENTAX-DA* 1:4 300mm ED [IF] SDM,
SMC PENTAX-FA* 1:4 600mm IF & ED,
HD PENTAX -DA 1.4x AW AF REAR CONVERTER,
Pentax Photo Gallery
Add Comment
To leave a comment - Log in to Pentax User or create a new account.


13627 posts
18 years
Hythe,
Hampshire UK