It'd be nice to latch into the camera without a firmware flash. If you haven't seen or heard of CHDK for Canon P&S cameras check it out here. They've taken some P&S cameras and add some great features for them. Some of them I am envious of (DOF calculator, live three color histogram with highlight/dark warning areas flashing again while live, raw in a pocket camera supporting DNG, bracketing by Tv or Av only, scripting, games, text reader, etc). The best part is that it didn't require a firmware flash - it's loaded off the SD card when it's turned on. I'm sure it's got to be possible.
It'd be nice to latch into the camera without a firmware flash. If you haven't seen or heard of CHDK for Canon P&S cameras check it out here. They've taken some P&S cameras and add some great features for them. Some of them I am envious of. The best part is that it didn't require a firmware flash - it's loaded off the SD card when it's turned on. I'm sure it's possible.
I don't like their approach. As I know this project from their start. It took them amazing amount of time even to do something very simple. Another thing is that most of the features of CHDK are useless for most people.
Canon P&S things are very similar and you know that they failed to work in DSLR field. They are very smart and good guys, yes. But I prefer simple ways first.
I have link (in Links page) to linux open source software that do similar thing.
It easear to understand.
But it is not related to firmware, it is just USB protocol with special commands.
DLL provided on my site is much more intersting (it is used in service adjustment software).
Here's something that was started with the K10d a while back K10d Firmware Fun. I know it's not the K20d, but it is a head start with the hardware and a little memory mapping. It kind of fizzled out when the K20d rumors started.
Here's something that was started with the K10d a while back K10d Firmware Fun. I know it's not the K20d, but it is a head start with the hardware and a little memory mapping. It kind of fizzled out when the K20d rumors started.
:-)
Memory map and many other information came from this pages (see my site, it have source information below some pages).
But they are not maintained anymore, last update in 2007.
MAP file is lost, and it is most valuable thing.
Rule 24 went from DPReview forum to some private forum that is not available anymore and this is pity as it could save us some time.
If I remember right, the MAP file was just in it's infancy. All I remember ever seeing on it were the strings found in the code. Something that could be done with a hex editor. Other than that, no real code disassembly or commented blocks. I'm not sure if you could consider it a loss or not. I might have a copy sitting on a backup somewhere in my house (God help me find it though :-))
If I remember right, the MAP file was just in it's infancy. All I remember ever seeing on it were the strings found in the code. Something that could be done with a hex editor. Other than that, no real code disassembly or commented blocks. I'm not sure if you could consider it a loss or not. I might have a copy sitting on a backup somewhere in my house (God help me find it though :-))
It could useful anyway. Even few found routlines could be a good start.
Fortunately we have addresses of some from old thread at DPReview forum. See Quotes page on my site.
Good new is that Pentax Km firmware uses exactly same encryption as K20D/GX20, so it'll be decrypted as soon as we manage to break this encryption. And it is not too advanced. For example, for some blocks all differencies have fixed last three bits, and ALWAYS last bit is fixed for rach block (and changes from 0 to 1 for each consecutive pair). This and DLL is reason that I am pretty sure that soon we'll have decrypted firmware for all this DSLRs.
Do you know if anyone has bothered to pull out the functions of the DLL (I can't read Russian)? I just did and among the hundred or so functions there is a specific function called "CamReadCPUMemory". There's also "CamReadEEPROM" and "CamReadMemory". Truly it couldn't be that easy now could it?
Do you know if anyone has bothered to pull out the functions of the DLL (I can't read Russian)? I just did and among the hundred or so functions there is a specific function called "CamReadCPUMemory". There's also "CamReadEEPROM" and "CamReadMemory". Truly it couldn't be that easy now could it?
Why do you need to read something in Russian?
Of course I am able to see exported functions and instantly look at disassembled versions. As you must understand this functions require parameters. And experimenting.
This DLL is placed on my site and I specially mentioned such functions on Encryption page.
Awesome, I applaud your efforts. I used to do some embedded system firmware programming so perhaps I can try to help you out. Still haven't actually bought a Pentax yet though!
Awesome, I applaud your efforts. I used to do some embedded system firmware programming so perhaps I can try to help you out. Still haven't actually bought a Pentax yet though!
Look at encryption part, please. It require to have some brains only :-)
I think it must not be very hard as some patter could be seen.