libftdi Archives
|
From: | Adam Preble <preble@xxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Sat, 30 May 2009 11:11:30 -0400 |
Hello, I am working on a library that uses libftdi 0.16 (and libusb 0.1.12) to communicate with a FT245RL. All of my work is taking place on a Mac (Intel, 10.5.6) but we're keeping the library code portable. I've written a C++ console app that uses the library and everything works great there.
The problems arose when I started trying to call the library from a Cocoa app. My library can still enumerate all of the devices and open one, but when it calls to write to the device via ftdi_write_data() it returns 0 bytes written.
I've used Xcode to step down through the code, all the way into the libusb bulk write code but haven't been able to observe the actual problem. Sometimes Xcode/gdb will print out the following while stepping over the write call:
Program received signal: “EXC_BAD_ACCESS”. Cannot access memory at address 0x6f697377 Cannot access memory at address 0x6f697377
libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|