Log

Author Commit Date CI Message
Con Kolivas 589eeda0 2014-01-11T09:32:16 Change stratum strings under stratum_lock in reconnect and free old strings.
Con Kolivas 5a991183 2014-01-10T11:34:38 Add mcp2210 compilation to want_libbitfury configs.
Con Kolivas aa010569 2014-01-10T11:29:00 Fix HF driver typo.
Con Kolivas 7001a845 2014-01-09T16:39:05 Bump version to 3.10.0
Con Kolivas 84a25c5f 2014-01-09T16:36:08 Update NEWS
Con Kolivas 3e4425d9 2014-01-09T16:20:18 Merge branch 'nanofury'
Con Kolivas 5744053a 2014-01-09T16:19:57 Minor readme update for osx.
Con Kolivas 3799f78e 2014-01-09T16:18:24 Add nanofury to ASIC readme.
Con Kolivas 22a855c1 2014-01-09T16:06:46 Set the mcp2210 transfer setting only when it changes.
Con Kolivas ea3a37b0 2014-01-09T15:50:09 Buffer sizes in nanofury device data are unnecessarily large.
Con Kolivas a7f89391 2014-01-09T15:49:12 Only perform spi reset on init, not with each transaction.
Con Kolivas 8c603e47 2014-01-09T15:33:24 Remove spi_detect_bitfury at nanofury startup and fix incorrect refresh time.
Con Kolivas e8aca49b 2014-01-09T15:26:34 Use a simple serialised work model for nanofury
Con Kolivas e97aa32c 2014-01-09T15:20:40 Use bitfury_checkresults to avoid hashing results twice in nanofury.
Con Kolivas 3cb878d3 2014-01-09T14:36:55 Export bitfury_checkresults in libbitfury
Con Kolivas 27f64f31 2014-01-09T14:34:56 Pass extra parameters for later use in libbitfury_sendHashData
Con Kolivas b98f699b 2014-01-09T14:19:46 Avoid double handling bswap of the nonce value in nanofury
Con Kolivas 4baf5637 2014-01-09T14:18:08 Avoid unnecessary rehashing in nanofury nonce checking.
Con Kolivas ea432fc8 2014-01-09T12:52:37 Remove the unused portions of atrvec in the nanofury driver
Con Kolivas 6ccf2fe7 2014-01-09T12:49:33 Age work in nf1_scan to avoid risk of losing a work item and leaking memory.
Con Kolivas 84428a03 2014-01-09T12:46:14 bitfury_work_to_payload is double handling the data unnecessarily
Con Kolivas 880bd681 2014-01-09T12:27:14 Default bitrate on nanofury should be 200kHz
Con Kolivas 31989b20 2014-01-09T12:25:42 Revert "Hard code the osc6 programmed on nanofury for now." This reverts commit c31cb6d09aa0cd302efd527a160322980d14b97b.
Con Kolivas 525e1267 2014-01-09T09:08:57 localvec should be only 80 bytes not 80 words
Con Kolivas 1d9c51a8 2014-01-09T09:06:39 Wrong init value for nanofury
Con Kolivas c31cb6d0 2014-01-09T08:41:24 Hard code the osc6 programmed on nanofury for now.
Con Kolivas c9eece79 2014-01-09T08:32:43 Remove unused rehash values from nanofury driver.
Con Kolivas 8de7af30 2014-01-09T08:20:26 Only update info work in nanofury driver when it's empty.
Con Kolivas 61bee221 2014-01-08T22:28:00 Fill the appropriate type of usb transfer when we know if it's an interrupt transfer instead of a bulk one.
Con Kolivas ad6afa39 2014-01-08T22:18:02 Use the internal knowledge of the usb epinfo to determine whether we should be doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and limit read transfer to expected size automatically.
Con Kolivas 36454f60 2014-01-08T21:27:04 Revert "Pad all larger spi transfers to 60 bytes since intermediate sized ones make it expect more data." This reverts commit e0623430cf7fd6a0477ecd463410627394f77c41.
Con Kolivas aa325c67 2014-01-06T22:19:35 Avoid bin2hex memleak when we start getting nanofury nonces
Con Kolivas e0623430 2014-01-06T20:56:24 Pad all larger spi transfers to 60 bytes since intermediate sized ones make it expect more data.
Con Kolivas 4b10567f 2014-01-06T18:41:26 Set atrvec only once and use a local array for each device's work.
Con Kolivas 8f97b209 2014-01-06T17:31:21 Cancel any spi transfers on nf1 close
Con Kolivas 8304338c 2014-01-06T17:19:23 Add bitfury detection loop to nanofury startup
Con Kolivas cf08b96a 2014-01-06T17:03:23 Move spi init code to libbitfury
Con Kolivas 639e7694 2014-01-06T13:02:25 Remove inappropriate extra config reg in nanofury setup.
Con Kolivas 752bfa76 2014-01-06T12:56:50 Status 0x30 should never happen with spi transfers.
Con Kolivas 54da93dd 2014-01-06T11:36:31 Fix spi transfer data size transmission mistakes.
Con Kolivas 1e81b4ea 2014-01-06T10:59:18 Minor correctness change in spi_add_data
Con Kolivas 425d2ce5 2014-01-06T09:52:30 spi_txrx should always send and receive the same size message
Con Kolivas b48994ea 2014-01-06T09:31:36 Random libbitfury changes.
Con Kolivas 803a18da 2014-01-06T09:22:07 Set value of gpio pins to low on closing nanofury.
Con Kolivas fc673c9f 2014-01-06T09:18:38 Fix more init sequence for nanofury.
Con Kolivas 3d260657 2014-01-05T23:26:13 Add basic initialisation for nf1 devices
Con Kolivas 3105b3ae 2014-01-05T23:16:39 Add basic nf1_scan function.
Con Kolivas bed6a9c4 2014-01-05T23:00:45 Basic import of libbitfury functions from nanofury branch
Con Kolivas c31e75b7 2014-01-05T22:41:10 Import functions from nanofury fork for libbitfury
Con Kolivas cc64d66b 2014-01-05T22:07:22 Meter out spi sends to only 2 bytes at a time, offsetting according to how much data returns.
Con Kolivas d5a074b8 2014-01-05T20:14:03 Use the usb read limit function for mcp2210 reads.
Con Kolivas c644b749 2014-01-05T20:13:02 Provide a way for usb reads to just read the size asked for with a limit bool.
Con Kolivas aa1c5daa 2014-01-05T18:13:05 Get pin value after an nf1 spi reset.
Con Kolivas 05b3e2d0 2014-01-05T17:57:52 Make sure what we send in the buffer doesn't change during spi reset for nanofury
Con Kolivas 7e4f6866 2014-01-05T17:05:11 Remove all standalone gpio setting change functions in mcp2210 and just use the one global setting function.
Con Kolivas c049387f 2014-01-05T16:55:05 Set gpio values in the one function with all values for nanofury.
Con Kolivas 24611bda 2014-01-05T16:17:53 Provide a helper function for setting all mcp2210 gpio settings.
Con Kolivas f32f093f 2014-01-05T16:06:35 Add a helper function for getting all mcp2210 gpio settings.
Con Kolivas 763612af 2014-01-05T09:12:19 Set all pin designations and directions in one call for nanofury and don't bother storing their values in the info struct.
Con Kolivas 9fe4ec90 2014-01-05T09:06:19 Provide helper functions for setting all pins and dirs on mcp2210
Con Kolivas 1601f660 2014-01-05T08:53:09 Set all nanofury pin designations in one call
Con Kolivas 6bfd6d80 2014-01-05T08:49:08 Provide a helper function for setting all pin designations on mcp2210
Con Kolivas 32998a15 2014-01-05T08:45:46 Store the spi settings in a struct for nanofury devices.
Con Kolivas df676cad 2014-01-05T00:18:50 Checked the received status in mcp2210 spi transfers and repeat a zero byte send if it's in progress.
Con Kolivas 60076222 2014-01-04T23:38:11 Set the bytes per spi transfer prior to each mcp2210 transfer.
Con Kolivas 1d7d7310 2014-01-04T22:10:04 Separate out the send and receive functions for mcp2210 and check response value in return.
Con Kolivas 2a68889c 2014-01-04T21:51:00 Check that mcp2210 spi settings have taken and check the value of the pin during nanofury setup.
Con Kolivas 8e4de073 2014-01-04T21:26:57 Don't set GPIO pin designations after initial setting in nanofury since the direction and values will be changed.
Con Kolivas 9b58c5cb 2014-01-04T20:40:16 Provide an mcp 2210 set gpio input helper function that sets a pin to gpio and input.
Con Kolivas a01fbc30 2014-01-04T20:35:59 Move the set gpio output function to a generic mcp2210 version from nanofury which also sets the pin to gpio.
Con Kolivas 2d4adfa5 2014-01-04T20:10:00 Implement a nanofury txrx with a larger buffer and cycling over data too large to send.
Con Kolivas 8417d3f8 2014-01-04T18:36:39 Implement magic spi reset sequence for nanofury.
Con Kolivas 2116d9c0 2014-01-04T18:17:42 Add more spi magic to the nanofury init sequence.
Con Kolivas b158a123 2014-01-04T16:55:53 Add lots of magic spi initialisation to nanofury.
Con Kolivas 2486b9ce 2014-01-04T14:29:11 Export reused components of bitfury management into a libbitfury and use for bab and bitfury drivers.
Con Kolivas 3865849c 2014-01-04T13:53:21 More init sequence for nanofury and implement a close function that sets all pins to input.
Con Kolivas f380336d 2014-01-04T11:56:59 Reword offset header handling in hfa_get_header
Con Kolivas d962d202 2014-01-04T11:35:20 Sanity check in hfa_get_header
Con Kolivas d1410654 2014-01-04T11:19:57 Add more checks in hashfast driver for lost devices.
Con Kolivas f5526b14 2014-01-04T11:12:54 Change spimode and send more data in nanofury setup.
Con Kolivas d2043c1f 2014-01-04T11:05:08 Add basic setup comms to nanofury.
Con Kolivas a872f691 2014-01-04T10:47:17 Implement and mcp2210 spi transfer function.
Con Kolivas d84155c9 2014-01-04T10:19:34 Set the initial spi settings for nanofury driver.
Con Kolivas c1416763 2014-01-04T10:11:05 Provide a helper function for gettings mcp2210 spi settings.
Con Kolivas e2fd2567 2014-01-04T09:57:58 Implement an mcp2210 set spi transfer settings function.
Con Kolivas 6b532de0 2014-01-04T09:38:05 Cancel any SPI transfers in progress in nanofury after initial setup.
Con Kolivas 6f9b5767 2014-01-04T09:35:10 Implement an mcp2210 spi cancel function.
Con Kolivas 17680a19 2014-01-04T09:30:33 Return only binary values for mcp2210 GPIO values.
Con Kolivas 781871bd 2014-01-04T09:28:18 Set GPIO LED and power to high in nanofury driver.
Con Kolivas 8f4ec3af 2014-01-04T09:25:30 Implement initial part of nanofury init sequence for GPIO pin settings and add output debugging of set values.
Con Kolivas 1a9c558a 2014-01-03T17:31:54 Add helper functions for getting and setting mcp2210 gpio pin designations.
Con Kolivas 0615cc8c 2014-01-03T16:47:51 Don't return an error in usb read if we've managed to get the whole read length we've asked for.
Con Kolivas d66ebfee 2014-01-03T16:46:07 Use correct endpoint order for nanofury devices and read with a short timeout on return loop from send_recv.
Con Kolivas 9e10d915 2014-01-03T15:50:32 Add mcp2210 helper functions for getting and setting one GPIO pin val and direction.
Con Kolivas d439fc75 2014-01-03T15:17:26 Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
Con Kolivas b359fa54 2014-01-03T15:00:06 Check the receive msg of a send/receive cycle on mcp2210 matches the send message.
Con Kolivas 5015e258 2014-01-03T12:00:23 Add a set of usb commands to the usbutils defines for mcp2210 comms, and use the same command name for send and receive.
Con Kolivas efd179fd 2014-01-03T11:42:44 Create a generic mcp2210 send_rcv function.
Con Kolivas bd6b1149 2014-01-03T11:14:08 Include mcp header for bitfury and fix extra params in macro.
Con Kolivas 94a157ff 2014-01-03T10:03:13 Add basic SPI comms defines for mcp2210 and build rules for bitfury.