Forgot Password
Pentax Camera Forums Home
 

Closed Thread
Show Printable Version Search this Thread
03-31-2014, 06:04 AM   #181
Junior Member




Join Date: Oct 2007
Location: Bangalore, KA, India
Photos: Gallery
Posts: 30
QuoteOriginally posted by Shodan Quote
Was that a question? Yes my evidence is from the K-50 with latest firmware.
Just a confirmation... the filenames given work for K-50 with firmware v1.02

03-31-2014, 04:36 PM   #182
mee
Veteran Member




Join Date: May 2010
Posts: 7,403
QuoteOriginally posted by rawr Quote
I don't think it is. Look at the last page: https://www.pentaxforums.com/forums/32-digital-processing-software-printing/2...ml#post2743293


Hence my request for tethering here. So, please, consider tethering support in Lightroom for the K-5/K-5ii in this project.

---------- Post added 03-31-14 at 06:40 PM ----------

Btw, as an aside, you can get the K-30 to 'see' the K-50 firmware file by renaming the K-50 firmware to that of the K-30 file name. I would **NOT** suggest trying to actually update the K-30 with a K-50 firmware... if it fails, your camera may very well become bricked. And more than likely break warranty.

I only bring this knowledge up as it does make me wonder how much different they really are.... the firmwares..
04-01-2014, 04:59 AM - 2 Likes   #183
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Although I appreciate your interest please remember the following:

QuoteOriginally posted by Shodan Quote
Don't request features. At the moment there is only one feature - get custom code running on the device.
04-03-2014, 03:31 PM - 1 Like   #184
Veteran Member




Join Date: May 2012
Posts: 733
I finally got to work on the O-GPS1 protocol but it turns out it was not as straightforward as I was hoping. The communication seems to work in the exact same way as the P-TTL communication in terms of the synchronisation pulses, the formatting of the bits and so on.

Here is just a preview of what I am seeing - but I haven;t understood much of it yet - it will need some more time.

From what I can see the camera still starts off sending and expecting data to/from the flash but the flash return is just empty (because the flash isn't there) whereas the camera then proceeds anyway to send the ISO, focal length, aperture and such details to the non existent flash a few time but after a few tries just sends all zeros in that slot.

What changes with the GPS is that after conclusion of that sequence the exchange between the GPS and camera then takes place. It is still early for me to figure out what exactly is going on at this point. There is no obvious NMEA encoded as ASCII in the bit sequences but I haven;t ruled out it being buried in there somewhere.

Just to get an idea, this is a typical sequence I get from my decoder with the P-TTL flash in place:
<-+_-+-+_014411380D0C_-+_-+_08638750004_-+-+-+-+-+_E8D0_-+4C50_00-+>
The first sequence being the data the flash sends to the camera and the second one is from thecamera to the flash. The third one I can;t quite remember what it was but I think it has something to do with AF


Whereas this is a typical sequence with the GPS:
<-+_-+-+_00000000_-+_-+_000000000_-+4C50_C0-+-+4C14_C036FF007F-+>
Here we see the first two sequences being all zeros, as there is n othing to communicate between the flash and the camera, but it seems that slot is still reserved for that. Then there is the same 4C50 as with the flash, which I think is the closing sequence of the flash communication, but now instead of being followed by a final 00 we get a C0, presumably signalling the start of GPS communication. The main content of the message being the C036FF007F in this example. A few of these messages are sent every second, with the C036 being always present and the remaining characters changing between one message and the next.

In addition there is occasionally a longer ,essage such as this one:
<000000300000000000000000000000036FF30DF800000000000018060FF8000007F80E6FFC07F80CC7F9980F9FFFFE07F800000F7-+-+4C14_C036FF006D-+>
I'm not sure how often it occurs but it seems somewhat irregular.


On another note I think I figured out why the extension cables cause problems and also why some third party flashes can be unreliable. It is just a silly 'mechanical' problem regarding the way the ground terminal connects and black paint on the camera hotshoe bracket. It seems the way grounding is achieved is not so standardised and where some accessories put the ground terminal coincides with where Pentax puts black paint and where Pentax puts the metal contact the accessoriy has plastic or anodised aluminium.

04-04-2014, 12:43 AM   #185
Marketplace Reseller
vjacesslav's Avatar

Join Date: Apr 2009
Location: Košice, Czechoslovakia, Europe Union
Photos: Gallery
Posts: 366
I have to say that this is something I do not understand, but i am so glad that You are working on it... I have to say only: Wauuuuuu
04-04-2014, 09:58 AM - 1 Like   #186
Site Supporter
Site Supporter
geomez's Avatar

Join Date: Mar 2013
Location: Roanoke, Virginia, USA
Photos: Gallery
Posts: 1,760
QuoteOriginally posted by vjacesslav Quote
I have to say that this is something I do not understand, but i am so glad that You are working on it... I have to say only: Wauuuuuu
My sentiments exactly.
04-04-2014, 12:35 PM - 1 Like   #187
New Member




Join Date: Oct 2012
Posts: 11
Donated, keep up the awesome work!

04-08-2014, 06:20 AM - 1 Like   #188
Senior Member
Danas_Anis's Avatar

Join Date: Jan 2013
Photos: Gallery | Albums
Posts: 198
I keep my fingers crossed for this to eventually open up the door to boost video capabilities in k-30, just to change some digits for the bit rate, that is all This is so promising that I send all the positive energy to your place for success on whatever hacking you are doing and that more people would join this hacking and eventually result in an alternative to magic lantern. a first boosting solution for Pentax cameras!
04-08-2014, 06:22 AM   #189
Veteran Member
mtux's Avatar

Join Date: Apr 2013
Location: the Netherlands
Photos: Gallery | Albums
Posts: 2,444
QuoteOriginally posted by Danas_Anis Quote
This is so promising that I send all the positive energy to your place for success
I think sending some money donation along those energy would help too.
04-08-2014, 06:33 AM   #190
Senior Member
Danas_Anis's Avatar

Join Date: Jan 2013
Photos: Gallery | Albums
Posts: 198
QuoteOriginally posted by mtux Quote
I think sending some money donation along those energy would help too.
will do so once my card, capable of international accounting, arrives.
04-08-2014, 09:26 AM   #191
Pentaxian
Class A's Avatar

Join Date: Aug 2008
Location: Wellington, New Zealand
Posts: 11,251
QuoteOriginally posted by Shodan Quote
Someone to tell me the offsets to icons/text images in the binary. This would rapidly increase the amount of functions I can find!
Did you see the respective post by zezo in the old "hack" thread?

He used raw2tiff to find images and was (very) successful. The links to his images do not work anymore, but I saved a copy of the 144.png file. Let me know if it would help. You can see a lot of images and icons in this one.
04-08-2014, 09:53 AM   #192
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Status update

I'm not dead. Been hacking away getting to a point where I can run my own code. I'm getting close here is a teaser.

QuoteQuote:
He used raw2tiff to find images and was (very) successful. The links to his images do not work anymore, but I saved a copy of the 144.png file. Let me know if it would help. You can see a lot of images and icons in this one.
I'm interested in this. I'm trying to get some code to run at the moment. If someone could run this and find me the start position for any image this would be really helpful!
Attached Images
 
04-11-2014, 05:39 AM   #193
New Member




Join Date: Apr 2014
Posts: 1
Hi, I'm a new user.
I'm italian e i've a Pentax K5.
Sorry for my bad english.

I have not figured out if there is a firmware to install for the k5.

anyway good job
04-12-2014, 08:44 AM   #194
Site Supporter
Site Supporter




Join Date: Oct 2008
Location: Wilmore, KY
Posts: 376
So glad to see work toward making these great cameras even greater by unlocking all their hidden possibilities.

Donated Ł25 toward your K30 lab-rat camera
04-12-2014, 10:43 AM - 2 Likes   #195
Forum Member
Shodan's Avatar

Join Date: Feb 2014
Posts: 92
Original Poster
Yay, I've just bought another k-30 to hack on! Thanks to all who have donated.

I believe I've reversed enough code to write my own memory dumping routine that I'll patch into the debug mode somewhere. If that works it will be a big milestone - custom code running on the camera!


I've got a roadmap / plan that I'll publish when I get it running.
Closed Thread

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!
bit, camera, card, chdk, code, data, debug, dslr, file, firmware, flash, fp, gps, instruction, k-30, k-50, k30, love, magic, module, notes, pentax, photography, pin, pins, sd, text
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
NY area SDM Hacking dappercorpmonkey Troubleshooting and Beginner Help 11 07-26-2013 04:15 PM
Nature Resurrecting some old images - Angry Birds! Julie Post Your Photos! 4 03-07-2013 10:41 AM
k-5 firmware hacking anyone? secateurs Pentax K-5 & K-5 II 33 10-05-2012 03:05 PM
Hacking lens' memory plis Visitors' Center 6 11-28-2011 10:58 PM
Resurrecting a MX and Super ME LiMPiNg Film SLRs and Compact Film Cameras 4 09-27-2011 02:55 PM



All times are GMT -7. The time now is 03:55 AM. | 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