Of firmware and some images

Started Oct 18, 2007 | Discussions
Rule 34 Forum Member • Posts: 98
Of firmware and some images

Hello all,

I bought a K10d about a month ago and have been enjoying it greatly.

I had downloaded the 1.30 firmware and installed it... a couple nights ago I began poking around the .bin file on my hard drive on a whim, and it appears as though all of the menu options and strings for ISO 50 and ISO 3200 as well as all of the third stops in between are in there. I believe that it will be trivial to re-enable the options to select them provided the other code for them proves to be in place as well... I've managed to get a large portion of the code disassembled last night, but am still looking for the correct piece of code... which could take a while in an 8MB file. I'll post further on this as more is discovered. I'm not particularly interested in ISO 3200 myself, but might have fun with ISO 50 and in any case this is fun for me.

And for now, a few photos I've taken recently.

Have a good day everyone...

kypainter Forum Member • Posts: 78
Re: Of firmware and some images

Curious, what did you use to disassemble it? Also, have you tried downloading and disassembling the previous versions of the firmware and comparing them for changes?

Leopoldo Gamero D Regular Member • Posts: 124
Re: Of firmware and some images

TAGGED

OP Rule 34 Forum Member • Posts: 98
Re: Of firmware and some images

kypainter wrote:

Curious, what did you use to disassemble it? Also, have you tried
downloading and disassembling the previous versions of the firmware
and comparing them for changes?

IDA supports the Fujitsu FR instruction set... I haven't messed with the previous versions yet, although I'm going to need to grab them at some point a little further along to try to work out what type of checksum information they're using, if any. I worked out a base memory address of 0x10000000 for the file from a few pointer tables, but I'm not absolutely sure that it's all meant to be loaded to the same base address yet.

The layout and data in the file seems to indicate that it was originally programmed in some type of C, so a recompile from source may have changed quite a bit depending on how much actual code was changed. The menus appear as though they might be table-driven but I haven't worked out the structure of this data yet.

Demarp Contributing Member • Posts: 851
tagged
-- hide signature --
Jim King
Jim King Veteran Member • Posts: 8,259
Tagged (nt)
-- hide signature --

Jim King - Retired Colormonger - Suburban Detroit, Michigan, USA; GMT -4h (EDT)
Pentax user for over 45 years. Photo gear and collection listed in my profile.

* * * * *
A fanatic is one who can't change his mind and won't change the subject.

  • Sir Winston Churchill

* * * * *
The difference between genius and stupidity is that genius has its limits.

  • Albert Einstein

 Jim King's gear list:Jim King's gear list
Pentax K-3 Leica M Typ 240 Pentax MX-1 Fujifilm X30 Sony RX100 III +92 more
Sila Contributing Member • Posts: 575
Tagged again ;)
-- hide signature --

Merlin is my hero!!

jmacshriver Contributing Member • Posts: 939
Hmm!

Since everyone else is tagging in, I'll do it also.

Tag your it!
--
John
Iowa, USA

Joseph Tainter Veteran Member • Posts: 9,610
Re: Hmm!

jmacshriver wrote:

Since everyone else is tagging in, I'll do it also.

What does "tagged" mean?

Joe

Optigrab Regular Member • Posts: 232
Re: Of firmware and some images

I know there would be quite a few grateful members around here if you could discover how to enable the debug mode in firmware 1.30. Possible?

jmacshriver Contributing Member • Posts: 939
Re: Hmm!

Joseph Tainter wrote:

jmacshriver wrote:

Since everyone else is tagging in, I'll do it also.

What does "tagged" mean?

Joe

Well since you posted to this thread you can search your posts and come back to it in the future. Also it is a childrens game here in the USA. Usually involving a lot of screaming and crying if one person gets "tag your it" to many times in a row.
--
John
Iowa, USA

OP Rule 34 Forum Member • Posts: 98
Re: Of firmware and some images

Optigrab wrote:

I know there would be quite a few grateful members around here if you
could discover how to enable the debug mode in firmware 1.30.
Possible?

I looked into this as well, it looks like, similar to the ISO, all the strings for this and the AF fine tuning are still in the file. This is generally a good sign. There is also what looks like a command list for some kind of simple scripting language embedded....

I'll keep this thread updated, hopefully I'll know more in the next couple of days after I've had time to finish sorting out the rest of the file.

lock Veteran Member • Posts: 6,200
Re: Of firmware and some images

Exiting development!

lock

Rosember Senior Member • Posts: 1,807
Re: Tagged again ;)

just another tag

 Rosember's gear list:Rosember's gear list
Pentax K-3 Pentax Q Pentax K20D Pentax 01 Standard Prime Pentax smc DA 18-135mm F3.5-5.6ED AL [IF] DC WR +4 more
Julian324 Regular Member • Posts: 140
Re: Tagged again ;)

yaot

Leopoldo Gamero D Regular Member • Posts: 124
Re: Of firmware and some images

and and and a new lens menu! and and and a correct focus with incandescent light and and...
sorry, a little excited...

pjp01 Regular Member • Posts: 125
Also Tagging !
-- hide signature --

Peter
Adelaide
South Australia
http://ppeter.zenfolio.com

 pjp01's gear list:pjp01's gear list
Pentax K-3 Pentax K-5 Pentax K20D Pentax K10D
nosnoop Senior Member • Posts: 1,694
Re: Of firmware and some images

Rule 34 wrote:

I looked into this as well, it looks like, similar to the ISO, all
the strings for this and the AF fine tuning are still in the file.
This is generally a good sign. There is also what looks like a
command list for some kind of simple scripting language embedded....

And if you can find out the key sequence to get into the service menu, you'd be my hero

mutleybird Senior Member • Posts: 1,095
Re: Of firmware and some images

Rule 34 wrote:

I looked into this as well, it looks like, similar to the ISO, all
the strings for this and the AF fine tuning are still in the file.
This is generally a good sign.

I wonder if there is a way to enable 16 bit RAW as the hardware is already in place? (They were supposed to enable this in a firmware update, so there may be remnants - maybe including dormant menu to choose between 12 & 16bit RAW.)

If the AF fine tuning is available, I wonder if a menu allowing a default reset can be coded, and memory access to store settings for a number of lenses is able to be customized in the existing firmware using the embedded command language.

Sinnettc
Sinnettc Veteran Member • Posts: 4,511
tag(nt)
-- hide signature --
 Sinnettc's gear list:Sinnettc's gear list
Pentax K20D Pentax Q10 Pentax smc DA* 16-50mm F2.8 ED AL (IF) SDM Pentax smc DA* 50-135mm F2.8 ED (IF) SDM Pentax smc DA* 300mm F4.0 ED (IF) SDM +2 more
Keyboard shortcuts:
FForum MMy threads