CTPCI and USB thumb drive

Discuss CT60/CT63, CTPCI, SuperVidel and EtherNAT hardware here.

Moderators: Mug UK, [ProToS], lp, moondog/.tSCc., Moderator Team

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

CTPCI and USB thumb drive

Postby wongck » Wed Jan 24, 2018 3:27 pm

So I finally put in my USB card into the CTPCI.
I plug in a USB thumb drive and it was found by TOS.
It was given the next free drive letter by Hddriver by TOS.

The thumb drive was 8GB and in FAT32.
The stuff already on it was not seen on the Falcon.
Nevertheless I drag a small text file from the Mint desktop to the thumb drive, no error was reported.
I read the file and it was readable.

When I plug back the thumb drive into Windows.... All I see are the original stuff and no text file from Falcon.
So something is wrong.

Does anyone have any idea what is the supported format and max size ?
( i assumed FAT32 is OK like the SD card reader on Firebee )

[edit: corrected drive number assigned to USB thumb drive ]
Last edited by wongck on Fri Jan 26, 2018 2:11 pm, edited 1 time in total.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Thu Jan 25, 2018 3:17 pm

TOS does not read my 256MB thumb drive.
It was not even showing in HDDriver App, so I cannot make a DOS/TOS compatible partition.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Galvez
Captain Atari
Captain Atari
Posts: 235
Joined: Fri Oct 19, 2007 7:49 am

Re: CTPCI and USB thumb drive

Postby Galvez » Thu Jan 25, 2018 5:42 pm

wongck wrote:So I finally put in my USB card into the CTPCI.
I plug in a USB thumb drive and it was found by TOS.
It was given the next free drive letter by Hddriver.

The thumb drive was 8GB and in FAT32.
The stuff already on it was not seen on the Falcon.
Nevertheless I drag a small text file from the Mint desktop to the thumb drive, no error was reported.
I read the file and it was readable.

When I plug back the thumb drive into Windows.... All I see are the original stuff and no text file from Falcon.
So something is wrong.

Does anyone have any idea what is the supported format and max size ?
( i assumed FAT32 is OK like the SD card reader on Firebee )

https://github.com/freemint/freemint/bl ... limits.txt

Galvez
Captain Atari
Captain Atari
Posts: 235
Joined: Fri Oct 19, 2007 7:49 am

Re: CTPCI and USB thumb drive

Postby Galvez » Thu Jan 25, 2018 6:02 pm

wongck wrote:So I finally put in my USB card into the CTPCI.
I plug in a USB thumb drive and it was found by TOS.
It was given the next free drive letter by Hddriver.

The thumb drive was 8GB and in FAT32.
The stuff already on it was not seen on the Falcon.
Nevertheless I drag a small text file from the Mint desktop to the thumb drive, no error was reported.
I read the file and it was readable.

When I plug back the thumb drive into Windows.... All I see are the original stuff and no text file from Falcon.
So something is wrong.

Does anyone have any idea what is the supported format and max size ?
( i assumed FAT32 is OK like the SD card reader on Firebee )

Did you plug the USB device while the computer was on or before booting?
If you have problems reading the the content of your mass storage USB device with MINT and CT60TOS beta version 12 try to plug the USB device before booting your Falcon. There was a problem that was fixed in beta 14 with hot plugging under MiNT.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Thu Jan 25, 2018 10:52 pm



Thanks. I know these limits.
What I wanted to know is if there was something similar to the SD A drive of Firebee.
IIRC, it was limited to 2GB cards at first but subsequent release of FireTOS opens it to bigger sized SD cards.
So may be the USB thumb drive had a limit with initial TOS 2,02 releases ?
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Thu Jan 25, 2018 10:55 pm

Galvez wrote:Did you plug the USB device while the computer was on or before booting?
If you have problems reading the the content of your mass storage USB device with MINT and CT60TOS beta version 12 try to plug the USB device before booting your Falcon. There was a problem that was fixed in beta 14 with hot plugging under MiNT.


As with much drives handled by HDDriver, I have only v8.23 here, I always power off and piug in any hdd.
So I used this practice for the USB thumb drive too, never hot-plug. Falcon powered off and only plug in the device.
yeah I know.... kind of defeats the purpose of a thumb drive, but better be safe than sorry. :mrgreen:
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Thu Jan 25, 2018 11:32 pm

As I had sometime, I did some more test.
I now am sure that it work with Mint using Fat32 preformatted on the USB thumb drive.
I tried both 8GB and 4GB. In all cases it works. But the 256MB FAT thumb drive was not detectable.

However, in TOS it does not work. My idea was to boot to TOS and use HDdriver app to partition to DOS/TOS compatible.
But it is not even showing as a drive in TOS. I used a 256MB thumb drive for this.

On possible conclusion is that it only recognise FAT32 thumb drive only.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Rustynutt
Atari Super Hero
Atari Super Hero
Posts: 589
Joined: Wed Mar 21, 2012 7:38 am
Location: Oregon
Contact:

Re: CTPCI and USB thumb drive

Postby Rustynutt » Thu Jan 25, 2018 11:58 pm

Hi Wongck, if you have some time down the road, could you look at this site and comment if it's something that could be done under MiNT with the CTPCI?

(https://tareqalam.com/2008/07/11/connec ... -pc-suite/)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Fri Jan 26, 2018 12:43 am

I don't think it can be done, as it seems to attach a serial modem to the usb port. There is no such serial modem over USB for Atari.
If there were, then you do not even need to do the 1st step, you just connect the modem directly talking at the correct baud, should do the trick.

What would be interesting here is that any device that poses itself as looking like a thumb drive should be able to connect to the CTPCI USB.
This includes Android phones, iPhones (only photos), camera and even camcoders. Now that's be a good feature !!
I mean I can already take my microSD from my phone, plug it in the SD adapter and use it on my Falcon via the CF-SD adapter as my 2nd drive.
But hey, just plugging the phone in without going through all that adapters will be cooler.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Rustynutt
Atari Super Hero
Atari Super Hero
Posts: 589
Joined: Wed Mar 21, 2012 7:38 am
Location: Oregon
Contact:

Re: CTPCI and USB thumb drive

Postby Rustynutt » Fri Jan 26, 2018 8:13 am

Maybe I'm confused. The Nokia N8 has it's own "modem". I tether it via USB to the PC when ISP is down and the cell uses SIM data for internet connection, and simply passes it back via the USB. All the USB would have to do is the communication. Slap me if I'm wrong and just not computing this.

Re-read "There is no such serial modem over USB for Atari." Do you mean there is no driver to handle the communication protocol?

My older Nokia's just show up as storage, as far back as Win XP. I noticed the new Nokia 8 (not N8) Android requires user intervention at the phone to allow the connection.

On another note, came across a page where examples using Pascal to write Symbian sis files works (dated material, ~2008). Know there's a box around here somewhere with "Pascal" printed on it :)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Fri Jan 26, 2018 11:54 am

Rustynutt wrote:Re-read "There is no such serial modem over USB for Atari." Do you mean there is no driver to handle the communication protocol?


yes.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Latz
Captain Atari
Captain Atari
Posts: 232
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

Re: CTPCI and USB thumb drive

Postby Latz » Fri Jan 26, 2018 12:58 pm

Hi,

wongck wrote:However, in TOS it does not work. My idea was to boot to TOS and use HDdriver app to partition to DOS/TOS compatible.
But it is not even showing as a drive in TOS.


Just in case that i can find a working USB card: What are your settings in HDDRUTIL.APP/Settings/Devices+Partitions/? (Screenshot?)
Is the USB thumb drive listed in /Tools/Check devices/ ?

Regards,
Latz
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 80GB IDE HD, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Fri Jan 26, 2018 2:07 pm

The USB thumb drive is not seen on the hddriver.app.
It was also not enumerated by hddriver, I was mistaken, I though I saw it along the hddriver drives list but it is not.
It is actually assigned by TOS 2.02... you see USB 0.0 line in blue. This is how it looks like with my usb keyboard, mouse & thumb drive.
You do not have the required permissions to view the files attached to this post.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Galvez
Captain Atari
Captain Atari
Posts: 235
Joined: Fri Oct 19, 2007 7:49 am

Re: CTPCI and USB thumb drive

Postby Galvez » Fri Jan 26, 2018 4:01 pm

After reading the posts in this thread I'm not sure if you know that you don't need HDDriver to use USB mass storage devices, Didier's TOS handles it by itself, of course if you want to access FAT32 partitions you'll need MiNT. And you don't need to format them with HDDriver to use them in your ATARI, it can be done in your PC or Mac.

I think it's possible to format them with HDDriver through the SCSDRV interface inside CT60TOS/FireTOS but not sure.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Sat Jan 27, 2018 12:09 am

I did not know that, information about these seems difficult to find.
Do you know of any resources on this topic? May be some release notes?

So it looks like TOS 2,02 does not read the USB device.
Of course Fat32 devices can't read by TOS... that's why I used a 256MB Fat device that's MS fat16.
But of course TOS cannot read MS Fat16 also, so only way is to make a TOS/DOS compatible format.
But since HHDriver app cannot see the device - there is no way.

I live with fat32.... not a real issue.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Latz
Captain Atari
Captain Atari
Posts: 232
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

Re: CTPCI and USB thumb drive

Postby Latz » Sat Jan 27, 2018 8:50 am

Hi,

thank you David for this infos! This was indeed not clear.

Latz
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 80GB IDE HD, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.

Galvez
Captain Atari
Captain Atari
Posts: 235
Joined: Fri Oct 19, 2007 7:49 am

Re: CTPCI and USB thumb drive

Postby Galvez » Sat Jan 27, 2018 8:55 am

wongck wrote:I did not know that, information about these seems difficult to find.
Do you know of any resources on this topic? May be some release notes?

The best place to find this info is Didier's web site I guess
wongck wrote:So it looks like TOS 2,02 does not read the USB device.
Of course Fat32 devices can't read by TOS... that's why I used a 256MB Fat device that's MS fat16.
But of course TOS cannot read MS Fat16 also, so only way is to make a TOS/DOS compatible format.
But since HHDriver app cannot see the device - there is no way.

CT60TOS can handle DOS FAT16 partitions and MiNT too, so I guess the problem with your 256MB device must be something else.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Sat Jan 27, 2018 9:50 am

Galvez wrote:CT60TOS can handle DOS FAT16 partitions and MiNT too, so I guess the problem with your 256MB device must be something else.

Oh, WoW. which beta release is that on?
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Galvez
Captain Atari
Captain Atari
Posts: 235
Joined: Fri Oct 19, 2007 7:49 am

Re: CTPCI and USB thumb drive

Postby Galvez » Sat Jan 27, 2018 12:18 pm

wongck wrote:
Galvez wrote:CT60TOS can handle DOS FAT16 partitions and MiNT too, so I guess the problem with your 256MB device must be something else.

Oh, WoW. which beta release is that on?

I don't know but the beta you have should have support for it.

EDIT: From Didier's website:

2009 November. New integration of a PCI USB ohci/ehci driver, now the base of sources is u-BOOT.
I made the test on the M5484LITE with the USB NEC board using an D720101 who wait the CTPCI since 4 years. The PCI bus on the M5484LITE is at 50 MHz and the NEC specifications is for 33 MHz, but USB works !
The driver according to devices detected can add USB features to TOS like :

The keyboard (with tables for convert the scan-codes like Eiffel).
The mouse
The USB sticks (USB Mass Storage), FAT16 partitions (DOS or TOS).

The mouse and keyboard use interrupts events.
For the USB stick(s), the modified BDOS allows to use DOS partitions (2 GB), the TOS can use only DOS partition with the limit of 16 MB.
The XHDI protocol must allow with the help of your favrite HD driver to format partitions in combinated mode (DOS/TOS).
But actually if the detection and initialization of multiples devices works, it is impossible to use more than one in the same time !

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Sat Jan 27, 2018 1:57 pm

Thanks for the information.
So based on the dates, it should have it already.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12487
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: CTPCI and USB thumb drive

Postby wongck » Thu Feb 01, 2018 3:03 pm

To test the speed, I copied a 4,932 KB file from my TOS partition to the USB thumb drive.
(the thumb drive you see on the bootup photo above)
It took 23 secs.... so around 214 KB/sec.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “CT60 / CT63 Area”

Who is online

Users browsing this forum: No registered users and 5 guests