Welcome, Guest. Please login or register.

Author Topic: Formatting compact flash card  (Read 4368 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Formatting compact flash card
« on: January 12, 2006, 08:53:37 PM »
I've got a 512Mb compact flash card in an IDE flash drive connected directly to the motherboard of a 3.0 A1200. I tried installing it in HDToolBox, but got an error that it is not a disk type 7. I read that this has been fixed by a patch in HDToolBox, so I put the reader in my main A1200 with 3.9. I was then able to install the drive. I installed SFS in the bootblock because I didn't want to use the 3.9 FFS on a 3.0 machine. I formatted the partition and could see it on Workbench, so I put the card back in the 3.0 machine.

On the early startup screen of the 3.0 machine, I can see HD0. If I boot to a Workbench floppy, there is no HD0: icon. If I try to format HD0 I get an error that the object is not of the required type.

I thought I would try deleting the partition and recreating it under 3.0 now that the drive was installed. I could see it in HDToolBox, but when I tried to delete the partition the screen just flashed as if an error had occurred (though nothing came up), and the partition remained.

Any help appreciated as always :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Formatting compact flash card
« Reply #1 on: January 12, 2006, 11:43:46 PM »
Just an update: a 256Mb CF card in the same reader works fine on the 3.0 machine.

I also tried the HDToolBox patch, but HDToolBox just hangs when I try to install the 512Mb card.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline leirbag28

Re: Formatting compact flash card
« Reply #2 on: January 13, 2006, 12:25:50 AM »

Dude...you need to format it on a PC....not the Amiga.......its read on the Amiga Via the Amiga fat95 Filesysem which you need to download if you havent.


The ones you format on the Amiga are SRAM PCMCIA cards that only go up to 4mb on the Amiga.


Has anyone succesfully formatted a CF card on Amiga, thats NOT for use as an HD connected to the IDE port?  if so? why?  you lose compatibility with PC and mac which is what you might want it for....to swap Digicam pics and other files from PC's
CD32 is actually the best Amiga ever made by Commodore!...
 

Offline adolescent

  • Hero Member
  • *****
  • Join Date: Sep 2003
  • Posts: 3056
    • Show only replies by adolescent
Re: Formatting compact flash card
« Reply #3 on: January 13, 2006, 01:20:37 AM »
@leirbag28

Huh?  He's talking about using it on the IDE.  :crazy:
Time to move on.  Bye Amiga.org.  :(
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: Formatting compact flash card
« Reply #4 on: January 13, 2006, 01:37:18 AM »
A couple of days ago I stumbled across a page describing a similar problem with old Mac Powerbooks.
 It turned out to be the IDE driver thinking the CF card was an ATAPI device, but cos the driver was in ROM just like the Amiga, he built a little hardware hack to get around it.PB150 CF adapter.

I doubt this is needed on the Amiga though, I'm using a 64mb CF card with WB3.0 and 3.0 ROMs in one of my A1200s, installed fine with HDToolbox..but then that's no help to you :-(
On schedule, and suing
 

Offline leirbag28

Re: Formatting compact flash card
« Reply #5 on: January 13, 2006, 05:36:11 AM »
@adolescent


OOOOPS!!!!   Your right!  hahaha! :-D

CD32 is actually the best Amiga ever made by Commodore!...
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Formatting compact flash card
« Reply #6 on: January 13, 2006, 06:59:01 AM »
Quote
Doobrey wrote:
A couple of days ago I stumbled across a page describing a similar problem with old Mac Powerbooks.
 It turned out to be the IDE driver thinking the CF card was an ATAPI device, but cos the driver was in ROM just like the Amiga, he built a little hardware hack to get around it.PB150 CF adapter.

That would tally with the HDToolBox error that the CF card is not a disk. I tried the HDToolBox patch from Aminet but as I said it just hangs when I try to partition it.

It's weird that it works on 3.9 but not 3.0. Could it be that I need the updated scsi.device from 3.1/3.9 to get this working?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Jabaruk1

  • Newbie
  • *
  • Join Date: Dec 2004
  • Posts: 40
    • Show only replies by Jabaruk1
    • http://www.jabar.karoo.net
Re: Formatting compact flash card
« Reply #7 on: January 13, 2006, 08:16:24 AM »
I had the same problem with a cheap flash card to get around this i used a disk prepare program called RD Prep which unlike HD tools found and formated the card with no problems.

 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Formatting compact flash card
« Reply #8 on: January 13, 2006, 08:24:48 AM »
@Jabaruk1
Thanks! Where can I find RD Prep? I can't find it on Aminet  :-?

--
moto

--EDIT
Oh it's ok I found it here. You can't find it by searching for rdprep, you have to search for rdp :roll: Can't wait to get home and try it!
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: Formatting compact flash card
« Reply #9 on: January 13, 2006, 08:51:31 AM »
Hi.  I would be quite interested to see how this pans out.  Are you replacing the hard drive completely?  Mine is starting to fail sometimes.
Good good study, day day up!
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Formatting compact flash card
« Reply #10 on: January 13, 2006, 10:32:43 AM »
Yes I am replacing the hard drive. I wouldn't recommend doing this with a machine whose hard drive will be repeatedly re-written to, as CF cards have limited write cycles, after which they will degrade. The reason I am doing it is because this desktop A1200 is going to be used purely as a games console, so once the games are on there they shouldn't be written over.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: Formatting compact flash card
« Reply #11 on: January 13, 2006, 10:36:31 AM »
Cool, thanks a lot for the tip.
Good good study, day day up!
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Formatting compact flash card
« Reply #12 on: January 13, 2006, 10:41:24 AM »
An extract from the Wikipedia entry on Flash Memory:

Quote
When compared to a hard disk drive, a further limitation is the fact that flash memory has a finite number of erase-write cycles, so that care has to be taken when moving hard-drive based applications, such as operating systems, to flash-memory based devices such as CompactFlash. This effect is partially offset by some chip firmware or filesystem drivers by counting the writes and dynamically remapping the blocks in order to spread the write operations between the sectors, or by write verification and remapping to spare sectors in case of write failure.

I don't think any of the Amiga filesystems can do this dynamic remapping when the block runs out of write cycles, so after a while if you keep rewriting the drive, then bad sectors will appear. But this takes 10s of thousands, or even millions, of rewrites, to happen, maybe even more with quality flash memory. For static data like games stored on a card it would be fine, but I wouldn't like to run an OS off of it!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Jabaruk1

  • Newbie
  • *
  • Join Date: Dec 2004
  • Posts: 40
    • Show only replies by Jabaruk1
    • http://www.jabar.karoo.net
Re: Formatting compact flash card
« Reply #13 on: January 13, 2006, 11:56:23 AM »
RDprep is on aminet errr disk/misc/rdp391.lha  i think
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: Formatting compact flash card
« Reply #14 on: January 13, 2006, 01:48:04 PM »
Didn't have any problem preparing my 256MB Sandisk CF card via HDToolbox. I formated afterward with FFS and using it in OS 3.9 like a charm!
I also tried to boot with it and runs prefectly.
I can't see why it doesn't runs on you.

P.S. I'm using an IDE to CF adaptor by the way
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)