On Tue, Oct 9, 2012 at 10:27 PM, Xiaofan Chen <[email protected]> wrote: > Somehow I got segmental fault with the find_all_pp example > under Mac OS X 10.7.5. This is with the latest git. > > Not so sure if this is a libusb Darwin problem or libftdi issue. >
I think it is not a OS specific problem. I built libftdi git under Windows and find_all_pp crashed as well. Again eeprom example works fine. C:\work\libftdi\libftdi\build\examples>eeprom.exe -v 0x0403 -p 0xcff8 Chip type 4 ftdi_eeprom_size: 256 0x000: 01 00 03 04 f8 cf 00 02 80 32 08 00 01 00 9a 10 ........ .2...... 0x010: aa 24 ce 12 00 00 00 00 56 00 00 00 00 00 00 00 .$...... V....... 0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x090: 00 00 00 00 00 00 00 00 00 00 10 03 41 00 6d 00 ........ ....A.m. 0x0a0: 6f 00 6e 00 74 00 65 00 63 00 24 03 41 00 6d 00 o.n.t.e. c.$.A.m. 0x0b0: 6f 00 6e 00 74 00 65 00 63 00 20 00 4a 00 54 00 o.n.t.e. c. .J.T. 0x0c0: 41 00 47 00 6b 00 65 00 79 00 2d 00 32 00 12 03 A.G.k.e. y.-.2... 0x0d0: 35 00 33 00 54 00 39 00 58 00 44 00 52 00 34 00 5.3.T.9. X.D.R.4. 0x0e0: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e ea ........ ........ VID: 0x0403 PID: 0xcff8 Release: 0x0200 Bus Powered: 100 mA Manufacturer: Amontec Product: Amontec JTAGkey-2 Serial: 53T9XDR4 Checksum : ea0e Attached EEPROM: 93x56 PNP: 1 Channel A has Mode FIFO Channel B has Mode UART AL has 8 mA drive AH has 4 mA drive BL has 4 mA drive BH has 4 mA drive C:\work\libftdi\libftdi\build\examples>find_all_pp -v 0x0403 -p 0xcff8 Found devices ( VID: 0x403, PID: 0xcff8 ) ------------------------------------------------ (crash) Interestingly, the old version I built back in last year works fine. C:\work\libftdi\libftdi1_devkit_MinGW32_31August2011\bin>find_all_pp -v 0x0403 - p 0xcff8 Found devices ( VID: 0x403, PID: 0xcff8 ) ------------------------------------------------ FTDI (0x591590): Amontec, Amontec JTAGkey-2, 53T9XDR4 (Open OK) -- Xiaofan -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
