Author Topic: Canon 60D  (Read 130596 times)

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #100 on: April 14, 2018, 04:48:09 AM »
It worked perfectly. Thanks!

5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #101 on: April 14, 2018, 09:30:01 AM »
Got it:


Here's a behind the scenes look:


Test build on my downloads page. [EDIT] This is an early test build without a .FIR file so if you want to try it out make sure ML is running on your 60D.111 before doing the Canon firmware update to 1.1.2. ML-SETUP.FIR updated so you can install ML using the test build.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #102 on: April 14, 2018, 05:28:42 PM »
Got it:


Here's a behind the scenes look:


Test build on my downloads page. This is an early test build without a .FIR file so if you want to try it out make sure ML is running on your 60D.111 before doing the Canon firmware update to 1.1.2.

tested and running just fine on my 60d 1.1.2
i tested on 2 different memory card. 1 with ML preinstalled 1 without ML.
one without ML i made it work using EOScard

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #103 on: April 14, 2018, 06:09:38 PM »
...i made it work using EOScard

a1ex made a ML-SETUP.FIR for 1.1.2 so with the latest test build you should be able to install ML -- which basically sets the bootflag on both the camera and card.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #104 on: April 14, 2018, 06:37:59 PM »
a1ex made a ML-SETUP.FIR for 1.1.2 so with the latest test build you should be able to install ML -- which basically sets the bootflag on both the camera and card.

removed ML from my camera, formatted the card
reinstalled using the latest build
all working perfectly!
thanks!

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #105 on: April 14, 2018, 09:02:53 PM »
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #106 on: April 18, 2018, 07:51:39 PM »
@dfort
Been using the latest FIR 1.1.2 build quite a bit
Passes all STUBTEST but in LUATEST the camera turn off by itself when "Setting ISO to random values..."

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #107 on: April 18, 2018, 08:09:30 PM »
Let's try the newer tests that are in the lua_fix branch. Uploaded a test build to my downloads page.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #108 on: April 19, 2018, 07:09:57 AM »
@dfort
Code: [Select]
===============================================================================
ML/SCRIPTS/api_test.lua - 2018-4-19 13:20:38
===============================================================================

Strict mode tests...
Strict mode tests passed.

Generic tests...
arg = table:
  [0] = "api_test.lua"
camera = table:
  shutter = table:
    raw = 99
    apex = 5.375
    ms = 24
    value = 0.024097
  aperture = table:
    raw = 22
    apex = 1.75
    value = 1.8
    min = table:
      raw = 22
      apex = 1.75
      value = 1.8
    max = table:
      raw = 80
      apex = 9.
      value = 22.6
  iso = table:
    raw = 80
    apex = 6.
    value = 200
  ec = table:
    raw = 0
    value = 0
  flash = true
  flash_ec = table:
    raw = 0
    value = 0
  kelvin = 5200
  mode = 3
  metering_mode = 1
  drive_mode = 0
  model = "Canon EOS 60D"
  model_short = "60D"
  firmware = "1.1.2"
  temperature = 163
  gui = table:
    menu = false
    play = false
    play_photo = false
    play_movie = false
    qr = false
    idle = true
  bulb = function: p
  wait = function: p
  burst = function: p
  reboot = function: p
  shoot = function: p
event = table:
  pre_shoot = nil
  post_shoot = nil
  shoot_task = nil
  seconds_clock = nil
  keypress = nil
  custom_picture_taking = nil
  intervalometer = nil
  config_save = nil
console = table:
  write = function: p
  clear = function: p
  hide = function: p
  show = function: p
lv = table:
  enabled = false
  paused = false
  running = false
  zoom = 1
  overlays = false
  stop = function: p
  pause = function: p
  resume = function: p
  wait = function: p
  info = function: p
  start = function: p
lens = table:
  name = "EF50mm f/1.8 II"
  focal_length = 50
  focus_distance = 0
  hyperfocal = 73199
  dof_near = -109905601
  dof_far = 1000000
  af = true
  af_mode = 0
  autofocus = function: p
  focus = function: p
display = table:
  idle = nil
  height = 480
  width = 720
  notify_box = function: p
  print = function: p
  load = function: p
  draw = function: p
  off = function: p
  rect = function: p
  on = function: p
  clear = function: p
  pixel = function: p
  circle = function: p
  screenshot = function: p
  line = function: p
key = table:
  last = 10
  wait = function: p
  press = function: p
menu = table:
  visible = false
  open = function: p
  get = function: p
  close = function: p
  select = function: p
  block = function: p
  set = function: p
  new = function: p
movie = table:
  recording = false
  stop = function: p
  start = function: p
dryos = table:
  clock = 42
  ms_clock = 42554
  image_prefix = "IMG_"
  dcim_dir = table:
    exists = true
    create = function: p
    children = function: p
    files = function: p
    parent = table:
      exists = true
      create = function: p
      children = function: p
      files = function: p
      parent = table:
        exists = true
        create = function: p
        children = function: p
        files = function: p
        parent = nil
        path = "B:/"
      path = "B:/DCIM/"
    path = "B:/DCIM/100CANON/"
  config_dir = table:
    exists = true
    create = function: p
    children = function: p
    files = function: p
    parent = table:
      exists = true
      create = function: p
      children = function: p
      files = function: p
      parent = table:
        exists = true
        create = function: p
        children = function: p
        files = function: p
        parent = nil
        path = "B:/"
      path = "ML/"
    path = "ML/SETTINGS/"
  ml_card = table:
    cluster_size = 32768
    drive_letter = "B"
    file_number = 2208
    folder_number = 100
    free_space = 31119808
    type = "SD"
    path = "B:/"
    _card_ptr = userdata
  shooting_card = table:
    cluster_size = 32768
    drive_letter = "B"
    file_number = 2208
    folder_number = 100
    free_space = 31119808
    type = "SD"
    path = "B:/"
    _card_ptr = userdata
  date = table:
    sec = 39
    min = 20
    hour = 13
    wday = 6
    isdst = false
    day = 19
    yday = 1
    year = 2018
    month = 4
  call = function: p
  rename = function: p
  directory = function: p
  remove = function: p
interval = table:
  time = 10
  count = 0
  running = false
  stop = function: p
battery = table:
  level = 35
  id = 1
  performance = 2
  time = nil
  drain_rate = 33
task = table:
  create = function: p
  yield = function: p
property = table:
Generic tests completed.

Module tests...
Testing file I/O...
Copy test: autoexec.bin -> tmp.bin
Copy test OK
Append test: tmp.txt
Append test OK
Rename test: apple.txt -> banana.txt
Rename test OK
Rename test: apple.txt -> ML/banana.txt
Rename test OK
File I/O tests completed.

Testing Canon GUI functions...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Exit MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Start LiveView...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Pause LiveView...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Pause LiveView...
Resume LiveView...
Pause LiveView...
Enter PLAY mode...
Exit PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Stop LiveView...
Enter MENU mode...
Exit MENU mode...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Start LiveView...
Enter PLAY mode...
Exit PLAY mode...
Pause LiveView...
Enter PLAY mode...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Enter MENU mode...
Exit MENU mode...
Pause LiveView...
Resume LiveView...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Enter PLAY mode...
Enter MENU mode...
Exit MENU mode...
Pause LiveView...
Resume LiveView...
Pause LiveView...
Enter PLAY mode...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Enter MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Stop LiveView...
Start LiveView...
Enter PLAY mode...
Enter PLAY mode...
Enter MENU mode...
Exit MENU mode...
Enter MENU mode...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Stop LiveView...
Start LiveView...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Canon GUI tests completed.

Testing ML menu API...
Menu tests completed.

Testing picture taking functions...
Snap simulation test...
Single picture...
B:/DCIM/100CANON/IMG_2209.CR2 not found.
B:/DCIM/100CANON/IMG_2209.JPG: 5662879
Two burst pictures...
Ideally, the camera should be in some continuous shooting mode (not checked).
B:/DCIM/100CANON/ABC_2210.CR2 not found.
B:/DCIM/100CANON/ABC_2210.JPG: 5729078
B:/DCIM/100CANON/ABC_2211.CR2 not found.
B:/DCIM/100CANON/ABC_2211.JPG: 5664187
Bracketed pictures...
B:/DCIM/100CANON/IMG_2212.CR2 not found.
B:/DCIM/100CANON/IMG_2212.JPG: 5934052
B:/DCIM/100CANON/IMG_2213.CR2 not found.
B:/DCIM/100CANON/IMG_2213.JPG: 5712465
B:/DCIM/100CANON/IMG_2214.CR2 not found.
B:/DCIM/100CANON/IMG_2214.JPG: 754961
Bulb picture...
Elapsed time: 13157
B:/DCIM/100CANON/IMG_2215.CR2 not found.
B:/DCIM/100CANON/IMG_2215.JPG: 363953
Picture taking tests completed.

Testing multitasking...
Only one task allowed to interrupt...
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Multitasking tests completed.

Testing half-shutter...
Half-shutter test OK.

Testing module 'lv'...
LiveView is running; stopping...
Starting LiveView...
Overlays: Canon
Overlays: Canon
Overlays: ML
Overlays: ML
Overlays: disabled
Overlays: Canon
Overlays: Canon
Overlays: Canon
Overlays: disabled
Overlays: ML
Overlays: disabled
Overlays: Canon
Overlays: Canon
Overlays: Canon
Overlays: Canon
Setting zoom to x1...
Setting zoom to x5...
Setting zoom to x10...
Setting zoom to x5...
Setting zoom to x1...
Setting zoom to x10...
Setting zoom to x1...
Pausing LiveView...
Resuming LiveView...
Stopping LiveView...
LiveView tests completed.


Testing lens focus functionality...
Autofocus outside LiveView...
Focus distance: 0
Autofocus in LiveView...

The test stops after finishing the autofocus test

Edit:
The test completes if i remove the lens but the screen is blank when it asks to switch to Av mode then Movie mode (im just guessing what to do hehe)

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #109 on: April 19, 2018, 07:47:23 AM »
We had similar issues running the test on the 650D. So you got to the end of the test?
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #110 on: April 19, 2018, 09:46:55 AM »
We had similar issues running the test on the 650D. So you got to the end of the test?

I can get to the end only if i remove the lens.
I tried with 2 different lens.

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #111 on: April 19, 2018, 03:21:54 PM »
Something doesn't look quite right here:

Code: [Select]
lens = table:
  name = "EF50mm f/1.8 II"
  focal_length = 50
  focus_distance = 0
  hyperfocal = 73199
  dof_near = -109905601
  dof_far = 1000000
  af = true
  af_mode = 0

Note the difference with a successful run on the 700D:

Code: [Select]
lens = table:
  name = "EF28-105mm f/3.5-4.5 USM"
  focal_length = 30
  focus_distance = 1410
  hyperfocal = 8518
  dof_near = 1224
  dof_far = 1666
  af = true
  af_mode = 0

Now the question is if the same issue is present in the 1.1.1 firmware. Could you try a regression test?
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

Walter Schulz

  • Hero Member
  • *****
  • Posts: 6009
Re: Canon 60D
« Reply #112 on: April 19, 2018, 03:31:17 PM »
Does EF 50/1.8 II report focus distance to cam?
EDIT: Checked, it does not.

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #113 on: April 19, 2018, 05:09:05 PM »
I also tried with tamron 17-50 vc. Same result
I will retest using the kit lens

Edit:
@dfort i forgot that my kitlens AF is broken
cant complete the test

jai554

  • New to the forum
  • *
  • Posts: 18
Re: Canon 60D
« Reply #114 on: Yesterday at 05:56:23 PM »
Can anyone help test the latest build?
I can't test it :(

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #115 on: Yesterday at 06:31:06 PM »
There's also issues completing the lens tests on the 650D. I'll post scripts to help us see what's going on with that. Just give me some time to get to it.
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112

dfort

  • Developer
  • Hero Member
  • *****
  • Posts: 2798
Re: Canon 60D
« Reply #116 on: Yesterday at 11:40:51 PM »
Ok--let's try to isolate that problem area. Let's start by running only the test that is failing. On your card under ML/scripts you'll see something like this:



Open up the api_test.lua file with a text editor and scroll down to the end, you'll see this:

Code: [Select]
function api_tests()
    menu.close()
    console.clear()
    console.show()
    test_log = logger("LUATEST.LOG")

    -- note: each test routine must print a blank line at the end
    strict_tests()
    generic_tests()
   
    printf("Module tests...\n")
    test_io()
    test_camera_gui()
    test_menu()
    test_camera_take_pics()
    sleep(1)
    test_multitasking()
    test_keys()
    test_lv()
    test_lens_focus()
    test_camera_exposure()
    test_movie()
   
    printf("Done!\n")
   
    test_log:close()
    key.wait()
    console.hide()
end

Comment out all the tests that you don't want to run. In our case we only want the test_lens_focus() so put a "--" in front of all the other tests:

Code: [Select]
function api_tests()
    menu.close()
    console.clear()
    console.show()
    test_log = logger("LUATEST.LOG")

    -- note: each test routine must print a blank line at the end
    -- strict_tests()
    -- generic_tests()
   
    printf("Module tests...\n")
    -- test_io()
    -- test_camera_gui()
    -- test_menu()
    -- test_camera_take_pics()
    -- sleep(1)
    -- test_multitasking()
    -- test_keys()
    -- test_lv()
    test_lens_focus()
    -- test_camera_exposure()
    -- test_movie()
   
    printf("Done!\n")
   
    test_log:close()
    key.wait()
    console.hide()
end

Make sure you do a shutter half-press when the test asks for it.

Here's how a couple of lenses did on the 700D. First one is the 28-105mm and the second is the 50mm 1.8 STM lens.

Code: [Select]
===============================================================================
ML/SCRIPTS/API_TEST.LUA - 2018-4-22 14:35:43
===============================================================================

Module tests...

Testing lens focus functionality...
Autofocus outside LiveView...
Focus distance: 1860
Autofocus in LiveView...
Please trigger autofocus (half-shutter / AF-ON / * ).
19...18...17...16...15...Autofocus triggered.
Autofocus completed.
Focus distance: 2590
Focusing backward...
Focus distance: 1860
Focus motor position: 0
Focusing forward with step size 3, wait=true...
...
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 3, wait=true...
........
Focus distance: 655350
Focus motor position: 0
Focus range: 3 steps forward, 8 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 3, wait=false...
.....................................
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 3, wait=false...
..................................
Focus distance: 655350
Focus motor position: 0
Focus range: 37 steps forward, 34 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=true...
.....................................................
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 2, wait=true...
...................................................
Focus distance: 655350
Focus motor position: 0
Focus range: 53 steps forward, 51 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=false...
...
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 2, wait=false...
...
Focus distance: 655350
Focus motor position: 0
Focus range: 126 steps forward, 124 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=true...
...
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 1, wait=true...
...
Focus distance: 655350
Focus motor position: 0
Focus range: 212 steps forward, 212 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=false...
...
Focus distance: 470
Focus motor position: 0
Focusing backward with step size 1, wait=false...
...
Focus distance: 655350
Focus motor position: 0
Focus range: 303 steps forward, 310 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.

Focus test completed.

Done!

===============================================================================
ML/SCRIPTS/API_TEST.LUA - 2018-4-22 14:38:10
===============================================================================

Module tests...

Testing lens focus functionality...
Autofocus outside LiveView...
Focus distance: 3500
Autofocus in LiveView...
Please trigger autofocus (half-shutter / AF-ON / * ).
19...18...17...Autofocus triggered.
Autofocus completed.
Focus distance: 3500
Focusing backward...
Focus distance: 655350
Focus motor position: 0
Focusing forward with step size 3, wait=true...
.........................
Focus distance: 340
Focus motor position: 0
Focusing backward with step size 3, wait=true...
.........................
Focus distance: 655350
Focus motor position: 0
Focus range: 25 steps forward, 25 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 3, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focusing backward with step size 3, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focus range: 162 steps forward, 163 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=true...
...
Focus distance: 1100
Focus motor position: 0
Focusing backward with step size 2, wait=true...
...
Focus distance: 1100
Focus motor position: 0
Focus range: 164 steps forward, 164 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focusing backward with step size 2, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focus range: 419 steps forward, 421 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=true...
...
Focus distance: 1100
Focus motor position: 0
Focusing backward with step size 1, wait=true...
...
Focus distance: 1100
Focus motor position: 0
Focus range: 1055 steps forward, 1055 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focusing backward with step size 1, wait=false...
...
Focus distance: 1100
Focus motor position: 0
Focus range: 1057 steps forward, 1058 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.

Focus test completed.

Done!
5D3.* 7D.* 700D.115 EOSM.* EOSM2.103 500D.112