500d development - page 172 - DSLR Hack development - CHDK Forum

500d development

  • 2487 Replies
  • 901244 Views
*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #1710 on: 08 / November / 2011, 11:27:58 »
Advertisements
There's no screenshot countdown, only LED blinking.

That's the first time I hear you can't open the menu in LV.

You can adjust focus peaking from VRAM menu (adjust lv2hd.tx to move it horizontally).

You are supposed to read help texts from the menu ;)

Re: 500d development
« Reply #1711 on: 08 / November / 2011, 11:53:15 »
a1ex: The autoexec doesn't seem to work for me. The camera won't boot. I use the 27 Oct unified build. The camera is totally dead with it.
Canon EOS 500D
Sigma 17-50mm f/2.8 OS
Canon EF 50mm f/1.8 +++ more

*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #1712 on: 08 / November / 2011, 11:58:17 »
Are you sure? Check file size (988k).

Re: 500d development
« Reply #1713 on: 08 / November / 2011, 12:16:37 »
weird, now it works. I get screenshots, but their not what I see on screen. Here is one

Edit: I'm not able to convert the 422 file, but here it is. At least I think it's the right one :/
« Last Edit: 08 / November / 2011, 12:40:00 by ats1995 »
Canon EOS 500D
Sigma 17-50mm f/2.8 OS
Canon EF 50mm f/1.8 +++ more


Re: 500d development
« Reply #1714 on: 08 / November / 2011, 12:25:48 »
weird, now it works. I get screenshots, but their not what I see on screen. Here is one
You should attach the .422 file as well so Alex can see the real image that there's on the screen :)

*

Offline PHrag

  • *
  • 33
    • Flickr
Re: 500d development
« Reply #1715 on: 08 / November / 2011, 12:38:04 »
There's no screenshot countdown, only LED blinking.
I know, that's what I meant.  After playing with it for a bit, both ML menu and screenshot break when global draw is on and Zebra, focus peak or false color is selected (or magic zoom is being displayed); Ghost image, spotmeter and Histogram/wave is fine(and magic zoom too, when not showing stuff). Another thing is there's huge red cross (like on  ats1995's screen, but complete) filling the screen. Also camera crashes when global draw is enabled (even if it's alone) and shutter is half pressed to clearscreen.
Canon 500D (T1i)
EF-S 18-55 (kit)
Flickr

*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: 500d development
« Reply #1716 on: 08 / November / 2011, 12:48:28 »
If the image doesn't match what you see on the screen, take a photo with a camera phone.

If you disable clearscreen, does it still crash?

With the attached autoexec, does it crash? Many elements from LiveV menu are disabled.

« Last Edit: 08 / November / 2011, 12:52:41 by a1ex »

*

Offline Coutts

  • *****
  • 538
  • www.flickr.com/couttsphotog
    • Flickr
Re: 500d development
« Reply #1717 on: 08 / November / 2011, 13:01:19 »
tips for developing:

- for testing, use xx_text() in debug.c. any code inside this function will run when you click "don't click me" under the debug menu.
- use bmp_printf() in debug loop task (debug.c) to print the value of a certain location in memory if you want to nkow it's value. ie: bmp_printf( FONT_MED, 0, 100, "value of 0x1234: 0x%x", MEM(0x1234) );
- use bmp_hexdump() to view areas of memory live on screen. an example is in the debug loop task already commeneted so you know how to use it. *make sure the length viewed is a multiple of 32*
- my latest IDC file for the 500d v1.1.1 firmware can be found here: http://dl.dropbox.com/u/33161628/500d.111.0xff010000.coutts.idc.zip
- for help setting up a mac (10.6/10.7) for compiling ML / the arm-console, see my page: http://magiclantern.wikia.com/wiki/Magic_Lantern_Development_on_Mac
- use the LED to help you track where code is hanging up at. use GuiEdLedOn(); to turn the led on and GuiEdLedOff(); to turn it off (blue led that is). The stubs are already in the 500d's stubs.S file.
- audio.c still needs finished. My routine for setting gain works, but I cant figure out how to configure the chip for audio monitoring, or to toggle agc on/off (I can turn it off but that's it). This is my (incomplete) version of audio.c I was going to use only for the 500d: http://pastebin.com/NAX87R2Y
- to make a change that only applies to the 500d, use "#ifdef CONFIG_500D" and "#endif" around the block of code in question. Refer to how it's used all over ML right now for a reference.

im available to answer questions almost all day (im always on google talk either from my phone or computer throughout the day): andrewjohncoutts@gmail.com

After you work with ML for long enough you really become familiar with it. I forget who said it, but ML really is like an SDK - it gives us a framework to build from, and there are a lot of powerful tools / routines already written which are available at your disposal.
Canon 5d
Canon 50mm f/1.8
Sigma 24mm f/1.8

Flickr


Re: 500d development
« Reply #1718 on: 08 / November / 2011, 13:08:32 »
a1ex: When desableing clear screen am I not able to crash it.
Canon EOS 500D
Sigma 17-50mm f/2.8 OS
Canon EF 50mm f/1.8 +++ more

*

Offline PHrag

  • *
  • 33
    • Flickr
Re: 500d development
« Reply #1719 on: 08 / November / 2011, 13:14:09 »
With the attached autoexec, does it crash? Many elements from LiveV menu are disabled.
Yep, still does. Found out that it won't crash on first halfpress, but on second.  So you go to LV with clearscreen enabled, halfpress once, do whatever you want ( i tryied going to ML menu, canon menu, waiting 10 seconds, turning off stabilizer) and on second halfpress it crashes. If clearscreen is disabled, it won't crash.
Canon 500D (T1i)
EF-S 18-55 (kit)
Flickr

 

Related Topics