English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 29 March 2011, 13:59   #1
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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
UberFreak is offline  
Old 29 March 2011, 14:20   #2
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by UberFreak View Post
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
Buffer size?

What happens if you do a shell copy?
FOL is offline  
Old 29 March 2011, 14:50   #3
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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!
UberFreak is offline  
Old 29 March 2011, 22:56   #4
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
@FOL:

Same problem with shell.
UberFreak is offline  
Old 29 March 2011, 23:54   #5
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by UberFreak View Post
@FOL:

Same problem with shell.
Try another reader.
FOL is offline  
Old 30 March 2011, 00:23   #6
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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.
UberFreak is offline  
Old 30 March 2011, 10:26   #7
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by UberFreak View Post
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.
Where did you format card? PC?
FOL is offline  
Old 30 March 2011, 12:27   #8
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
Yes, FAT formatted.
UberFreak is offline  
Old 30 March 2011, 13:27   #9
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by UberFreak View Post
Yes, FAT formatted.
Try quick formatting it in the A1200.
Other than that, try a different CF Card.
FOL is offline  
Old 30 March 2011, 14:14   #10
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
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).
thomas is offline  
Old 30 March 2011, 23:23   #11
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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!
UberFreak is offline  
Old 30 March 2011, 23:32   #12
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
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.
thomas is offline  
Old 30 March 2011, 23:34   #13
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by thomas View Post
The symptoms you describe point to a MaxTransfer problem.
Can you change max transfer of CF0?

He said it happens when copying to RAM: too.
FOL is offline  
Old 30 March 2011, 23:43   #14
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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.
UberFreak is offline  
Old 31 March 2011, 00:46   #15
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by FOL
Can you change max transfer of CF0?
Quote:
Originally Posted by UberFreak
Can't change MaxTransfer through HDToolBox, it doesnt recognize the CF as an Amiga drive & wants me to "install" it.
Is there another way?
ed devs:dosdrivers/cf0
Hewitson is offline  
Old 31 March 2011, 01:08   #16
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by Hewitson View Post
ed devs:dosdrivers/cf0
Ofcourse, silly me, Forgot about that, never needed to change it before, .
FOL is offline  
Old 31 March 2011, 01:41   #17
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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
UberFreak is offline  
Old 31 March 2011, 02:48   #18
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
Quote:
Originally Posted by UberFreak View Post
This is CF0's contents, as you can see there's no MaxTransfer setting.
That doesn't necessarily mean you can't give it one. Try setting it to 0xffff (64k).
Hewitson is offline  
Old 31 March 2011, 23:35   #19
UberFreak
Registered User
 
Join Date: Sep 2009
Location: the world
Posts: 439
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
UberFreak is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:56.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.27067 seconds with 13 queries