|
From: Stephen S. <rad...@gm...> - 2009-03-18 19:21:34
|
Here's a log of using libnifalcon on OS X (10.4.11, PowerPC) Had some success, though some weirdness with loading the firmware with libusb. Just thought I'd post my results to compare with others. This was with the Falcon directly plugged into the computer: bin$ ./falcon_test_cli --libftdi --device_index 0 --nvent_firmware --loop_time_test --force_firmware Setting up libftdi device Loading firmware Can't set firmware mode! 0 0 Could not load firmware Firmware loaded Loop time (in seconds): 4.00813 Loop time (in seconds): 4.0051 Loop time (in seconds): 4.00602 Loop time (in seconds): 4.00405 ^CQuitting This was using a USB powered hub: bin$ ./falcon_test_cli --libftdi --device_index 0 --nvent_firmware --cube_test Setting up libftdi device Falcon not currently homed. Move control all the way out then push straight all the way in. Falcon homed. Move control all the way in or out to start simulation. Starting cube simulation. Loop time (in seconds): 3.88175 Loop time (in seconds): 3.84922 Loop time (in seconds): 3.89114 Loop time (in seconds): 3.89115 Loop time (in seconds): 3.89715 ^CQuitting bin$ ./falcon_test_cli --libusb --device_index 0 --nvent_firmware --cube_test Setting up libusb device Falcon not currently homed. Move control all the way out then push straight all the way in. Falcon homed. Move control all the way in or out to start simulation. Starting cube simulation. Loop time (in seconds): 1.00112 Loop time (in seconds): 1.01109 Loop time (in seconds): 1.00211 Loop time (in seconds): 0.998243 Loop time (in seconds): 1.00708 Loop time (in seconds): 1.00424 Loop time (in seconds): 0.998172 Loop time (in seconds): 1.00821 Loop time (in seconds): 1.00612 Loop time (in seconds): 1.00211 Loop time (in seconds): 1.0011 ^CQuitting Better! However, after unplugging and plugging the device back into the computer directly, it seemed to be impossible to load the firmware using libusb. After loading it using libftdi, I was able to use libusb with the same performance as with a USB hub: bin$ ./falcon_test_cli --libusb --device_index 0 --nvent_firmware --cube_test Setting up libusb device Loading firmware Firmware loaded No firmware loaded to device, cannot continue bin$ ./falcon_test_cli --libusb --device_index 0 --nvent_firmware --cube_test --force_firmware Setting up libusb device Loading firmware Firmware loaded No firmware loaded to device, cannot continue bin$ ./falcon_test_cli --libusb --device_index 0 --nvent_firmware --cube_test --force_firmware Setting up libusb device Loading firmware Firmware loaded No firmware loaded to device, cannot continue bin$ ./falcon_test_cli --libftdi --device_index 0 --nvent_firmware --cube_test --force_firmware Setting up libftdi device Loading firmware Can't set firmware mode! 0 0 Could not load firmware Firmware loaded Falcon not currently homed. Move control all the way out then push straight all the way in. Falcon homed. Move control all the way in or out to start simulation. Starting cube simulation. Loop time (in seconds): 4.00316 Loop time (in seconds): 4.00115 Loop time (in seconds): 4.00615 Loop time (in seconds): 4.00517 ^CQuitting bin$ ./falcon_test_cli --libusb --device_index 0 --nvent_firmware --cube_test Setting up libusb device Falcon not currently homed. Move control all the way out then push straight all the way in. Falcon homed. Move control all the way in or out to start simulation. Starting cube simulation. Loop time (in seconds): 1.00007 Loop time (in seconds): 1.00008 Loop time (in seconds): 1.01008 Loop time (in seconds): 0.999119 Loop time (in seconds): 0.999082 Loop time (in seconds): 1.00211 Loop time (in seconds): 0.999155 Loop time (in seconds): 0.998947 Loop time (in seconds): 0.999088 Loop time (in seconds): 1.0041 Loop time (in seconds): 0.999079 Loop time (in seconds): 1.0001 Loop time (in seconds): 0.999097 Loop time (in seconds): 1.00311 Loop time (in seconds): 1.00411 Loop time (in seconds): 0.999104 Loop time (in seconds): 0.999112 Loop time (in seconds): 1.0021 Loop time (in seconds): 0.999008 Loop time (in seconds): 1.00109 Loop time (in seconds): 0.999105 Loop time (in seconds): 1.00209 Loop time (in seconds): 1.0021 Loop time (in seconds): 0.999194 Loop time (in seconds): 1.00506 Loop time (in seconds): 1.00209 ^CQuitting |