29 March 2011, 13:59 | #1 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
Problem copying files from PCMCIA Compact Flash
Hi
I'm having a strange problem copying files from CF - small files are copied Ok but bigger ones (usually above ~300Kb) get "stuck" - the copy dialog box is still displayed, but there's no progress. At this point, if I remove the CF & re-insert it, copy will resume This could happen several times on files over 1MB and is very frustrating! The system is an A1200 with BPPC & BVision, ClassicWB3.9 + BB3 with WarpOS/PPCLibEmu/Warp3D installed. Copying the same files between partitions on the HDD, or between RAM: and HDD is fine. All partitions have MaxTransfer set to 1fe00 with SFS filesystem. The CF in question is a Sandisk Ultra 4GB (30MB/s). I have another A1200 with 030, on that system the problem does not exist. Any would be greatly appreciated, I've ran out of things to try! Thanks |
29 March 2011, 14:20 | #2 | |
PSPUAE DEV
|
Quote:
What happens if you do a shell copy? |
|
29 March 2011, 14:50 | #3 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
No idea about buffer size, probably using the default.
I tried copying using Workbench & Dopus, not shell. Will try that when I get home later Thanks! |
29 March 2011, 22:56 | #4 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
@FOL:
Same problem with shell. |
29 March 2011, 23:54 | #5 |
PSPUAE DEV
|
|
30 March 2011, 00:23 | #6 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
You mean CF->PCMCIA adapter?
I have 3 of them here, from different manufacturers, problem happens with all of them EDIT: Dont know if it helps, but when copying to RAM: instead of HDD, the problem happens less frequently. Last edited by UberFreak; 30 March 2011 at 00:34. |
30 March 2011, 10:26 | #7 |
PSPUAE DEV
|
|
30 March 2011, 12:27 | #8 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
Yes, FAT formatted.
|
30 March 2011, 13:27 | #9 |
PSPUAE DEV
|
|
30 March 2011, 14:14 | #10 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,030
|
If all that does not help, check which version of compactflash.device you use. There are two of them on Aminet (1.25 and 1.27). Try both (or try the other one if you already use one of them).
|
30 March 2011, 23:23 | #11 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
Hi
Ok, so far I tried: - Changing compactflash.device to previous version (1.25) - Formatting the CF on the Amiga Neither fixed the problem. Using a different CF is a problem, over the past 6 months I bought 5 different cards, the Sandisk is the only one that the Amiga recognizes. Also, I now discovered that some of the files I did manage to copy are corrupt! This explains why nearly all the demos I copied from CF dont work correctly Thanks for all your suggestions so far! |
30 March 2011, 23:32 | #12 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,030
|
Are you really sure that MaxTransfer is set correctly? In your first post you mention "all partitions", but what about the CF0 dosdriver?
The symptoms you describe point to a MaxTransfer problem. |
30 March 2011, 23:34 | #13 |
PSPUAE DEV
|
|
30 March 2011, 23:43 | #14 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
I'll check if I can change MaxTransfer for the CF.
About the corruption, I have a hunch it only happens in files that get "stuck" & I need to remove & re-insert the card. EDIT: Can't change MaxTransfer through HDToolBox, it doesnt recognize the CF as an Amiga drive & wants me to "install" it. Is there another way? Last edited by UberFreak; 31 March 2011 at 00:00. |
31 March 2011, 00:46 | #15 | ||
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
Quote:
Quote:
|
||
31 March 2011, 01:08 | #16 |
PSPUAE DEV
|
|
31 March 2011, 01:41 | #17 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
This is CF0's contents, as you can see there's no MaxTransfer setting.
I did try increasing the number of buffers & stack size, just to see if it has any effect (it doesnt). FileSystem = l:fat95 Device = compactflash.device Unit = 0 Flags = 0 LowCyl = 0 HighCyl = 0 Surfaces = 1 BlocksPerTrack = 1 BlockSize = 512 Buffers = 20 BufMemType = 1 BootPri = 0 Stacksize = 4096 Priority = 5 GlobVec = -1 DosType = 0x46415401 |
31 March 2011, 02:48 | #18 |
Registered User
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
|
|
31 March 2011, 23:35 | #19 |
Registered User
Join Date: Sep 2009
Location: the world
Posts: 440
|
Ok, I added MaxTransfer of 0x0001fe00 & Mask of 0x7ffffffe (same as my HDD) to the CF0 mount file.
Still the same problem When I tried lowering MaxTransfer to 0x0000fe00, the CF stopped showing up in WB & if I tried to access it via shell, it caused the window to stop responding & I needed to reboot. EDIT: MaxTransfer 0xffff behaves the same as 0x0001fe00 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
compact flash pcmcia not working in a1200 | GurjSagoo | support.Hardware | 9 | 02 April 2018 21:01 |
Is there Compact Flash (via PCMCIA) size limit? | Nostromo | support.Hardware | 30 | 20 November 2013 16:03 |
Slow PCMCIA>Compact Flash speeds | radiokida | support.Hardware | 5 | 02 May 2013 17:00 |
Compact Flash PCMCIA on an A600 | sdaonline | New to Emulation or Amiga scene | 3 | 13 February 2011 04:30 |
copying compact flash cards | Dave_wb | support.Hardware | 2 | 08 March 2010 23:46 |
|
|