Con Kolivas
|
7404446781
Created a threaded message parser for avalon reads.
|
12 years ago |
Con Kolivas
|
ff44696a20
Avalon_wait_write is not effective during resets so do it after going idle.
|
12 years ago |
Con Kolivas
|
4794ce702e
Send only a single byte reset.
|
12 years ago |
Con Kolivas
|
e2c4379290
Repeat going idle after avalon reset, and wait for write ready before sending each reset request instead of some arbitrary sleep time.
|
12 years ago |
Con Kolivas
|
a1cec2cdaf
Revert "Send full avalon init task for reset."
|
12 years ago |
Con Kolivas
|
fa1bca3118
Send full avalon init task for reset.
|
12 years ago |
Con Kolivas
|
c7b1b03085
Timeouts on avalon_read and avalon_write should be 100ms.
|
12 years ago |
Con Kolivas
|
4ddbe24135
Don't close avalon after detecting it until we're cleaning up, instead using reset for comms failures.
|
12 years ago |
Con Kolivas
|
18710b14d2
Check for avalon_wait_write before sending reset command.
|
12 years ago |
Con Kolivas
|
0e071c98f6
Sleep in avalon_write_ready.
|
12 years ago |
Con Kolivas
|
674539bddc
Make avalon_wait_write a bool function and check its return value.
|
12 years ago |
Con Kolivas
|
290666a124
Show how many idle tasks are sent to avalon if it aborts on buffer full.
|
12 years ago |
Con Kolivas
|
8b1a247106
Reset avalon->device_fd after it is closed.
|
12 years ago |
Con Kolivas
|
a640164381
Create an avalon_wait_write function that is used before sending avalon idle command.
|
12 years ago |
Con Kolivas
|
764f7cc403
Avoid repeating avalon_idle in do_avalon_close and extra sleep.
|
12 years ago |
Con Kolivas
|
ee4d72e338
Pass fd to avalon_idle.
|
12 years ago |
Con Kolivas
|
664fd5b4a1
Revert "Change to setting avalon_task to being the pointer for avalon_idle."
|
12 years ago |
Con Kolivas
|
91a82cd81f
Change to setting avalon_task to being the pointer for avalon_idle.
|
12 years ago |
Con Kolivas
|
e2578033cb
Do avalon_reset after info structure is set up.
|
12 years ago |
Con Kolivas
|
930317e123
Rework avalon reset sequence to include idling of chips and waiting for them to go idle followed by 2nd reset and then checking result.
|
12 years ago |
Con Kolivas
|
569a6f65a0
Do a non-blocking read of anything in the avalon buffer after opening the device.
|
12 years ago |
Con Kolivas
|
6baa23cf62
Assign the avalon info data to the device_data in cgpu_info.
|
12 years ago |
Kano
|
1bb2cadfa6
thread shutdown is different on windows
|
12 years ago |
Kano
|
ab080fa681
usbutils make all windows timeouts 999ms
|
12 years ago |
Kano
|
2baa5b9c22
usb add another Cairnsmore1 USB chip
|
12 years ago |
Kano
|
6e0f93474d
icarus do the full detect test twice if required
|
12 years ago |
Kano
|
511bbb050c
CMR usb config guess
|
12 years ago |
Kano
|
87d994b6ea
usb add transfer_read and commented out in icarus
|
12 years ago |
Kano
|
6a0b48a650
usbutils allow unrounded control transfers
|
12 years ago |
Kano
|
0c3f00c567
icarus ICA initialisation
|
12 years ago |