Omnimaga

Omnimaga => News => Topic started by: Juju on March 31, 2012, 02:46:43 pm

Title: USB support for Ndless
Post by: Juju on March 31, 2012, 02:46:43 pm
Today, ExtendeD reports on his blog (http://ndlessly.wordpress.com/2012/03/31/usb-hacking/) he managed to make USB work on Ndless. Support is rather instable and preliminary right now, but his demo program, which only requires a few lines of code, shows the name of the USB device plugged in.

(http://ndlessly.files.wordpress.com/2012/03/usb-drive.jpg?w=600&h=)

Obviously, this opens new doors to Nspire development, as you can write programs that uses USB devices, such as flash drives, mice, keyboards, name it. You have to write your own driver though, but porting existing BSD drivers should be possible as the TI-Nspire OS USB stack is a modified version of the BSD one.

Sources:
http://ndlessly.wordpress.com/2012/03/31/usb-hacking/
http://tiplanet.org/forum/viewtopic.php?t=8974&p=122291#p122291
Title: Re: USB support for Ndless
Post by: Darl181 on March 31, 2012, 02:55:08 pm
So this works with Fat32 drives, judging by the 4gig size?  Cool :D
Title: Re: USB support for Ndless
Post by: calc84maniac on March 31, 2012, 02:59:14 pm
Any USB host works with FAT32 drives if a FAT32 driver is written for it (and currently there are no USB drivers for Ndless :P)
Title: Re: USB support for Ndless
Post by: Xeda112358 on March 31, 2012, 03:11:17 pm
Wow, this is cool o.o
Title: Re: USB support for Ndless
Post by: jwalker on March 31, 2012, 06:22:58 pm
i cant wait till this comes out
Title: Re: USB support for Ndless
Post by: tangrs on March 31, 2012, 07:20:24 pm
Wow, great work here! I'm looking forward to seeing this

I've also been trying to get USB OTG working except I've had no success XD
Title: Re: USB support for Ndless
Post by: DJ Omnimaga on March 31, 2012, 10:49:04 pm
I didn't think this would be accomplished within the next few years, considering how long it took on the 84+ for some people to handle USB programming O.O
Title: Re: USB support for Ndless
Post by: Xeda112358 on March 31, 2012, 11:12:42 pm
I didn't think this would be accomplished within the next few years, considering how long it took on the 84+ for some people to handle USB programming O.O
Yeah, that is what I thought. I am glad for this, especially for when I get my hands on an Nspire...
Title: Re: USB support for Ndless
Post by: Hayleia on April 01, 2012, 02:29:50 am
I didn't think this would be accomplished within the next few years, considering how long it took on the 84+ for some people to handle USB programming O.O
Yeah, that is what I thought. I am glad for this, especially for when I get my hands on an Nspire...
When you'll receive the CX CAS you won at the zContest :P

Also, this is great news :D
The CX already had a lot of memory, now I see mine with a 500 GB external hard drive on it :P
("disque dur" se dit bien "hard drive" ? ou "hard disk ?")

edit: Multiplayer games !!! *.*
Title: Re: USB support for Ndless
Post by: Lionel Debroux on April 01, 2012, 02:39:02 am
Quote
("disque dur" se dit bien "hard drive" ? ou "hard disk ?")
Usually Hard Disk Drive, and Solid State Drive :)

Quote
edit: Multiplayer games !!!
Indeed. A host-capable controller, such as the ones in the 84+(SE), the 89T and the Nspire, ought to be able to drive a hub (externally powered), and therefore multiple Human Interaction Devices connected to the hub.
Title: Re: USB support for Ndless
Post by: Chockosta on April 01, 2012, 07:18:23 am
Wow!
Once again, the Ndless team amazes us!

I'm not sure that the USB key is useful since the Nspire has a huge flash memory...
But it could be used as a very convenient way to send documents to the handheld.
Title: Re: USB support for Ndless
Post by: ElementCoder on April 01, 2012, 07:46:30 am
This is awesome!
All those games, videos, images and lots of other stuff  :o
[grabs 1TB harddrive]  8)

Ndless team, you amaze me again.  :thumbsup:
Title: Re: USB support for Ndless
Post by: Yeong on April 01, 2012, 08:31:09 am
this opens the possibility of making the emulator of bigger games (SNES?) :D
Great job, people! XD
Title: Re: USB support for Ndless
Post by: renatose on April 01, 2012, 11:54:50 am
I do believe in this :D this is another point in history! How easy can it be to use BSD drivers without changes?
Title: Re: USB support for Ndless
Post by: ExtendeD on April 02, 2012, 01:55:05 pm
It's currently not yet possible, but it hopefully will. The most difficult part is to extract all the dependencies of the driver (for example mass storage also requires SCSI, FAT32, ...)
Title: Re: USB support for Ndless
Post by: cyanophycean314 on April 02, 2012, 05:54:26 pm
This is really cool. The storage and peripheral possibilities are tremendous!

Maybe there'll be a Nspire printer!  :D
Title: Re: USB support for Ndless
Post by: apcalc on April 02, 2012, 06:04:09 pm
Wow!  This looks great, congrats! :)
Title: Re: USB support for Ndless
Post by: Freyaday on April 02, 2012, 06:48:40 pm
This is really cool. The storage and peripheral possibilities are tremendous!

Maybe there'll be a Nspire printer!  :D
And then we could use print()!
Title: Re: USB support for Ndless
Post by: DJ Omnimaga on April 02, 2012, 07:39:43 pm
Now we need a TI-Nspire port of gCn :P
Title: Re: USB support for Ndless
Post by: TheNlightenedOne on May 19, 2012, 11:06:45 pm
We could try to get the TI-Navigator to work with normal wi-fi, but the attachments are super-expensive!
Title: Re: USB support for Ndless
Post by: willrandship on May 19, 2012, 11:47:51 pm
An easier and cheaper alternative would be to use a commercial USB adapter. 95% of them use the same open source drivers. (tons of realtek chipsets) and they would support all the wifi networks relatively easily.

Also, this one's the perfect size, and only $9! (http://www.dealextreme.com/p/ultra-mini-nano-usb-2-0-802-11n-150mbps-wifi-wlan-wireless-network-adapter-48166)

Dealextreme ships internationally, by the way, but shipping times are really long.
Title: Re: USB support for Ndless
Post by: pokemonrules9 on May 20, 2012, 04:44:26 pm
Dealextreme ships internationally, by the way, but shipping times are really long.

Yeah, my watch just came in the mail from them... 2 months later :P
Title: Re: USB support for Ndless
Post by: willrandship on May 20, 2012, 05:32:25 pm
but hey, free shipping is free shipping. That's pretty impressive coming from China to the US.
Title: Re: USB support for Ndless
Post by: alberthrocks on May 20, 2012, 07:07:02 pm
but hey, free shipping is free shipping. That's pretty impressive coming from China to the US.
That warrants a refund, usually. It takes 2-3 weeks usually for me.