Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
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 all replies
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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #2 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #3 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #4 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #5 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #6 on: January 13, 2006, 05:24:16 PM »
I have just tried RDPrep but it didn't work. I added DEVICE=SCSI.DEVICE as a tooltype in the icon, but it just says "No SCSI disks found". If I go in to HDToolBox it can see the drive there, but can't partition 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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Formatting compact flash card
« Reply #7 on: January 13, 2006, 05:59:24 PM »
Still doesn't work :-(

--
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 all replies
Re: Formatting compact flash card
« Reply #8 on: January 13, 2006, 06:21:06 PM »
It's working now :-)

I still have another IDE flash drive, but it's a 3.5" one. I got a 2.5"-3.5" IDE cable, powered it off the floppy power connector, booted Install 3.0 off of DF1:, and lo and behold HDToolBox could create a partition. Formatted the partition and copied Workbench over and it boots!

Strangely, I then changed back to the 2.5" flash drive and it still works. So it appears to read existing partitions but not be able to create new ones.

Thanks for all the tips guys.

--
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