I am attempting to update my Open Bench Logic Sniffer (HW v1.04) using the command on a Mac OS X (10.8.2) machine: AFTER pressing the RESET button while holding the UPDATE button.
Proton:ols-fwloader-0.1 wayne$ ols_fwloader -f BOOT -n -P /dev/tty.usbmodemfa131 -V -W -w ~/Downloads/ols-0308/OLS_Upgrader/PIC_firmware/OLSv1.firmware.v3.0.hex Found OLS HW: 1, FW: 2.2, Boot: 2 Found flash: WINBOND W25X40 OLS switched to bootloader mode libusb: 0.000000 info [process_new_device] allocating new device for location 0xfa000000 libusb: 0.000072 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.000084 info [process_new_device] found device with address 1 at 001-05ac-8006-09-00 libusb: 0.000453 info [process_new_device] allocating new device for location 0xfd000000 libusb: 0.000487 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.000505 info [process_new_device] found device with address 1 at 001-05ac-8006-09-00 libusb: 0.000792 info [process_new_device] allocating new device for location 0xfd100000 libusb: 0.001268 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.001282 info [process_new_device] found device with address 2 at 002-0424-2513-09-00 libusb: 0.001630 info [process_new_device] allocating new device for location 0xfa100000 libusb: 0.001768 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.001777 info [process_new_device] found device with address 2 at 002-0424-2513-09-00 libusb: 0.002089 info [process_new_device] allocating new device for location 0xfa110000 libusb: 0.002341 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.002350 info [process_new_device] found device with address 4 at 004-0a5c-4500-09-00 libusb: 0.002658 info [process_new_device] allocating new device for location 0xfa200000 libusb: 0.150367 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.150391 info [process_new_device] found device with address 3 at 003-05ac-8509-ef-02 libusb: 0.150845 info [process_new_device] allocating new device for location 0xfd110000 libusb: 0.302223 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.302276 info [process_new_device] found device with address 3 at 003-05ac-8242-00-00 libusb: 0.302925 info [process_new_device] allocating new device for location 0xfa120000 libusb: 0.303779 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.303792 info [process_new_device] found device with address 5 at 005-05ac-0245-00-00 libusb: 0.304128 info [process_new_device] allocating new device for location 0xfa113000 libusb: 0.304618 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.304639 info [process_new_device] found device with address 8 at 008-05ac-821a-ff-01 libusb: 0.304972 info [process_new_device] allocating new device for location 0xfa130000 libusb: 0.305337 info [darwin_check_configuration] active config: 1, first config: 1 libusb: 0.305346 info [process_new_device] found device with address 6 at 006-04d8-fc90-00-00 libusb: 0.305869 info [darwin_open] device open for access libusb: 0.306290 error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access Cannot claim device Unable to set alternative interface libusb: 0.306657 info [darwin_async_io_callback] an async io operation has completed libusb: 0.306737 info [op_handle_events] checking fd 4 with revents = 0 libusb: 0.306749 info [op_handle_events] checking fd 6 with revents = 1 libusb: 0.306757 info [darwin_handle_callback] handling control completion with kernel status 0 libusb: 0.306772 info [ep_to_pipeRef] converting ep address 0x81 to pipeRef and interface libusb: 0.306778 warning [ep_to_pipeRef] no pipeRef found with endpoint address 0x81. libusb: 0.306784 error [submit_bulk_transfer] endpoint not found on any open interface Other error - recv
[/size]
Are there any suggestions? I don't think the device is really open because I (as the user) have not caused any application to want to open the device. I think the PIC did make it into BOOTLOADER mode because I cannot repeat the command until I reset the device (while holding the "UPDATE" button). Here is what I get if I do NOT reset while holding update:
Proton:ols-fwloader-0.1 wayne$ ols_fwloader -f BOOT -n -P /dev/tty.usbmodemfa131 -V -W -w ~/Downloads/ols-0308/OLS_Upgrader/PIC_firmware/OLSv1.firmware.v3.0.hex Unable to open port '/dev/tty.usbmodemfa131' Unable to open OLS
I had the same problem-- mis-reported baud rate, and poor parsing. Then I changes the sample rate and, this is what did it, the kind of hardware I was attached to. At some point I tried the "OLS Bus Pirate". When I changed the hardware back to "Open Bench Logic Sniffer" things were much better.