RISC OS News on Drobe
RISC OS Search
containing
"I used RISC OS and all I got was this lousy emulator"
Welcome back guest  |  Login  |  Register Saturday 17th May 
Login

drobe.co.uk
About Drobe
RISC OS News
Drobe Features
Alternatives
Bookmarks
Riscos.org.uk
Auctions
Events (shows)
AU issues
Tech Material
Wallpaper
Movies
File archives
SH eBooks
FAQs
Changelog

Interact
Forums
Online chat
Your webspace
BBC Emu(games!)
User gallery
RSS news &
comments
Submit news
Contact us

Quick Links
Open directory
Nutshells
ANS archives
ArcSite
RO Repository
Announce
RISCOS Ltd.
Castle

NTK
The Inquirer
The Register
OSNews
Slashdot
Google

Alternatives
NetBSD
ARM Linux
Iyonix Linux

Found Apps
 RISC OS Software !Avalanche
 RISC OS Software !Darts
 RISC OS Software !CFuncAnal
 RISC OS Software !TranTIFF+
 RISC OS Software !Dustbin
 RISC OS Software !NurseW
 RISC OS Software !Tally
 RISC OS Software !VideoLog
 RISC OS Software !USBKick
 RISC OS Software !Spr2Jpeg
Recent users
VinceH is a RISC OS User VinceH
flypig is a RISC OS User flypig
ras is a RISC OS User ras
jmb is a RISC OS User jmb
fantasian2 is a RISC OS User fantasian2
PBiggs is a RISC OS User PBiggs
kenpage is a RISC OS User kenpage
liquid is a RISC OS User liquid
dms is a RISC OS User dms
jmason is a RISC OS User jmason


Why donate?

Serving: 15GB
Fuel: caffeine
2 users online
46 guests
249 active accts 24327 comments

Webstats

 
RISC OS News Feature
Fit a USB combo-media drive to your RiscPC
Published: 13th Jun 2004, 23:00:09GMT  Source: drobe.co.uk
By Ian Jeffray
Page 1 of 1
Hardware How-to
As RISC OS users delve further and further into the realms of digital cameras and other uses of compact storage media, Ian Jeffray shows us how he combined a combo-media drive and the STD UniPod. Disclaimer: This article assumes you're competent with electrical based practical work and any modifications carried out on your kit is done entirely at your own risk.

Driving further
I finally got my hands on STD's UniPod at the Wakefield show in May. UniPod provides a wealth of features on a single podule: USB, twin IDE, 10/100baseT ethernet are the primary functions. Interestingly, the USB function is provided on a four-pin header on the board, as well as two standard USB sockets on the rear of the podule.

Unipod USB header


This gave me an idea - attach an internally-mounted smartmedia to the podule, rather than continue with the external reader I had been using, just to be a bit tidier.

I've been using an insanely handy tiny 6-in-1 USB CM/MD/SM/MMC/MS reader by PQI, and had got this working with STD's 'MassFS' generic USB storage filing system with no particular fuss (Pop 0483:1307=LRTC in !MassFS.OtherDevs) so I had some confidence (whether justified or not) that getting another card reader working would be no big deal, so just picked one that looked nice. I chose the FA402M drive from Mitsumi for 15UKP from scan.co.uk. This drive is a combo floppy drive and multiple card reader in a device no bigger than a standard floppy drive - quite neat, and I was even able to pick the colour of the front bezel to match my machine's case.

The drive connects to the RiscPC via three cables; standard floppy power connector, floppy drive cable, and a USB cable for the reader.

The combo drive


The USB connector is keyed to match the header on a PC motherboard, but the key lug can easily be removed by a sharp knife..

USB connector


..and it then connects straight to the USB connector on the UniPod..

USB connector on the internal Unipod header


..being careful to ensure the four pins match the four wires on the plug (there's an unused hole at one end) Power the machine up and, from the command line, *usbdevices shows that it's working correctly:

Device number 2 (36901c0c) on isp0
Device conforms to USB specification version 1.10
Vendor (0x55aa) :
Product (0xb012) : 8-in-2
Device release : 2.00
Serial number : BB8230BB57


MassFS then needs to be told about the device; take the vendor and product codes from the *usbdevices output and pop them in the "OtherDevs" file inside MassFS. You've got to derive or guess the capabilities of the device and what flags must be provided to MassFS to make it work well with that device. A bit of fiddling around and a few reboots and it seems that the FA402M drive works well with the following settings in the "OtherDevs" file: 55aa:b012=LRTCQ All then works nicely and I was able to read the pictures for this article directly from the SmartMedia card in the drive:

Screenshot of the device in action


Next, getting the floppy drive working. That's a bit more fun. RiscPCs use specially modified floppy drives, as the floppy drive connector is not fully PC standard. Fortunately, this is easy to work around. RiscPCs expect the floppy drive to be configured as Drive 'A'. PC floppy drive are, for various good reasons, set as Drive 'B' and these days can't even be changed to be Drive A. More annoyingly than that, the configuration of the RiscPC drive connector activates the "Motor B" and "Select Drive A" lines to run the drive which is just, well, odd. To fix this, we can simply modify the floppy drive cable, rather than messing with the drive.

You can modify the standard RiscPC floppy cable or, as I did, destroy a PC floppy drive cable, giving the option of going back to a standard RiscPC floppy drive later.

Floppy drive cable


First, slice off the twisted part of the cable - this is NOT the twist we want as it's only for changing full drive B's to A's.

Floppy drive cables


Throw away the bit with the twist. Unhook one end of the cable and separate conductors 10 through 12 (3 wires in all). Twist these wires around, and clamp the cable back together. Remember to count from the red edge of the wire as conductor 1.

Modified cable


This end of the cable connects to the motherboard, turning the RiscPC's interface into (almost) a standard "Drive B" PC interface. You can use this cable to connect a standard PC floppy drive, of course, not just the FA402M.

Close up of the modification


Now we can just replace the RiscPC's floppy with the new FA402M drive, and the job's done.

All done, an RPC in a case


After thoughts
Remaining niggles with this project are that MassFS must be reloaded or manually run from !Boot for the drive icons to appear - the USB subsytem currently seems to be unable to cope with permanently
connected MassFS devices.

Please note that I've had no response from STD about this project, so you connect to the internal USB header at your own risk - I've had no official documentation regarding its use. Note also that the MassFS settings were derived by me by pure experimentation, and I give no guarantee that it won't corrupt your data or lock up the machine. (Although it's been fine reading and writing SmartMedia for me).

Links
STD UniPod website

Related articles
A9home USB printing in beta release
Castle USB to get audio, video support
Driver for USB IO kit started

This article has been linked to, or is available in the following formats:  
 
 
 
 
 
[Printable] [Digg this] [Blog search]


Sawadee(valued user) 
Face
14/6/04 3:59AM
Interesting project.
It would be nice if STD took interest in investigating this idea to resolve the manual reboot of MassFS problem?
I recently obtained a Portable Storage Device - JetFlash USB 2.0.
Would MassFS work O.K. with STD's UniPod and my JetFlash if I didn't have a Combo-Media Drive device attached? :rolleyes:
Recently, my school ICT teacher suggested to try a PC type USB device, he says they will connect into my Serial Port. Would his idea work on RISC OS, and with what software - thinking about STD using MassFS? :-o
Cheers, Steve.
rmac 
Face
14/6/04 5:40AM
It is also possible to add the Mitsumi devices to an Iyonix. Some models of Iyonix now come with the floppy/card readers supplied.
As part of the Iyonix downunder project
we fitted Mitsumi FA404-A drives (USB2)
and have only had to edit a command to check for this on startup as it caused a timing problem. Now all we have to do is double click on a module kept in the Apps folder until Castle release the updated USB drivers. Will Ling helped to locate the problem and suggested the interim solution.
epistaxsis@work 
14/6/04 8:58AM
You can also fit a freecom FC-1 combined CD/RW & card reader into an Iyonix.

I went down this route because the mitsumi floppy / card reader won't be available in black until july according to their website :-(

I am waiting to see if my wife's new Antec case which has built in card reader will work as well when her Iyonix turns up and it gets recased... :-)
stdevel(good user) (+1.5)
14/6/04 9:09AM
We'd been lining these drives (or modified versions) up for a product release, and were trying to keep it quiet ;)

The internal port duplicates the upper external port, which should be blanked off.

MassFS can easily start with the machine by running MassInst again and selectong "start at boot time" as one of its configuration options - it copes with permenantly attached devices fine.

Thanks for an interesting article Ian. I'm off to ensure that the next batch of our thunder is kept completely under lock and key so there's no chance of you stealing that too ;)
dgs(valued user) (-1.5)
14/6/04 9:28AM
epistaxsis@work: "when her Iyonix turns up and it gets recased..."

Why not just buy a Panther Iyonix to start with, and thus save the trouble of re-casing it?

dgs
imj(good user)www (+1.5)
Face
14/6/04 9:31AM
Ooops sorry. However, if you had answered any of my email about the internal port or MassFS settings, you might have been able to avoid me spilling this. Email to you often seems to get blackholed. :-( Although I do understand how busy you are sorting out the new firmware! Maybe you can at least confirm the MassFS config now? ;-) How about explaining the hidden options that some of the devices specify in their config? (S?) I was as much interested in getting the PC floppy drive working (multiple machines now have new floppy drives here) as I was with the card reader - the internal USB header was just a nice bonus :-)
tribbles2 (+1.5)
14/6/04 10:50AM
In reply to imj:

The MassFS options should be documented - although that may be different for release versions (it's mainly up to Stu to decide what documentation is released).

The options have been through various revisions, and it's possible that it's a legacy one which is ignored now (and should be removed). I have a reasonable idea what "S" would mean, but I won't say what it is unless Stu thinks I should :)
imj(good user)www (+1.5)
Face
14/6/04 11:22AM
Heh. OK. When are we likely to see all those funky device sprites getting activated?
tribbles2 (+1.0)
14/6/04 1:16PM
In reply to imj:

The sprites are available, but not in 'custom designed' drivers (only officially supported devices can use them).
imj(good user)www (-1.1)
Face
14/6/04 1:20PM
Aw. Poo.
tribbles2 (-1.1)
14/6/04 1:27PM
In reply to imj:

It wasn't my idea...
Stewy(good user)www (-0.5)
Face
14/6/04 1:39PM
In reply to dgs:

The Iyonix Panther doesn't have provision for podules, does it?

It is interesting that Castle appear to be shying away from the idea of legacy podules in their 'new' models; podule support was never supplied as 'standard' anyway (the requisite backplane costs another 49 quid).

The Aemulor website offers an interesting take on the subject: "The Iyonix's podule bus is really only intended for ease of prototyping new boards and may never fully support all of the old podules."
blahsnr(good user)www (-0.5)
14/6/04 1:58PM
Stewy
Does depend on what you mean by 'support' :o). I suspect that the OS support for podules is shipped with every Iyonix.

All of the Intelligent Interface podules are supported on the Iyonix as is the Atomwide triple port serial card (via a third party driver).

It makes it cheaper for us punters who are unlikely to ever need to actually plug a podule card into our IyonixPCs to make the podule backplane an extra cost option.

I believe that a standard RiscPC backplane works if you are feeling particularly tight fisted (albeit you can't put the Iyonix case back on with cards installed ;o)

epistaxsis@work(good user) (-0.5)
14/6/04 2:11PM
Podule is a very nice low bandwidth bus - hence for developement stuff it may have got included in the Iyonix.

You also get more room for your connectors at the back - which is groovy :-)

In reply to dgs:

might be done this weekend if the Iyonix arrives this week... :-)
mfraser 
Face
16/6/04 9:58AM
Might just give it a go once my UNI podule arrives from STD. If only I could get MassFS to work with MiniDisc so I didn't have an extra 4 icons on the icon bar. Or only have an icon if there was actually a card in the slot!
I suppose eventually the 'Format' option in the menu will actually do something?
Projjer 
3/12/04 8:10PM
Just fitted a Mitsumi FA404M. Well pleased with myself. Thanks to Ian for the detailed instructions, they were spot on.
The drive is USB 2.0, so I could be said to be "Future Proofed" ready for STD to upgrade my Unipod ;-).
Different manufacturer and product IDs, but the other flags work OK.
Interestingly, although it handles six types of card, it only shows two "drives" on the icon bar. One for each slot presumably, athough I have only CF cards, so could not try out other types.
2 comment(s) are below your moderation threshold. Login to view them.
 

Top Tip

Online chat

Why not visit RISC OS, BBC and Drobe users online and chat with them in realtime
 
Headline news
Wakefield 2008 show photos
28th Apr 2008

Wakefield 2008 show live news
26th Apr 2008

Who would want an A9home PDA?
24th Apr 2008

RISC OS 6.10 available to Select subscribers
24th Apr 2008

Gallery photo
Older news
Animation and typing applications really released
24th Apr 2008

Wakefield 2008 show preview
22nd Apr 2008

R-Comp unveils new PDF authoring package
22nd Apr 2008

NetSurf bags GBP10K investment from Google
21st Apr 2008

Apple Mac VirtualRiscPC leaves beta
20th Apr 2008

Blu-ray disc burn breakthrough
14th Apr 2008

PDF import support for ArtWorks
13th Apr 2008

Wakefield 2008 show theatre line-up revealed
13th Apr 2008

Animation software collection falls into R-Comp's hands
9th Apr 2008

Features
A9home: two years on
4th Dec 2007

A9home DIY laptop: first pictures
1st Dec 2007

Software hosted by Drobe: Your guide
5th Nov 2007

 

Top | Design and concept © Fudgecake Design, 1999 - 2001. Content © The Drobe Team, 1999 - 2008. 
Click here for more information and terms and conditions.