Author Topic: Canon 60D  (Read 224530 times)

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #100 on: April 14, 2018, 04:08:42 AM »
@jai554 - Great!

Steps:
  • Make sure you have ML working on your 60D, prepare a few cards with ML. Sometimes the card gets corrupted and usually smaller capacity cards cards work better than the large ones. The important part is that your camera and card bootflags are set. The ML installation does that.
  • Download the 60D Canon Firmware for Testers.zip from my downloads page: https://bitbucket.org/daniel_fort/magic-lantern/downloads/ in there you'll find the Canon firmware updaters to get you to 112 and back to 111.
  • Put both firmware updaters on either an SD card formatted without the bootflag set -or- on a ML prepared card with the bootflag set but remove the ML-SETUP.FIR file from the card.
  • Download the Portable firmware dumper from here: http://a1ex.magiclantern.fm/debug/portable-rom-dumper/autoexec.bin
  • Put the Portable firmware dumper (just an autoexec.bin file) on a card that has the bootflag set. It should dump the 1.1.2 firmware when you run it in camera. It might not work the first time or you might need to run it on a few different cards. You can read more about it here: http://www.magiclantern.fm/forum/index.php?topic=16534.0
  • Zip up the files and PM me. Don't share openly on the forum!
In case that doesn't work, try the blind dumper: https://a1ex.magiclantern.fm/bleeding-edge/blind-dumper/autoexec.bin
  • You'll need to have a valid image on your card so when you press the playback button it has something to playback.
  • Again, on a card with the bootflag set and a valid in the proper directory, put the blind dumper autoexec.bin file on the card and start the camera.
  • Press the Playback button.
  • You should get a new file in the root directory of your card, on the 500D it was named "As" and that should be the firmware dump.
If you're interested in how to port ML to a Canon firmware update you check out my tutorial.

Sorry i got a bit confused
i need to install firmware 1.1.2 first right?
then insert the card with ML working with the modified autoexec.bin?

Edit:
Nvm, i got it working now
dumping the rom :)
wish me luck haha XD

dfort

  • Guest
Re: Canon 60D
« Reply #101 on: April 14, 2018, 04:48:09 AM »
It worked perfectly. Thanks!


dfort

  • Guest
Re: Canon 60D
« Reply #102 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.

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #103 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

  • Guest
Re: Canon 60D
« Reply #104 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.

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #105 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

  • Guest
Re: Canon 60D
« Reply #106 on: April 14, 2018, 09:02:53 PM »

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #107 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

  • Guest
Re: Canon 60D
« Reply #108 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.

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #109 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

  • Guest
Re: Canon 60D
« Reply #110 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?

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #111 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

  • Guest
Re: Canon 60D
« Reply #112 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?

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8659
Re: Canon 60D
« Reply #113 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: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #114 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: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #115 on: April 22, 2018, 05:56:23 PM »
Can anyone help test the latest build?
I can't test it :(

dfort

  • Guest
Re: Canon 60D
« Reply #116 on: April 22, 2018, 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.

dfort

  • Guest
Re: Canon 60D
« Reply #117 on: April 22, 2018, 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!

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #118 on: April 23, 2018, 12:27:41 PM »
I get error everytime im trying to test "test_lens_focus()" function

Code: [Select]
ML/SCRIPTS/API_TEST.LUA:1175: assertion failed!
stack traceback:
[C]: in function 'assert'
ML/SCRIPTS/API_TEST.LUA:1175: in function 'test_lens_focus'
ML/SCRIPTS/API_TEST.LUA:1349: in function 'api_tests'
ML/SCRIPTS/API_TEST.LUA:1364: in main chunk
[API_TEST.LUA] script finished.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8659
Re: Canon 60D
« Reply #119 on: April 23, 2018, 12:36:48 PM »
Get yourself a lens reporting focus distance.

Focus dist, DOF Near and Far must contain valid entries.

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #120 on: April 23, 2018, 01:01:40 PM »
i am using tamron 17-50 2.8 vc



Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8659
Re: Canon 60D
« Reply #121 on: April 23, 2018, 01:40:19 PM »
Set cam to factory defaults. Don't forget Custom Functions (C.Fn) settings!
Remove battery after each test run.
Try different focus modes.
Report back.

dfort

  • Guest
Re: Canon 60D
« Reply #122 on: April 23, 2018, 04:37:07 PM »
All lenses should be able to complete the focus test or at least not crash the test. It looks like lua couldn't put the camera into LiveView. Try running the test in photo mode with and without LiveView. Also do a regression test--are you getting the same results with 1.1.1 as you are with 1.1.2?

[EDIT] Maybe worth mentioning we're using lua_fix experimental builds when running these tests. The lua tests in the nightly builds use a different API (application program interface).

jai554

  • New to the forum
  • *
  • Posts: 27
  • 6d - 60d user
Re: Canon 60D
« Reply #123 on: April 24, 2018, 08:27:23 AM »
All lenses should be able to complete the focus test or at least not crash the test. It looks like lua couldn't put the camera into LiveView. Try running the test in photo mode with and without LiveView. Also do a regression test--are you getting the same results with 1.1.1 as you are with 1.1.2?

[EDIT] Maybe worth mentioning we're using lua_fix experimental builds when running these tests. The lua tests in the nightly builds use a different API (application program interface).

Already tested both in liveview and outside liveview still getting the same error
only running the test_lens_focus() function

dfort

  • Guest
Re: Canon 60D
« Reply #124 on: April 24, 2018, 04:50:26 PM »
@jai554 - Could you please post the "lens = table:" block from the log file using the Tamron lens you used to make this screenshot?



Are you using photo mode? Are you starting the test in LiveView or outside of LiveView? Have you tried running test_lv() by itself? The reason I'm asking these questions is because just before the assert error you're getting is this:

Code: [Select]
    -- note: some lenses may be able to AF only in LiveView
    -- so let's check each mode regardless of the other

The tests should be able to switch to the various modes but I have found that it is best to have the camera in photo mode with LiveView off and in manual mode before running the tests. The error might be a problem getting into and out of LiveView because the lens information seems to be fine on your screenshot.