×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Atik 314L Connection Problem - Yellow Light

  • Posts: 11
  • Thank you received: 0
Thanks. I'll try 1.8 and let you know.

Graham
7 years 6 months ago #10887

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

  • Posts: 712
  • Thank you received: 174
If it does work you have probably no reason to change it. 1.7 and 1.8 differs only in max usb packet size (16MB was apparently too much for some systems but not for another, that's why I missed it during tests). Peter
The following user(s) said Thank You: Thomas Seckler
7 years 6 months ago #10889

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

  • Posts: 11
  • Thank you received: 0
Hi, still no luck I'm afraid. Same 'yellow light'. I've tried the following:
- upgraded to VirtualBox 5.1.8 with extension pack
- reinstalled Ekos VM with both the 1.1 driver and 1.8 driver
- tried to use the Atik camera as the guider
- checked the camera and connection are OK under Windows (using Artemis Capture) - all good
- checked Ekos is OK by connecting my QHY guider - all good

Are there any logfiles I can check? If so, where are they located?

Many thanks,

Graham
7 years 6 months ago #10908

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

  • Posts: 712
  • Thank you received: 174
Graham, can you try to run atik_ccd_test to make sure it is camera related issue? Thank you, Peter
7 years 5 months ago #10910

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

  • Posts: 11
  • Thank you received: 0
Hi Peter,

I've ran the atik_ccd_test and get the following:
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

Clearly something going on... :)

Thanks,

Graham
7 years 5 months ago #10916

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

  • Posts: 712
  • Thank you received: 174
Graham, the camera may be underpowered. Is it connected directly to the computer or to some hub? Peter
7 years 5 months ago #10917

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

  • 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.

Time to create page: 0.462 seconds