graham@astro-pi:~$ atik_ccd_test 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 ping <- 101 <- AtikCameraImpl::ping 1 -> AtikCameraImpl::sendCommand(1, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL version: 3.1 model: ATIK-314L manufacturer: ARTEMIS CCD flags: 0x18 PREVIEW SUBSAMPLE HAS_GUIDE_PORT pixel count: 1392 x 1040 pixel size: 6.5 x 6.5 max bin: 255 x 255 well capacity: 60 -> AtikCameraImpl::appInit() -> AtikCameraImpl::sendCommand(44, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL ----- DEBUG OFF ----- ----- DEBUG ON ----- APPINIT completed <- AtikCameraImpl::appInit 1 -> AtikCameraImpl::sendCommand(54, NULL, ..., 0, 2) <- AtikCameraImpl::sendCommand 1 [0x01 0x00] temperature sensor count: 1 -> AtikCameraImpl::getTemperatureSensorStatus(1, ...) lock() -> AtikCameraImpl::sendCommand(55, [0x01 0x00], ..., 2, 6) <- AtikCameraImpl::sendCommand 1 [0x02 0x00 0x00 0x00...] unlock() <- AtikCameraImpl::getTemperatureSensorStatus 1 temperature sensor type: 2 -> AtikCameraImpl::sendCommand(52, NULL, ..., 0, 6) <- AtikCameraImpl::sendCommand 1 [0x1f 0x00 0xff 0x00...] cooler: COOLER_SETPOINT min cooler power: 0 max cooler power: 255 -> AtikCameraImpl::eepRead(5, ..., 2) -> AtikCameraImpl::i2cWrite(81, [0x00 0x05], 2) <- AtikCameraImpl::i2cWrite 1 -> AtikCameraImpl::i2cRead(81, ..., 2) <- AtikCameraImpl::i2cRead 1 [0x69 0x92] <- AtikCameraImpl::eepRead 1 [0x69 0x92] -> AtikCameraImpl::eepRead(8, ..., 2) -> AtikCameraImpl::i2cWrite(81, [0x00 0x08], 2) <- AtikCameraImpl::i2cWrite 1 -> AtikCameraImpl::i2cRead(81, ..., 2) <- AtikCameraImpl::i2cRead 1 [0x7f 0xe0] <- AtikCameraImpl::eepRead 1 [0x7f 0xe0] serial # 3766456937 -> AtikCameraImpl::i2cSetTimeout(200) <- AtikCameraImpl::i2cSetTimeout 1 -> AtikCameraImpl::setParTimeout(2000) <- AtikCameraImpl::setParTimeout 1 <- AtikCameraImpl::open 1 getCapabilities -------------------- -> AtikCameraImpl::getCapabilities(...) <- AtikCameraImpl::getCapabilities 1 setPreviewMode -------------------- -> AtikCameraImpl::setPreviewMode(0) not changed <- AtikCameraImpl::setPreviewMode 1 set8BitMode -------------------- -> AtikCameraImpl::set8BitMode(0) <- AtikCameraImpl::set8BitMode 1 getTemperatureSensorStatus -------------------- -> AtikCameraImpl::getTemperatureSensorStatus(1, ...) lock() -> AtikCameraImpl::sendCommand(55, [0x01 0x00], ..., 2, 6) <- AtikCameraImpl::sendCommand 1 [0x02 0x00 0xfb 0x03...] current temperature: 22.1 unlock() <- AtikCameraImpl::getTemperatureSensorStatus 1 getCoolingStatus -------------------- -> AtikCameraImpl::getCoolingStatus(...) lock() -> AtikCameraImpl::sendCommand(53, NULL, ..., 0, 6) <- AtikCameraImpl::sendCommand 1 [0x00 0x00 0x1f 0x00...] cooler state: COOLING_INACTIVE target temperature: -60.0 power: 0% unlock() <- AtikCameraImpl::getCoolingStatus 1 setCooling -------------------- -> atikSetCooling(-10.0) lock() -> AtikCameraImpl::sendCommand(56, [0x6c 0x02], ..., 2, 2) <- AtikCameraImpl::sendCommand 1 [0x01 0x00] unlock() <- AtikCameraImpl::setCooling 1 getCoolingStatus -------------------- -> AtikCameraImpl::getCoolingStatus(...) lock() -> AtikCameraImpl::sendCommand(53, NULL, ..., 0, 6) <- AtikCameraImpl::sendCommand 1 [0x00 0x00 0xdf 0x00...] cooler state: COOLING_SETPOINT target temperature: -10.0 power: 0% unlock() <- AtikCameraImpl::getCoolingStatus 1 initiateWarmUp -------------------- -> AtikCameraImpl::initiateWarmUp() lock() -> AtikCameraImpl::sendCommand(57, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::initiateWarmUp 1 getCoolingStatus -------------------- -> AtikCameraImpl::getCoolingStatus(...) lock() -> AtikCameraImpl::sendCommand(53, NULL, ..., 0, 6) <- AtikCameraImpl::sendCommand 1 [0xf4 0x00 0x7f 0x00...] cooler state: WARMING_UP target temperature: -10.0 power: 95% unlock() <- AtikCameraImpl::getCoolingStatus 1 readCCD (short) -------------------- 1392x1040 rounded to 1392x1040 -> AtikCameraImpl::readCCD(0, 0, 1392, 1040, 1, 1, 0.500000) lock() -> AtikCameraImpl::setParTimeout(30000) <- AtikCameraImpl::setParTimeout 1 -> AtikCameraImpl::sendCommand(2, [0x00 0x00], ..., 2, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(4, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(5, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(6, [0xf4 0x01 0x01 0x00...], ..., 16, 0) <- AtikCameraImpl::sendCommand 1 NULL <- AtikCameraImpl::readCCD 1 getImage -------------------- -> AtikCameraImpl::getImage(..., 1447680) elapsed 1.81499 s -> AtikCameraImpl::setParTimeout(1000) <- AtikCameraImpl::setParTimeout 1 unlock() <- AtikCameraImpl::getImage 1 [0x41 0x01 0xff 0xff...] sample data... 321 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 average = 218.721 min = 260 max = 65535 saved to short.fits startExposure (long) -------------------- -> AtikCameraImpl::startExposure() lock() -> AtikCameraImpl::sendCommand(2, [0x00 0x00], ..., 2, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(4, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(5, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::startExposure 1 sleep -------------------- 2s delay fixed to 2000000us readCCD -------------------- 1392x1040 rounded to 1392x1040 -> AtikCameraImpl::readCCD(0, 0, 1392, 1040, 1, 1) lock() -> AtikCameraImpl::setParTimeout(30000) <- AtikCameraImpl::setParTimeout 1 -> AtikCameraImpl::sendCommand(2, [0x01 0x00], ..., 2, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(6, [0x00 0x00 0x01 0x00...], ..., 16, 0) <- AtikCameraImpl::sendCommand 1 NULL <- AtikCameraImpl::readCCD 1 getImage -------------------- -> AtikCameraImpl::getImage(..., 1447680) elapsed 1.78933 s -> AtikCameraImpl::setParTimeout(1000) <- AtikCameraImpl::setParTimeout 1 unlock() <- AtikCameraImpl::getImage 1 [0x6b 0x01 0xff 0xff...] sample data... 363 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 average = 218.742 min = 287 max = 65535 saved to long.fits setPreviewMode -------------------- -> AtikCameraImpl::setPreviewMode(0) not changed <- AtikCameraImpl::setPreviewMode 1 set8BitMode -------------------- -> AtikCameraImpl::set8BitMode(0) <- AtikCameraImpl::set8BitMode 1 setGuideRelays -------------------- -> AtikCameraImpl::setGuideRelays(1) lock() -> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(20, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::setGuideRelays 1 ... 0.1s setGuideRelays -------------------- -> AtikCameraImpl::setGuideRelays(4) lock() -> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(22, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::setGuideRelays 1 ... 0.1s setGuideRelays -------------------- -> AtikCameraImpl::setGuideRelays(2) lock() -> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(21, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::setGuideRelays 1 ... 0.1s setGuideRelays -------------------- -> AtikCameraImpl::setGuideRelays(8) lock() -> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL -> AtikCameraImpl::sendCommand(23, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::setGuideRelays 1 ... 0.1s setGuideRelays -------------------- -> AtikCameraImpl::setGuideRelays(0) lock() -> AtikCameraImpl::sendCommand(24, NULL, ..., 0, 0) <- AtikCameraImpl::sendCommand 1 NULL unlock() <- AtikCameraImpl::setGuideRelays 1 close -------------------- -> AtikCameraImpl::close() <- AtikCameraImpl::close Atik 314L test OK