XCode HID USB Development on 64bit.  Writepipe Failing to send data

Hi,
I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcode on OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my app in XCode writepipe returns with errors "404f" and "2ed".
I've had a various look at other forums and there's nothing out there helpful.  Why would writepipe work in 32 bit mode but not in 64 bit mode?
Are there alternatives to writepipe? I don't  want to get a USB analyzer to see what the data is doing.  Is this a timing issue if so what does Lion 64 bit do different to Lion 32 bit?
Regards,
Saj

K T wrote:
Have you used USBProber to sniff the connection for clues?
Hi,
I have tried the USB Prober (but this doesn't seem to give any useful feedback) and also the usbtracer program.  I have looked at various forums online and below is a common response.
" The main architectureal difference between the 27" i7 iMac (as well as any of the new MacBook Pro's 15" and 17") is that there are no OHCI or UHCI USB controllers;  there are 2 EHCI controllers, along with 2 high speed hubs inside the machine.  That means that any device that you attach will be attached to the high speed hub.    All devices are still supported, but now they are ultimately attached to the high speed controller and so the low level timing might be different.  They are also attached through a hub and not directly to the root hub (even high speed devices).
The errors that you describe indicate that the device is either not responding to the requests or stalling the requests.
My question is why can I transfer data in 32 bit mode on the same machine, yet in 64 bit I cannot.  The above response doesnt seem to answer that because writepipe works fine in 32 bit mode on the same machine.  Is USB timing different in 32 bit mode regardless of the architectureal difference ? 
Below is snippet of the usbtracer tool output:
32521.035    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32521.060 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  bmRequestType: 0x23, bRequest: 0x03, wValue: 0x0004, wIndex: 0x0003, wLength: 0x0000
32521.095 <- Controller::Control End        (0xffffff8007dae000) error 0x0
32521.114    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206478, microframe: 1
32521.164 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
32521.165    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32521.168 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32521.169 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32521.170 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32521.170 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32521.175    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32521.176 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32521.177 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
32521.178    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32521.178 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32521.189    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
32521.194 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
32521.208    EHCI::PollInterrupts           (0xffffff8007dae000) Frame Rollover Interrupt
32521.209 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32521.260    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32523.382    OutstandingIO::HubDecrement    (0xffffff8007f6cc00) serial #: 549, IO: 1, needInterruptRead: no
32523.505    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206480, microframe: 1
32523.531 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
32523.532    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
32523.536 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.537 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.538 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.539 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
32523.578    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
32523.617 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
32523.624 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
32523.625    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
32523.635    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32523.636 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.636 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.637 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.637 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.645 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32523.706    HID::CheckForDeadDevice        (0xffffff8009648400) _retryCount: 3, _deviceHasBeenDisconnected = 0
32523.736 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (in)  bmRequestType: 0xa3, bRequest: 0x00, wValue: 0x0000, wIndex: 0x0003, wLength: 0x0004
32523.738    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32523.767 <- Controller::Control End        (0xffffff8007dae000) error 0x0
32523.861    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206480, microframe: 1
32523.901 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
32523.901    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32523.902 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.903 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.904    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.905 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.905 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x60 status 0x0
32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.906 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.909    Controller::Packet Handler     (0x0000000000000000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  length: 4, data: 0x1101000000000000 0x0000000000000000
32523.913    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
32523.916 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
32523.923 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) GetDeviceInformation returned info: 0x48, retryCount: 3
32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) device is still connected (and enabled) _retryCount: 3
32523.940    HID::CheckForDeadDevice        (0xffffff8009648400) Still connected but retry count (2) not reached
32523.949    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32526.618    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206483, microframe: 1
32526.665 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
32526.666    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
32526.672 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32526.672 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.673 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32526.674 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.689    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
32526.694    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
32526.699    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
32526.702    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
32526.705    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
32526.741 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
32526.748 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
32526.749    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
32526.759    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32526.760 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32526.760 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.761 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32521.035    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32521.060 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  bmRequestType: 0x23, bRequest: 0x03, wValue: 0x0004, wIndex: 0x0003, wLength: 0x0000
32521.095 <- Controller::Control End        (0xffffff8007dae000) error 0x0
32521.114    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206478, microframe: 1
32521.164 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
32521.165    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32521.168 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32521.169 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32521.170 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32521.170 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32521.175    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32521.176 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32521.177 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
32521.178    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32521.178 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32521.189    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
32521.194 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
32521.208    EHCI::PollInterrupts           (0xffffff8007dae000) Frame Rollover Interrupt
32521.209 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32521.260    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32523.382    OutstandingIO::HubDecrement    (0xffffff8007f6cc00) serial #: 549, IO: 1, needInterruptRead: no
32523.505    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206480, microframe: 1
32523.531 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
32523.532    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
32523.536 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.537 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.538 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.539 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
32523.578    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
32523.617 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
32523.624 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
32523.625    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
32523.635    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32523.636 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.636 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.637 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.637 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.645 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32523.706    HID::CheckForDeadDevice        (0xffffff8009648400) _retryCount: 3, _deviceHasBeenDisconnected = 0
32523.736 -> Controller::Control Start      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0, (in)  bmRequestType: 0xa3, bRequest: 0x00, wValue: 0x0000, wIndex: 0x0003, wLength: 0x0004
32523.738    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32523.767 <- Controller::Control End        (0xffffff8007dae000) error 0x0
32523.861    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000001, Frame: 206480, microframe: 1
32523.901 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 0 _completeInterrupt 1 _portChangeInterrupt 0
32523.901    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32523.902 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.903 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32523.903 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32523.904    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.905 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.905 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x60 status 0x0
32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.906 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x40 status 0x0
32523.906    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f809754fe, status:  0x0
32523.906 -> Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 status 0x0 bufferSizeRemaining 0
32523.909    Controller::Packet Handler     (0x0000000000000000) Bus: 0xfa, Address: 2, Endpoint: 0, (out)  length: 4, data: 0x1101000000000000 0x0000000000000000
32523.913    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f8096fb25, status:  0x0
32523.916 <- Controller::PacketHandler      (0xffffff8007dae000) Bus: 0xfa, Address: 2, Endpoint: 0 todo 0x0 status 0x0
32523.923 <- EHCI::End PollInterrupts       (0xffffff8007dae000)
32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) GetDeviceInformation returned info: 0x48, retryCount: 3
32523.939    HID::CheckForDeadDevice        (0xffffff8009648400) device is still connected (and enabled) _retryCount: 3
32523.940    HID::CheckForDeadDevice        (0xffffff8009648400) Still connected but retry count (2) not reached
32523.949    EHCI::powerChangeDone          (0xffffff8007dae000) from state (4) to state (4)
32526.618    EHCI::Primary Interrupt        (0xffffff8007dae000) enabledInterrupts 0x0000001f activeInterrupts 0x00000003, Frame: 206483, microframe: 1
32526.665 -> EHCI::Begin PollInterrupts     (0xffffff8007dae000) _errorInterrupt 2 _completeInterrupt 1 _portChangeInterrupt 0
32526.666    EHCI::PollInterrupts           (0xffffff8007dae000) Error Interrupt
32526.672 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32526.672 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.673 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
32526.674 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.689    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
32526.694    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
32526.699    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
32526.702    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
32526.705    HID::InterruptRead             (0xffffff8009648400) Checking to see if HID device is still connected
32526.741 -> Controller::Interrupt Start    (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  reqCount: 50
32526.748 <- Controller::Interrupt End      (0xffffff8007dae000) error 0x0, (completion timeout: 0, noData timeout: 0)
32526.749    HID::RearmInterruptRead        (0xffffff8009648400) returning error 0x0
32526.759    EHCI::PollInterrupts           (0xffffff8007dae000) Completion Interrupt
32526.760 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e300 pTD 0x0
32526.760 <- Controller::Return Isoc Done Q End (0xffffff8007dae000)
32526.761 -> Controller::Return Isoc Done Q Start (0xffffff8007dae000) pEP 0x7f9e400 pTD 0x0
The error "0xe00002ed" is listed above: 
32523.556    Controller::Complete           (0xffffff8007dae000) completion: 0xffffff7f80973952, status:  0xe00002ed
32523.562    Controller::Interrupt Complete (0xffffff8007dae000) Bus: 0xfa, Address: 5, Endpoint: 1, (in)  actual: 0, status: 0xe00002ed
32523.570    Controller::CompleteTS         (0xffffff8007dae000) completion: 0xffffff7f80af89c2, status:  0xe00002ed
32523.573    HID::InterruptRead             (0xffffff8009648400) error: 0xe00002ed, _deviceHasBeenDisconnected = 0
What does any of this mean? I do not want to re-write my app but rather would like to understand what WRITEPIPE is doing different in 32 and 64 bit. 
Regards,
Saj

Similar Messages

  • XCode USB Development on 64bit.  Writepipe Failing to send data

    Hi,
    I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcode on OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my app in XCode writepipe returns with errors "404f" and "2ed".
    I've had a various look at other forums and there's nothing out there helpful.  Why would writepipe work in 32 bit mode but not in 64 bit mode?
    Are there alternatives to writepipe? I don't  want to get a USB analyzer to see what the data is doing.  Is this a timing issue if so what does Lion 64 bit do different to Lion 32 bit?
    Regards,
    Saj

    The Developer Forum is here https://discussions.apple.com/community/developer_forums
    Might be best to ask there.
    Stefan

  • Proc_getObject with nolock causes "read operation on a large object failed while sending data to the client"

    SharePoint 2013 code for the SharePoint Config database stored procedure dbo.proc_getObject has been changed from SharePoint 2010 with the difference of select with nolock.
    I am seeing numerous Error 7886, Severity-20 errors nightly:
    "A read operation on a large object failed while sending data to the client. A common cause for this is if the application is running in READ UNCOMMITTED isolation level. This connection will be terminated."
    Here I have commented out "with (nolock)" to 'fix' the error and to align the store proc with SharePoint 2010 code : 
    ALTER PROCEDURE [dbo].[proc_getObject]
    @Id uniqueidentifier,
    @RequestGuid uniqueidentifier = NULL OUTPUT
    AS
    SET NOCOUNT ON
    SELECT
    Id,
    ParentId,
    ClassId,
    Name,
    Status,
    Version,
    Properties
    FROM
    Objects --with (nolock)
    WHERE
    Id = @Id
    RETURN 0
    How is this stored procedure called and for what use?
    Why did Microsoft make this change to SharePoint 2013 - some performance gain through dirty reads at the cost of stability? Or what could be a reason for this to happen that can be fixed?

    GetObject retrieves any farm object that is selected (by ID). Changing this is obviously not supported, and NoLock was used to (help) prevent locks when performing a select query.
    I've never seen this issue, and would guess it is unique to your environment given this is such a core piece of the SharePoint infrastructure.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Premiere has failed to send data to Media Encoder

    After when I have attempted to update the media encoder, I can no longer be able to export my movies into video files, and Media Encoder has failed to install multiple times, and now, it has been barely installed and I have problems with it. Can anyone fix this bug?

    The same way you re-install your other software.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Transaction RFC fails to send data and no errors

    I am using a function module in background task to enable TRFC call. I don't get any error and the data does not go to the external Remote system.
    I don't see any data in SM58 or ARFC* tables.
    Any help is appreciated.
    Thanks,
    Vijay

    HI,
    - Verify connection test
    - Verify user locked
    - Verify user authorization
    For begin
    Rgds

  • Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/clang failed with exit code 1

    can someone help me please
    i keep getting this error.i have tyed these:
    in Apple LLVM Compiler 3.1 - Language i checked for other c flags and it was -DNS_BLOCK_ASSERTIONS=1
    i restarted my mac and it did not go away.
    i restarted xcode and it did not go away.
    my xcode version is 4.3.2
    plz help
    bilal

    $ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/clang
    clang: error: no input files
    Maybe you have not installed the command line tools correctly?

  • Command /Developer/usr/bin/ibtool failed with exit code 255?

    CompileXIB "The Dream Log/xib/DLLockSetupController.xib"
        cd "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive"
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
        setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
        /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/g4user/Library/Developer/Xcode/DerivedData/The_Dream_Log-biaxzecevnzlql dtpjxstlufyhhb/Build/Products/Debug-iphonesimulator/The Dream Log.app/DLLockSetupController.nib" "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive/The Dream Log/xib/DLLockSetupController.xib" --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3 .sdk
    2011-07-14 16:55:13.304 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
    2011-07-14 16:55:13.333 ibtoold[42465:4403] Backtrace:
      0  0x000000010003f32d IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      1  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      2  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      3  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      4  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      5  0x000000010003f481 IBDepthFirstForestVisit (in IDEInterfaceBuilderKit)
      6  0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] (in IDEInterfaceBuilderKit)
      7  0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] (in IDEInterfaceBuilderKit)
      8  0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] (in IDEInterfaceBuilderKit)
      9  0x00007fff8004f284 _dispatch_call_block_and_release (in libSystem.B.dylib)
    10  0x00007fff8002d7f1 _dispatch_worker_thread2 (in libSystem.B.dylib)
    11  0x00007fff8002d128 _pthread_wqthread (in libSystem.B.dylib)
    2011-07-14 16:55:13.334 ibtoold[42465:4403] An uncaught exception was raised
    2011-07-14 16:55:13.335 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
    2011-07-14 16:55:13.336 ibtoold[42465:4403] *** Terminating app due to uncaught exception 'IBExpect Failure', reason: 'Invalid archive. Every reference with a ref tag must have an object with a matching id tag.'
    *** Call stack at first throw:
              0   CoreFoundation                      0x00007fff80fe17b4 __exceptionPreprocess + 180
              1   libobjc.A.dylib                     0x00007fff8849b0f3 objc_exception_throw + 45
              2   CoreFoundation                      0x00007fff81039969 -[NSException raise] + 9
              3   IDEInterfaceBuilderKit              0x0000000100051049 __IBXMLDecoderResolveReferences_block_invoke_0401 + 278
              4   IDEInterfaceBuilderKit              0x000000010003f32d IBDepthFirstTreeVisit + 42
              5   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              6   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              7   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              8   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              9   IDEInterfaceBuilderKit              0x000000010003f481 IBDepthFirstForestVisit + 146
              10  IDEInterfaceBuilderKit              0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] + 1835
              11  IDEInterfaceBuilderKit              0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] + 20
              12  IDEInterfaceBuilderKit              0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] + 76
              13  libSystem.B.dylib                   0x00007fff8004f284 _dispatch_call_block_and_release + 15
              14  libSystem.B.dylib                   0x00007fff8002d7f1 _dispatch_worker_thread2 + 239
              15  libSystem.B.dylib                   0x00007fff8002d128 _pthread_wqthread + 353
              16  libSystem.B.dylib                   0x00007fff8002cfc5 start_wqthread + 13
    terminate called after throwing an instance of 'NSException'
    Command /Developer/usr/bin/ibtool failed with exit code 255

    I've solved the issue, but it required a hard reset.
    Some said it was because I installed XCode outside of the App Store, or because the simluator was buggy, or because XCode was pointing at the wrong version of the Simulator, or a resoruce was missing a target membership, or whatever.  I tried all of that.
    I downloaded XCode from the App Store, re-installed the Simulators, and still no luck.  So I just rolled back my repository to an earlier date, and lost some work in the process.  Not much though, because I always commit little and often.
    Since ever starting to use storyboards back in 2011, I have always committed little AND OFTEN.  Storyboard are fragile.

  • How to communicate with HID USB device under windows XP with Labview

              I have designed a EZ-USB FX2 device and I need to communicate with LabVIEW. I mean I just want to send and receive data. I don’t know how to achieve this goal.Someone have advised me to design a HID device,then use VISA Driver Development Wizards to generate driver(inf file).SO I defined it to a hid device .However when I connect my hid device to the computer, it will automatically be recognized as HID compliance device. I can’t to install the inf file driver. I wondered whether all HID devices will be acquiescently installed the drivers contained in the windows rather than use the inf file driver generated by VISA Driver Development Wizards? If so,what should I do next to communicate with HID USB device under windows XP with Labview? HOPE TO GET HELP!
              KIVI

    Hi,
    I am working on a project using PIC18F4550 MCU and USB.
    I would need to send and receive data from the MCU thru USB. I have uninstaled the HID and created a new NI-VISA driver for my MCU. this worked fine, and it did showed up in MAX
    Unfortunately I was not able to receive data from the MCU, Just sending!
    I thought to use HID.DLL but the way I need to use the functions inside the HID DLL is simply too much for me, I am not a PC programmer.
    There is any kind of VI that is able to use HID.DLL to comunicate with external devices conected to PC thru USB?
    Please Help
    Andrei

  • Using XCode for Cross Developing (Target would be Linux x86)

    I'm developing RealTime Software - running as RT-Kernel modules - written in C for Linux x86 (RTlinux on Kernel Version >2.4.32 or RTAI on Kernel Version 2.6.x).
    At the moment I develop using ssh and vi on the target machine. This is NOT very comfortable.
    After searching your forum I found:
    http://discussions.apple.com/thread.jspa?messageID=2322911&#2322911
    Fine Links to the XCode Documentation. But reading it I just found how to cross develop to MacOS X targets (x86 and PPC).
    Can you please tell me, if it is possible to use XCode for cross development with target machines using Linux on x86?
    Thank you
    Johann

    In theory, yes. In practice, no. You would need a version of GCC that supports targeting that architecture and all the header and library files for that architecture. It is highly unlikely to be worth the time and effort to try it and it may not even work even if you do everything right. Plus, you would still have to run and test on the target platform.
    You'll just have to make life the best that you can on Linux. I suggest downloading the NEdit editor for X Windows. It is as good as any Mac editor and very easy to script for automation.

  • For CF Server 9 developer win 64bit has the same running problems like 32bit, or more

    CFWACK8 reader:
    Better install CF Server stand alone - so no need  Apache? For CF Server 9 developer windows 64bit has the same running  problems like 32bit, or more?
    I have installed  http://www.apachefriends.org/en/xampp-windows.html ..WAMPP, well Mysql  may used by this CF Server 9 developer, although book use Apache Derby  embedded to cf server?
    CFEclipse plugin may installed either in my (separate) Flash Builder 4 or Eclipse Helios, or only to latter?

    CF 9 64-bit will generally be your best choice on a 64-bit platform, unless you specifically require something that's not available in 64-bit, like COM.
    For development, the built-in web server is fine. But if you want to learn how to manage a web server, it's good to install Apache and configure CF to use that.
    You may use any SQL engine for which there are JDBC drivers, including MySQL. Apache Derby is used for demos, etc, because it's bundled with CF. You don't want to use it for real projects, though.
    You can install CF Builder in any modern Eclipse, including Helios or Flash Builder. This is largely a matter of personal preference. I've encountered some features that don't work properly unless you let CF Builder install its own bundled Eclipse, but these are features that I don't use much anyway.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Xcode buries /usr/bin/gcc deep beneath Xcode.app/Content/Developer

    How do I get GCC, and the rest of the compiler utilities that come with Xcode to show up in the standard /usr/bin directory?
    I downloaded and installed Xcode from the Apple App store.  When the installation completed, Xcode had buried the standard compiler components that are typically in /usr/bin deep under the Applications directory at /Applications/Xcode.app/Content/Developer/usr/bin.
    This is Xcode 5.0 (5A1413) and OS 10.8.5.

    A.Rick wrote:
    I am attempting to use a variety of tools that assume on a traditional Unix/Linux environment, such as Maven, Eclipse, CUDA etc.  The fact that a Mac has a real Unix underneath all that makeup was a key factor in my purchase decision.
    There is nothing "traditional Unix" about those tools. I didn't even know what Maven was. It is apparently some Java thing. I can assure you that UNIX predates Java by many years. UNIX is nothing but a certification that is applied on top of an operating system. It can't really be said that the Mac has a "real Unix underneath". The Mac is a certified UNIX operating system and has a command-line and POSIX interface, but underneath it is just as Mac as it appears - i.e. not Linux.
    I have the tools that I am after.  They are just in the wrong place.  Having a tool, with a different name, that acts like GCC, or Make, etc. doesn't help me when the build environment that I am working with assumes the original Unix tool.
    So, is it true that the only way I that will be able to get the orignal behavior is to copy everything that is beneath /Applications/Xcode.app/Content/Developer/usr/bin up to the real /usr/bin?
    Depending on your operating system, you may be able to have Xcode just install command-line tools. I think Mavericks will install them automatically (if you try to use them) even without Xcode. You can also download the command-line tools installer package from the Apple Developer site.
    To quote the GNU folks, GNU's not UNIX. If you want to use GNU tools, you will have to ask the GNU people to port them to the Mac. They have never, ever completely done that. GNU has always relied in some form on lower-level Xcode tools. Then, once GNU kicked Apple to the curb with GPLv3, Apple wrote its own compiler. You can use the command-line as much as you want, but the commands are going to be slightly different that what you are used to on Linux.
    If you want to use Linux, then you should use Linux. The Mac is different. I think it is better than Linux. The Linux people disagree.

  • My apple-id doesn't work with Xcode as a developer. Registration is completed, but the program don't know me as a developers ID.

    My apple-id doesn't work with Xcode as a developer. Registration is completed, but the program don't know me as a developers ID.

    Something as simple as your method of payment having expired could be causing your problems. Use the link below to check all info, especially your payment info, for your Apple ID.
    https://appleid.apple.com

  • USB Development

    Apparently, logging USB traffic for USB development requires the Logger utility for the USB Prober app. However, the logger utility must be loaded by the user for security or other reasons. I see online that Logger utility to match OS version up to 10.3.7 is made available by Apple, along with stern warnings to match your software version with the Utility version or suffer the consequences.
    Where do I find the 10.9.3 USB logger utility?

    I've found the IOUSBFamily Log Release for OS X 10.9.2
    It seems registered vendors are given a monopoly for some months on new systems?  Or is version 10.9.2 IOUSBFamily Log Release supposed to be loaded for version 10.9.3 OS? Or is the release just something that somebody somewhere at Apple has to get around to getting done after OS versions are released?

  • File.upload on Air SDK for iOS devices failed to send http request to server.

    I am trying to use ActionScript's File.upload to upload a file on Air SDK for iOS8 environment, but the File.upload does not work properly. No handler about the file upload is executed after File.upload is invoked, and no exception is caught. When I check the network traffic of the server side, I found that no http request even hit the server after File.upload is executed. The code snippet here is very simple.
      private var file:File;
      private var dir:File;
      //This method is executed to create a file and upload it when the Upload Button is pressed.
      protected function OnUploadButtonPressed(event:MouseEvent):void{
      var str:String = 'This is test';
      var imageBytes:ByteArray = new ByteArray();
      for ( var i:int = 0; i < str.length; i++ ) {
      imageBytes.writeByte( str.charCodeAt(i) );
      try{
      dir = File.applicationStorageDirectory
      var now:Date = new Date();
      var filename:String = "test" + now.seconds + now.milliseconds + ".txt";
      file = dir.resolvePath( filename );
      var stream:FileStream = new FileStream();
      stream.open( file, FileMode.WRITE );
      stream.writeBytes( imageBytes );
      stream.close();
      file.addEventListener( Event.COMPLETE, uploadComplete );
      file.addEventListener( IOErrorEvent.IO_ERROR, ioError );
      file.addEventListener( SecurityErrorEvent.SECURITY_ERROR, securityError );
      file.addEventListener(ErrorEvent.ERROR, someError);
      file.addEventListener(ProgressEvent.PROGRESS, onProgress);
      file.upload( new URLRequest("http://10.60.99.31/MyPath/fileUploadTest.do"));//This line does not work. No handler is executed. No http request hit the server side.
      } catch( e:Error ) {
      trace( e );
      //Complete Handler
      private function uploadComplete( event:Event ):void
      trace( "Upload successful." );
      //IOError handler
      private function ioError( error:IOErrorEvent ):void
      trace( "Upload failed: " + error.text );
      //SecurityError handler
      private function securityError(error:SecurityErrorEvent):void{
      trace( "Security error:" + error.text );
      //Other handler
      private function someError(error:ErrorEvent):void{
      trace("some error" + error.text);
      //Progress handler
      private function onProgress(event:ProgressEvent):void{
      trace("progressHandler");
    When executed on Air Simulator, it works fine as expected, and the file is successfully uploaded to the server. But When executed on iOS devices(in my case, iPad), as I explain early, no handler about the file upload is executed, and no the http request even hit the server. So I think the problem may be in the client side. It seems that the Air SDK for iOS just failed to send the http request for some reason.
    To make my problem more clear, I list my environment below:
    Development Environment:  Windows7 (64bit)  / Mac os 10.9.4 (Tested on  OS platforms.)
    IDE: Flash Builder 4.7
    Air SDK:  3.8 / 16.0.0 (After I updated to the lastest Air SDK 16.0.0 , the problem still exists.)
    Application Server:  Tomcat7 + Spring
    Target OS: iOS 8
    I have been struggling for this for days. So I really appreciate it if anyone has any idea about this.
    Thanks in advance.

    Hi bluewindice ,
    As you have quoted ( ActionScript's File.upload does not work on Air SDK for iOS devices ) , this issue has been replicated at our end, and our team will be working on it.
    Thanks,
    Tushar

  • Fatal Error Acrobat failed to send a DDE command

    Hello all.  I have a fillable form I developed using word 2010.  I am trying to convert it to a PDF form.  I open acrobat and select star from wizard from the Forms menu.  I browse to find the word document and open it.  I save the PDF document and everything looks good.  I get a progress bar that says "Please wait, reading Adobe PDF".  This is very slow progress and then I get the Fatal Error message "Acrobat Failed to send a DDE command".  I click ok and the progress bar continues still very slowly.  I get the same message again.  I click ok and the progress bar continues.  The progress bar gets to the end and just stays there.  Nothing happens.  I waited for an hour and then cancelled it. When clicked cancel, the PDF document opens with my form but without any fillable fields or drop down menus.  I tried to do it again a few times and I get the same error message.   I am using Adobe Acrobat 9 pro version 9.4.2.  Thank you in advance for your help.
    Gonzalo
     

    AA 9 will not work for anything but the print function from WORD 2010. The only version of Acrobat that is compatible with OFFICE 2010 for PDF Maker is AA X. Thus, open WORD and print to the Adobe PDF printer. Then open the pdf in Acrobat. Go to FORMS>Add or Edit fields. Since you have no fields at present, Acrobat will ask if you would like to detect form fields. Answer yes and you will get a first cut at the form fields. Yes, you will likely have to add some more and change the ones that Acrobat estimates, but you are on your way.
    The other two options you have is to go back to WORD 2007 or earlier or upgrade to AA X (or find someone with AA X and WORD 2010). These methods are pretty much your options with the software combination that you have.

Maybe you are looking for