Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Communication with device under Mac OSX 10.6 with USB and ANTAP1M5IB

Rank

Total Posts: 1

Joined 2010-02-04

PM

After installing the USB driver for mac, and compiling the demo code, we receive this crashlog when trying to communicate with ANT module on USB card.

Could you have a look and tell us if something can be done to the usb driver to solve the problem?

Thanks,

Alex

===========

To reproduce:

1. plug usb card with ANTAP1M5IB module on it
2. launch demo
3. enter '0'

Observation:

- in /var/log/system.log:

Mar 10 21:18:13 pop pcscd[727]: Non-smartcard device launched pcscd [Vendor: 0XFCF, Product: 0X1006]
Mar 10 21:18:32 pop ReportCrash[730]: Saved crash report for demo[728] version ??? (???) to /Users/alx/Library/Logs/DiagnosticReports/demo_2010-03-10-211832_Incoming.crash

- In crash log:

Process: demo [728]
Path: /Users/alx/dev/tetalab/ANT_Library_MacOSX_Package/test/demo
Identifier: demo
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [450]

Date/Time: 2010-03-10 21:18:32.501 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
Assertion failed: (bStatus), function Test_Init, file demo.cpp, line 162.


Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff813edfe6 __kill + 10
1 libSystem.B.dylib 0x00007fff8148ee32 abort + 83
2 libSystem.B.dylib 0x00007fff8147be74 __pthread_markcancel + 0
3 demo 0x00000001000026b5 Test_Init(unsigned char, unsigned char) + 205
4 demo 0x000000010000275b main + 80
5 demo 0x0000000100000f9c start + 52

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000100003a15 rcx: 0x00007fff5fbff2f8 rdx: 0x0000000000000000
rdi: 0x00000000000002d8 rsi: 0x0000000000000006 rbp: 0x00007fff5fbff310 rsp: 0x00007fff5fbff2f8
r8: 0x0000000000000003 r9: 0x0000000000000000 r10: 0x00007fff813ea026 r11: 0x0000000000000206
r12: 0x00000000000000a2 r13: 0x00000001000036e0 r14: 0x00000001000039d3 r15: 0x00007fff70215670
rip: 0x00007fff813edfe6 rfl: 0x0000000000000206 cr2: 0x000000002f838000

Binary Images:
0x100000000 - 0x100003ff7 +demo ??? (???) <43193528-2A41-5E43-AED9-C1CBF7A83D92> /Users/alx/dev/tetalab/ANT_Library_MacOSX_Package/test/demo
0x100025000 - 0x100030fff +libANT.dylib ??? (???) <98EBFB49-B344-56EF-823A-F2350DA4786E> /Users/alx/dev/tetalab/ANT_Library_MacOSX_Package/test/libANT.dylib
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B633F790-4DDB-53CD-7ACF-2A3682BCEA9F> /usr/lib/dyld
0x7fff80869000 - 0x7fff80878fff com.apple.NetFS 3.2.1 (3.2.1) <FF21DB1E-F425-1005-FB70-BC19CAF4006E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8139f000 - 0x7fff8155dff7 libSystem.B.dylib ??? (???) <526DD3E5-2A8B-4512-ED97-01B832369959> /usr/lib/libSystem.B.dylib
0x7fff816b4000 - 0x7fff816b4ff7 com.apple.CoreServices 44 (44) <210A4C56-BECB-E3E4-B6EE-7EC53E02265D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff817e0000 - 0x7fff8185dfef libstdc++.6.dylib ??? (???) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff81e57000 - 0x7fff81f6efef libxml2.2.dylib ??? (???) <EE067D7E-15B3-F043-6FBD-10BA31FE76C7> /usr/lib/libxml2.2.dylib
0x7fff81f6f000 - 0x7fff81f9aff7 libxslt.1.dylib ??? (???) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x7fff826fe000 - 0x7fff82983fe7 com.apple.security 6.1.1 (37594) <E5DA8BFD-4A48-EFD4-E938-3BDFB356A8AF> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff82b1a000 - 0x7fff82d9bfe7 com.apple.Foundation 6.6.1 (751.14) <767349DB-C486-70E8-7970-F13DB4CDAF37> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff82fa9000 - 0x7fff8305ffff libobjc.A.dylib ??? (???) <F206BE6D-8777-AE6C-B367-7BEA76C14241> /usr/lib/libobjc.A.dylib
0x7fff83062000 - 0x7fff830f2fff com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff835bd000 - 0x7fff835c1ff7 libmathCommon.A.dylib ??? (???) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff835c3000 - 0x7fff835d9fef libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
0x7fff836b5000 - 0x7fff836ddfff com.apple.DictionaryServices 1.1.1 (1.1.1) <9FD709FC-23F0-F270-EAC1-C590CD516A36> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff8398d000 - 0x7fff83a59fff com.apple.CFNetwork 454.5 (454.5) <319C7138-2839-DA5E-413A-618248BD4A32> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff83ee2000 - 0x7fff83f3ffef com.apple.framework.IOKit 2.0 (???) <EBBEED67-D5BE-5F7F-96F4-9023BBA1B913> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff83f4e000 - 0x7fff83f5ffef libz.1.dylib ??? (???) <3A7A4C48-A4C8-A78A-8B87-C0DDF6601AC8> /usr/lib/libz.1.dylib
0x7fff83f60000 - 0x7fff83fa1ff7 com.apple.SystemConfiguration 1.10.1 (1.10.1) <FFCA91A7-ADDB-E3D0-234A-47609BC37556> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff85770000 - 0x7fff857bcfff libauto.dylib ??? (???) <072804DF-36AD-2DBE-7EF8-639CFB79077F> /usr/lib/libauto.dylib
0x7fff85972000 - 0x7fff859bcff7 com.apple.Metadata 10.6.2 (507.4) <A28A5E0C-DCDC-A5CE-4EB7-39752E63956A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff85a7a000 - 0x7fff85b36ff7 com.apple.CoreServices.OSServices 352 (352) <CD933BBD-B260-552F-E64E-291D6ED3091A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff86927000 - 0x7fff86c59fef com.apple.CoreServices.CarbonCore 861.2 (861.2) <39F3B259-AC2A-792B-ECFE-4F3E72F2D1A5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff86c5a000 - 0x7fff86e18fff libicucore.A.dylib ??? (???) <5BD16988-545F-6A8C-9A6F-FB18ACDCAEC2> /usr/lib/libicucore.A.dylib
0x7fff86e69000 - 0x7fff86ea4ff7 com.apple.AE 496.1 (496.1) <27D2D2E9-B309-7E65-8C3F-7FF01148F0DE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff879b2000 - 0x7fff87a52fff com.apple.LaunchServices 362 (362) <CCBFC037-7162-E392-B11F-90098891AE20> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff87b5d000 - 0x7fff87b63ff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff87fa3000 - 0x7fff87fb1ff7 libkxld.dylib ??? (???) <568C35E7-B101-3F1E-0361-3E1E9F15C90B> /usr/lib/system/libkxld.dylib
0x7fff8813a000 - 0x7fff882adff7 com.apple.CoreFoundation 6.6.1 (550.13) <1E952BD9-37C6-16BE-B2F0-CD92A6283D37> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8874b000 - 0x7fff88804fff libsqlite3.dylib ??? (???) <5A15E12A-AE8F-1A36-BBC7-564E7D7AD0FB> /usr/lib/libsqlite3.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <526DD3E5-2A8B-4512-ED97-01B832369959> /usr/lib/libSystem.B.dylib      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

That would mean it was unable to initialize the USB connection. First, make sure the baud rate you use when connecting to an AP1 is set to 50000 bps.

We are aware of several issues with Snow Leopard, and are working on an update to the libraries that address these.