Codes
WiiRd forum
May 12, 2024, 08:13:20 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome on the new server

Update 4.3 - do NOT update!
Gecko 1.9.3.1
Should I get a USB Gecko, I wanna hack?
How do I use my USB Gecko
Where can I get WiiRd?
 
   Home   CODE DATABASE GAMEHACKING Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Building Gecko.NET from source  (Read 4807 times)
Nuke
Hacker
Hero Member
*****

Karma: 53
Posts: 661


« Reply #15 on: October 07, 2010, 06:55:38 AM »

Thanks for clearing that up. So far I have not run into any problems but I have only made a test application with it (part of the sdk which I plan to release with SE) and it hasn't crashed. Bushing did tell me long before I started using Mac hardware that the drivers were not very good and I trust him when it comes to anything related to Mac stuff.

I shall set up libftdi and give it a try.

btw isn't VCP only USB 1.1 spec, i.e can't handle a 64K down packet?


Well, I am not sure if d2xx is supported correctly. Basically I do not have a Mac personally, I was talking to 2 Team Twiizers back then and they literally complained about the official ftdi driver for being hardly supported, slow and unreliable (meaning it sometimes crashes). The major downside of it: rather than supporting to be a Virtual COM Port or a D2XX library at once you can choose one of both - D2XX outrules the COM port and vice versa.

As far as I can see libftdi is its own implementation: so libftdi is not 100% D2XX compliant and not 100% COM Port either. Internally libftdi uses libusb and directly communicated via USB.

@giantpune: your code seems interesting!
Logged

0xFFFFFFuuuuuuu
Link
that dev there
Moderator
Hero Member
*****

Karma: 76
Posts: 1254

I hate everyone in this community. Except for you!


WWW
« Reply #16 on: October 07, 2010, 09:52:39 AM »

btw isn't VCP only USB 1.1 spec, i.e can't handle a 64K down packet?

I do not know for sure, but I also did hear something like that!
Logged

dcx2
Computer Engineer
Moderator
Legendary Member
*****

Karma: 165
Posts: 3468


WWW
« Reply #17 on: October 07, 2010, 01:50:27 PM »

USB 2.0 doesn't handle 64k packets.  The max packet size for a single Hi-Speed USB transfer is usually 512 bytes (for Full-Speed devices, it's 64 bytes).  It is the responsibility of the driver to split a larger packet up into smaller packets.

I checked Jan Axelson's website - http://www.lvr.com/usb_virtual_com_port.htm - and I couldn't find anything that restricts the max packet size to that of Full-Speed devices.  Perhaps the restriction you refer to is a result of FTDI's driver, and not the USB spec?
Logged

Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!