Author Topic: Canon 40D  (Read 421544 times)

heder

  • Developer
  • Member
  • *****
  • Posts: 170
  • No time for caution
Re: Canon 40D
« Reply #625 on: August 08, 2022, 06:35:32 PM »
Have you tried to logging MMIO traffic through JPCore?

I'm logging all engio functions, including a special one on the 40D assigned only to JPEG, but since you'r asking ..  I suddenly remeber I have seen multiple jpeg registers set directly without call to engio function somewhere, now I must hunt for these value!.
 
... some text here ..

heder

  • Developer
  • Member
  • *****
  • Posts: 170
  • No time for caution
Re: Canon 40D
« Reply #626 on: August 11, 2022, 12:02:45 PM »
I tracked down the missing hardcoded registers and they seem to be set correctly, these are JPEG engine registers for control, mode, macro block size, etc, all seem correctly set. If they're set incorrectly the JPEG engine wont work at all. Then I realized that one of the EngDrvsOuts functions was'nt being hijacked logged correctly, and the calls did not go into by log. Oddly I can't hijack this address (function entry) but when I hijacked the next address it worked. So I logged all registers again and looked - but without any new result. This EngDrvsOuts function is only used in some rare cases with the jpeg engine.

So I'm, currently back to changing registers. I have gathered various bits of information regarding these, but nothing conclusive yet. I now need to investigate each registers that is used in conjunction with YUV image transfer in blocks into the JPEG engine, this is around 20 registers around 0xc0f11??? and 0xc0f13???.
... some text here ..

heder

  • Developer
  • Member
  • *****
  • Posts: 170
  • No time for caution
Re: Canon 40D
« Reply #627 on: August 15, 2022, 10:42:35 AM »
Pattern is gone, but colours are screwed up, at least proof that I'm on the right track. I fighting 3 registers: 0xC0F13008, 0xC0F1300C, 0xC0F13010

... some text here ..

theBilalFakhouri

  • UHS-I
  • Developer
  • Hero Member
  • *****
  • Posts: 996
Re: Canon 40D
« Reply #628 on: August 15, 2022, 10:46:38 AM »
Nice work, keep it up!

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7365
Re: Canon 40D
« Reply #629 on: August 15, 2022, 12:08:56 PM »
 8)👍👍