supplierdeeply

350d boot from cf card

  • 510 Replies
  • 219839 Views
Re: 350d boot from cf card
« Reply #340 on: 23 / November / 2010, 23:35:14 »
Advertisements
I re-wrote the bootflag.fir file to fix the problems and to check for v1.0.3, and my version seems to work fine.  An autoexec.bin file loads and executes.

But the wiki says that when I insert a bootable CF card but with no autoexec.bin file present, I will get an error message saying there's no autoexec.bin file.  Well, I don't get any such message.  In fact, the camera is completely dead, with no display and no lights.  And I have to cycle the battery to get the camera back to normal.  It's as though the camera is in an infinite loop as a result of there being no autoexec.bin file present.

What am I missing here?  Is the wiki wrong about that error message, or is it just me?

Re: 350d boot from cf card
« Reply #341 on: 24 / November / 2010, 09:11:18 »
About the shutter release count - mine shows 21780, which is a good bit lower than I expected.  I just got the camera, but I'm the third owner that I know of, and just would have expected a higher number.  Anybody else get a suspiciously low number?

One reason it looks suspicious is that I'm on folder 643, which if they started at 100 would indicate over 50k shutters.  But I guess that can happen if someone moved a CF from another camera which had a higher count.  Well if my release count is right, is there any way to change the folder number back to what would be right for the release count?

I'll try to post my revised boot flag .fir stuff later today, assuming you can still attach files here.

Re: 350d boot from cf card
« Reply #342 on: 24 / November / 2010, 18:04:39 »
In case anyone is interested, attached is bootflg2.zip, which contains bootflg2.fir - my reworking of the bootflag.fir file.  This version checks for the presence of firmware v1.0.3, and also checks the initial status of the boot flag area, before proceeding with the process of modifying the boot flag.  There's a ReadMe.txt included with more detail.  Oh, and it does actually zero out those two buffers instead of pretending to.  Commented C code is included.

This does work on my camera, but I make no other promises.  The new file still depends on the two subroutines called by the original, and we still don't know anything about them.  So I think some risk remains.

I would appreciate any comments or suggestions from anyone who wants to review the C code.  I don't really know much about C, but did confirm that the object code does what I wanted - see bootflg2.asm.



*

Offline Otm

  • *
  • 4
Re: 350d boot from cf card
« Reply #343 on: 25 / November / 2010, 12:03:28 »
@peabody
Thank you for your effort and sharing your investigations. I don't belive you would find a way - so i'm very surprised.
Both of my 350d worked with the 'old' modifikation - so there's no need to try yours. But i hope you will go on and maybe improve the whole functionality of the hacked firmware.


Re: 350d boot from cf card
« Reply #344 on: 26 / November / 2010, 12:28:42 »
I've just started using the latest krazyklaus version - 20101011 - and have a couple dumb questions that I can't find answers to in the thread.

After you bring up the INFO screen, you can no longer exit that screen by pressing INFO again.  Is there an approved exit method, or just whatever works?

In INFO, on the second line in place of what used to be the AEB scale, there's now a scale that goes from minus 1 2/3 to + 2 1/3, and the indicator is on +1/3.  It appears this no longer has anything to do with AEB, but I can't find anything that's currently set at +1/3, or any setting that changes the indicator.  What is this scale?

Thanks

Re: 350d boot from cf card
« Reply #345 on: 29 / November / 2010, 15:28:33 »
the scale is a bug, it doesn't ever change, I have no idea what causes it.
half press the shutter button to exit any camera menu, with or without the hack.

Re: 350d boot from cf card
« Reply #346 on: 30 / November / 2010, 07:27:27 »
I just read this whole topic and could not really find a solution to the problem I have.

Recently I modded my 350D by removing its IR filter, so I can start using it for infrared photography. However, since this IR filter is now missing, the autofocus does no longer work correctly, which is kind of logical.

However, I would like to install a custom firmware and modify this firmware myself by changing the way the camera focuses. Does anybody have a clue how I can do this?

Also, I looked at the source code and could only find the code that adds the extra functions to the camera. I could not find the actual piece of code where the focusing is done.

Could anybody here help me out and give me some pointers?

Re: 350d boot from cf card
« Reply #347 on: 30 / November / 2010, 12:11:16 »
when you do the hack, you change only some bits in the firmware, allowing the camera to boot code from the cf memory card. the rest of the hack is contained in the file autoexec.bin. it's loaded and executed when the camera boots. it only contains the additional code, as you said.
for what you want to do, you need to change the actual firmware (where we only change the boot flag). that's much more dangerous because you can easily destroy your camera.

I have seen instructions on the internet to remove the IR filter that account for the difference in auto focusing and try to preserve the af function. I don't know if this helps you, (I don't know the specifics) but maybe you can find some info that tells you what you can do on the hardware part.


*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 350d boot from cf card
« Reply #348 on: 30 / November / 2010, 18:00:15 »
You may try to find the amount of misfocus correction; after the camera focused, you call a routine which rotates manually the focus motor. I don't know if this can be done on the 350D; only know that Magic Lantern implemented rack focus, which also rotates the focus motor.

Since you don't have any feedback, don't expect very good results, but I think it will be better than it's now.

For a (much easier) hardware solution, see here: http://www.astrosurf.org/buil/autofocus/adjust.htm . Don't know if the amount of correction is enough for IR, though.

Re: 350d boot from cf card
« Reply #349 on: 01 / December / 2010, 16:02:07 »
Okay, so changing the actual firmware is a dangerous job, I understand that. Is what a1ex says do-able? Is there a way to create my own routine that actually drives the focus motor? Can this routine then be bound to one single button, like let's say the star button which I hardly use? So no menu interventions?

Also, I've seen the link you gave me. But I read that this method only rotates it, where I actually want to bridge the gap that removing the hot mirror has created, which is physically impossible (I mounted the sensor in the camera myself ;-)). Do you think this will actually fix it? Then maybe I should just try this!

 

Related Topics