×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Atik 314L Connection Problem - Yellow Light

  • Posts: 11
  • Thank you received: 0
Hi, I let it finish this time - here's the last few lines from the log:
version 1.8
 
list --------------------
 
-> AtikCamera::list(...)
    'Atik 314L' [0x4b4, 0xdf2c] found...
 -> AtikCameraImpl::AtikCameraImpl(..., Atik 314L, 2)
     maxPacketSize = 8388608
 <- AtikCameraImpl::AtikCameraImpl
<- AtikCamera::list 1
 
open Atik 314L --------------------
 
-> AtikCameraImpl::open()
    libusb_claim_interface() -> LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
    libusb_set_interface_alt_setting() -> LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 -> AtikCameraImpl::writeFW()
     cpu stopped 1
     cpu started 1
 <- AtikCameraImpl::writeFW 1
 -> AtikCameraImpl::setPortDirection(0, 0x9f)
 <- AtikCameraImpl::setPortDirection 1
 -> AtikCameraImpl::setPortState(0, 0x80)
 <- AtikCameraImpl::setPortState 1
 -> AtikCameraImpl::i2cSetTimeout(50)
 <- AtikCameraImpl::i2cSetTimeout 1
 -> AtikCameraImpl::setParTimeout(50)
 <- AtikCameraImpl::setParTimeout 1
 -> AtikCameraImpl::i2cSetSpeed(0)
 <- AtikCameraImpl::i2cSetSpeed 1
 -> AtikCameraImpl::flush()
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     0 bytes flushed
 <- AtikCameraImpl::flush
 -> AtikCameraImpl::i2cSetTimeout(5000)
 <- AtikCameraImpl::i2cSetTimeout 1
 -> AtikCameraImpl::eepRead(3, ..., 2)
  -> AtikCameraImpl::i2cWrite(81, [0x00 0x03], 2)
  <- AtikCameraImpl::i2cWrite 1
  -> AtikCameraImpl::i2cRead(81, ..., 2)
  <- AtikCameraImpl::i2cRead 1 [0x2c 0xdf]
 <- AtikCameraImpl::eepRead 1 [0x2c 0xdf]
 -> AtikCameraImpl::eepRead(1000, ..., 5)
  -> AtikCameraImpl::i2cWrite(81, [0x00 0xe8], 2)
  <- AtikCameraImpl::i2cWrite 1
  -> AtikCameraImpl::i2cRead(81, ..., 5)
  <- AtikCameraImpl::i2cRead 1 [0xff 0xff 0xff 0xff...]
 <- AtikCameraImpl::eepRead 1 [0xff 0xff 0xff 0xff...]
    colour = 1, offsetX = 0, offsetY = 0
    pid = df2c
 -> AtikCameraImpl::i2cSetTimeout(100)
 <- AtikCameraImpl::i2cSetTimeout 1
 -> AtikCameraImpl::setParTimeout(1000)
 <- AtikCameraImpl::setParTimeout 1
 -> AtikCameraImpl::parInit(9)
  -> AtikCameraImpl::parInit(...)
  <- AtikCameraImpl::parInit 1
 <- AtikCameraImpl::parInit 1
 -> AtikCameraImpl::ping()
     ping -> 100
  -> AtikCameraImpl::sendCommand(80, [0x64], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 96
     ping -> 101
  -> AtikCameraImpl::sendCommand(80, [0x65], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 96
     ping -> 102
  -> AtikCameraImpl::sendCommand(80, [0x66], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL

Tried again with Artemis capture under Windows, works OK, so I'm at a loss as the camera seems OK, but the atik_ccd_test can't ping it.

Graham
7 years 5 months ago #10918

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
Sorry, wrong snippet!
 <- AtikCameraImpl::parInit 1
 -> AtikCameraImpl::ping()
     ping -> 100
  -> AtikCameraImpl::sendCommand(80, [0x64], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 176
     ping -> 101
  -> AtikCameraImpl::sendCommand(80, [0x65], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 176
     ping -> 102
  -> AtikCameraImpl::sendCommand(80, [0x66], ..., 1, 0)
  <- AtikCameraImpl::sendCommand 1 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 176
     ping -> 103
  -> AtikCameraImpl::sendCommand(80, [0x67], ..., 1, 0)
      libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
  <- AtikCameraImpl::sendCommand 0 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
     ping <- 176
     ping -> 104
  -> AtikCameraImpl::sendCommand(80, [0x68], ..., 1, 0)
      libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT 
  <- AtikCameraImpl::sendCommand 0 NULL
     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT 
     ping <- 176
 <- AtikCameraImpl::ping 0
    unlock()
    failed to initialize device!!!
<- AtikCameraImpl::open 00
indi@ekos-vm:/var/lib$
7 years 5 months ago #10919

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
Peter, The USB is directly connected to the computer (I've tried 3 different USB ports). I've also tried 3 different power supplies for the Atik - the last one was 12v and 3A.

Thanks, Graham
7 years 5 months ago #10922

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Camera is not initialised correctly, but I don't know why. First timeout is ok (flush), but timeouts in ping are not ok and I never saw them here.

I'll check it with the vendor, if they have some idea... Peter
7 years 5 months ago #10923

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
Thanks Peter. I'd really appreciate that.

Graham
7 years 5 months ago #10944

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
Hi, I tried a different tack on this today and used a Raspberry Pi in remote mode, using Ubuntu Mate 16.04 and Atik driver 1.8.

- the QHY5ii is fine
- the Xagyl filter wheel fails due to a permissions error
- Ekos still can't 'see' the Atik.

I tried running 'atik_ccd_test' on the Pi and it worked! - pings, read ccd, sample data, everything...

The output is attached.

Any ideas gratefully received.

Thanks, Graham
7 years 5 months ago #11016
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Output from atik_ccd_test is correct now, it looks like some random issue (and I can't imaging other reason than powering now). But wait a couple of days, I'm finishing new atik driver, we'll see if something will change. Peter
7 years 5 months ago #11019

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
Thanks :) To confirm:
- Using the Pi:
- atik-ccd-test works fine
- Ekos on my Windows machine can't connect to the Atik when it is connected to the Pi.
- Using my Windows desktop:
- atik-ccd-test fails with ping timeouts
- Ekos can't connect to the Atik when it is connected to the desktop

Graham
7 years 5 months ago #11021

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Hello Graham, please can you try it with new INDIGO driver instead of INDI driver? You can download ARM package from here:

download.cloudmakers.eu/indigo-2.0-16-armhf.deb

Install it by
dpkg -i indigo-2.0-16-armhf.deb
execute by
indigo_server indigo_ccd_atik
and connect from Ekos as usual.

Ekos is not compatible with all features of INDIGO (e.g. hot-plug or avahi/bonjour lookup), but should work if camera is already connected when starting indigo_server. You can also try to control the camera with built-in control panel, just open the following URL in any browser: http://your_rpi:7624/ctrl

Peter
7 years 3 months ago #13088

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 41
Just as a note: Using atikccd 1.12 with Atik 314L here (Fedora 25), works fine.
7 years 3 months ago #13089

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
I know that some Titans have this problem, but every 314L did work so far. I'm not sure what's wrong in this case :( Peter
7 years 3 months ago #13098

Please Log in or Create an account to join the conversation.

Time to create page: 0.538 seconds