English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.Hardware (https://eab.abime.net/forumdisplay.php?f=20)
-   -   Help transferring bulk files to A1200 CF HDD on a PC (https://eab.abime.net/showthread.php?t=65254)

CDTV1991 01 August 2012 14:38

Help transferring bulk files to A1200 CF HDD on a PC
 
My A1200 uses a compact flash card as the hard disk. I use a CF card reader to transfer files from my PC to the CF card within WinUAE.

I need to transfer a couple of hundred meg to the CF HDD and I am doing this within WinUAE, from a file folder on my PC (which shows up in Workbench) to my CF HDD via the reader.

Workbench is booting directly from the CF hard disk, attached to my PC via the card reader.

The file transfer takes hours and often fails. Transferring small numbers of files is ok, but vey slow.

Any other ideas for transferring these files faster and more reliably?

I can't simply do it via Windows as its an Amiga formatted HDD, so incompatible.

1time 01 August 2012 15:06

Maybe use a null-modem cable?

I got so bored with exactly this problem, so i bought a network card (PCMCIA) to solve the problem.

fitzsteve 01 August 2012 15:12

You are already doing it the fastest way, Null modem or PCMCIA network will be much slower.

Maybe the CF is on it's last legs? Or it might be the way you have prepared the CF try adding some extra buffers - open a CLI Shell and type:

addbuffers <drive>: 1000

example:

addbuffers DH0: 1000

(do for the drive/partition you want to copy to)

Also I assume you have WinUAE setup with a faster CPU speed/JIT? +Z3 Fast Ram? This will help, plus there is a turbo mode but I forget the key stroke to enable it...

Hope that helps,

Steve.

thomas 01 August 2012 15:18

Quote:

Originally Posted by CDTV1991 (Post 831742)
The file transfer takes hours and often fails. Transferring small numbers of files is ok, but vey slow.


This is not ok. Copying files inside WinUAE should be almost as fast as copying files in Windows Explorer. And it should never fail.

What does "fail" mean? What happens exactly?

Methanoid 01 August 2012 15:37

Got MaxTransfer set correctly?

Toni Wilen 01 August 2012 16:13

How are you copying files? Not all file utilities handle very deep paths or long file names.

Try plain "copy from: to: clone all quiet" and uaehf.device.

FOL 01 August 2012 20:32

I would agree with steve, I used to get same problem when I first ventured into CF HDD.
I had to leave my PC on for 24 hours once, until I learnt about buffers.

As soon as I added 2000 buffers, it only took about 20 mins to copy over 3GB's of data across, with no errors.

CDTV1991 01 August 2012 23:35

added buffers and used a higher powered emulated amiga in WinUAE and the transfer was much quicker.

It was failing because every few minutes Windows would try to recongise the CF disk and a box would pop up asking to format the disk, which woukd interrupt the file transfer in WinUAE

So now I want to copy the entire contents of my CF card to my PC. Speed is sorted, so how do I go about preventing that annoying interrupt?

Also, how many buffers can you add before the benefit stops?

johnim 01 August 2012 23:41

Quote:

so how do I go about preventing that annoying interrupt?
cancel before you transfere files

fitzsteve 02 August 2012 00:06

That message should only pop up the first time you insert the CF, I'm wondering if the card reader is resetting it's self?

Have you another CF reader to try?

johnim 02 August 2012 00:08

mine dont interfere i dont even cancel it

FOL 02 August 2012 00:20

Mine used to do that, it would go for about 30 mins, then stop.
I had to do F12, unplug reader, plug it back in, then unpause WinUAE and it would continue normally.

CDTV1991 02 August 2012 14:31

I've bought another cheap USB CF reader for my PC just in case its a loose connection at the USB end as it did seem to be a bit sensitive when moved. When it arrives I'll update this thread.

fitzsteve 02 August 2012 14:36

Quote:

Originally Posted by CDTV1991 (Post 831882)
I've bought another cheap USB CF reader for my PC just in case its a loose connection at the USB end as it did seem to be a bit sensitive when moved. When it arrives I'll update this thread.

Good luck :great

keitha1200 02 August 2012 22:14

Quote:

Originally Posted by fitzsteve (Post 831749)
You are already doing it the fastest way, Null modem or PCMCIA network will be much slower.

Maybe the CF is on it's last legs? Or it might be the way you have prepared the CF try adding some extra buffers - open a CLI Shell and type:

addbuffers <drive>: 1000

example:

addbuffers DH0: 1000

(do for the drive/partition you want to copy to)

Also I assume you have WinUAE setup with a faster CPU speed/JIT? +Z3 Fast Ram? This will help, plus there is a turbo mode but I forget the key stroke to enable it...

Hope that helps,

Steve.

Ah I didn't know that! 20+ years on and the Amiga still has lovely wee tricks up it's sleeve :great Nice one :bowdown:bowdown:bowdown

Toni Wilen 03 August 2012 10:53

Quote:

Originally Posted by CDTV1991 (Post 831814)
It was failing because every few minutes Windows would try to recongise the CF disk and a box would pop up asking to format the disk, which woukd interrupt the file transfer in WinUAE

My guess is hardware problem or broken adapter firmware that hates some newer USB features, perhaps for example power saving etc..

Slower transfer speeds (when writing to CF) are normal because there are no delayed write caches. Windows won't cache plain block devices because caching is normally handled by filesystem drivers.

Cache needs to be implemented in WinUAE (workaround is huge buffer numbers but buffers isn't exactly same as real cache) but it isn't trivial and it is very easy to create cache that misses some corner cases, also handling possible disk errors will be complex.


All times are GMT +2. The time now is 02:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.07917 seconds with 11 queries