It is currently Thu Mar 28, 2024 7:41 am




 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: Initializing a new CF card using FDISK
PostPosted: Mon Dec 24, 2007 7:23 pm 

Joined: Mon Dec 24, 2007 5:22 pm
Posts: 3
Hello and Merry Christmas everyone,

I just received my new internal MyIDE kit (thanks Steve!), and I'm having an issue with an IDE adapter and CF card that I'm trying to initialize. The CF card is a 128MB CF card from Kingston, and the adapter is the same one that others have reported using. This is my first attempt at using them with MyIDE, so the CF card is currently PC-formatted.

I hold down OPTION to boot into BASIC and type "BYE" to start FDISK. After a second or two, FDISK attempts to read the disk and apparently crashes, dumping me back into BASIC with an "Error 26." I'm able to initialize a conventional IDE hard drive, so I'm certain the MyIDE kit itself is working. I've also tried using the adapter with external power and power from IDE Pin 20.

At the bottom of this thread, mr-atari mentions a fix for a bug that corrected an issue with the "start-up on a new CF-card/IDE-drive." Is this the error that I'm experiencing, and does the MyIDE kit I bought already have the bug-fixed software (I would assume that it does since it's brand new)? Also, in this thread, mr-atari mentions a procedure for cleaning a new CF card, but the topic he linked to that documented the procedure doesn't exist anymore, and I can't seem to find it anywhere else. Does anyone know what this procedure is? I'd like to get the CF card working if I can; if not, I'll probably pick up a Transcend IDE flash module instead.

Thanks in advance for your help, and I apologize if this question has already been answered elsewhere.


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 9:24 am 
User avatar

Joined: Sun Nov 02, 2003 8:15 am
Posts: 1549
Location: netherlands
Hi,

Most likely, you did not put the 5 volt jumper on the internal MyIDE.
This is to feed the CF+adaptor 5 volt through pin #20.

If you forget this, FDISK should report "HD-ERROR" after a
few seconds and fills the parameter-table with zero's.

I need to re-do the trick to empty the CF-card.
You need the assembler-cartridge to do so.
It's a simple trick. Directly after bootup, Jump to the HDWRITE-vector
with the buffervector set to $600 and the IDE-registers set to sector #1
from the debugger. Report this later this week. Busy with my holidays...
;-)

Cheers,
Sijmen.


Offline
 Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2007 4:44 am 
User avatar

Joined: Sun Nov 02, 2003 8:15 am
Posts: 1549
Location: netherlands
Some trouble-shooting tips:
You need the assembler cartridge to do so.
First address is for INTERNAL MyIDE, second for EXTERNAL MyIDE.

boot the system without card/CF/module/drive
type BUG enter to enter the debugger.

1/ Is the interface OK?
type D D100 enter or type D D500 enter
You should read FF FF FF FF FF FF FF FF
No: check interface connections.

2/ Is the card/device OK?
-plug in the card or device now! (yes I know, you should not do this)
type D D100 enter or type D D500 enter
You should read 00 01 01 01 00 00 xx xx [xx xx could be: A0 5x or 00 5x]
No: check cable twisted, power connected or adaptor wrongway in.

Powerdown, wait 10 seconds, powerup.

3/ Check FDISK.
type BYE enter.
You should get a menu with values. The partitiontable may be garbaged.
You should not get NO values after 2 seconds + HD-ERROR message.
If you do and tests 1/ and 2/ were OK, your device is bad or incompatible.
(please report the device on the compatibility-list).

Ok, You have the buggy first release 4.3 OS? Then FDISK locksup when
the partitiontable reads garbage. Use this trick to erase sector #0 and
make FDISK work:

go to de debugger using BUG enter.
type C D103<1,0,0,0 enter (or D503)
{this sets the IDE-registers to sector 1, cylinder 0, head 0}
type C 32< 0,6 enter
{this sets the buffer to $600, which is empty (all zero) after bootup}
type G E486 enter (your activity LED should blink)
{This jumps to the HDWRI-routine}
If the LED does not blink, press SHIFT+CONTROL+E to enable the IDE-routines.
redo type G E486 enter
If the LED does not blink, press SHIFT+CONTROL+U to unprotect the IDE for writing.
redo type G E486 enter
type X enter
type BYE enter
{FDISK should start with a zero table and you can partition the card/device}

Cheers,
Sijmen.


Offline
 Profile  
 
 Post subject:
PostPosted: Sat Dec 29, 2007 1:03 pm 

Joined: Sat Sep 13, 2003 12:21 am
Posts: 251
One of the programs I have up on my website, MyIDE Config, has an option that allows you to wipe the MyIDE Config, which basically does the third step that Sijmen outlined above (although, if you are having issues and the hardware is suspect, I would follow ALL of Sijmen's troubleshooting tips listed above.)



_________________
MyIDE Tools
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 52 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron