View previous topic :: View next topic |
Author |
Message |
anka
Joined: 29 Jan 2006 Posts: 10
|
Posted: Fri Feb 10, 2006 9:20 pm Post subject: Error codes (error 230) |
|
|
hello
I get this error message:
0000>sd 0
Dump Sectors from 0 to 0
Read Sector: 0 ... Error 230 at sector# 0
Drive Error: 230
Drive Status: 01010001
Drive Debug: 0
Haven't seen any explanations for error codes bigger than 100, is it out there on the www?
Using a Hdd and "config_harddisk_M128.bas"
thx
/andreas |
|
Back to top |
|
|
anka
Joined: 29 Jan 2006 Posts: 10
|
Posted: Tue Feb 14, 2006 7:51 pm Post subject: |
|
|
I have searched (some more) on the www for info on error codes above 100 but haven't found anything.
Have tested every possible setting in the config file and tested with "Initfilesystem(1)" and the "Initfilesystem(0)". But I always turn out with this error.
Mostly I'am interrested in a list that explains the error codes.
I don't expect that you should solv my problem but plz point me in the right direction
Andreas |
|
Back to top |
|
|
oe9vfj
Joined: 17 Jun 2004 Posts: 269 Location: Austria, Hard
|
Posted: Wed Feb 15, 2006 9:40 am Post subject: |
|
|
Errocodes from 224 (&HC0) to 255 are from the driver for the mass storage device. They are defined in the according CONFIG_....... file. In your case in CONFIG_HardDisk_M128.bas.
230 is a general error which can not be defined in more detail. Probably the Command to read a sector is given to the HD, but the HD set the Error-flag in its status register. _________________ regards Josef
DOS - File System for BASCOM-AVR on http://members.aon.at/voegel |
|
Back to top |
|
|
anka
Joined: 29 Jan 2006 Posts: 10
|
Posted: Wed Feb 15, 2006 10:01 pm Post subject: |
|
|
Thanks for your reply!
I appreciate that you took some of your time to help me.
The information I was seeking was a little closer than I expected .
Is it possible to rule out wiring errors/ problem with ports? And just concentrate on the HDD?
Every time the
"init filesystem ... Error: 230 at init file system
230Test_DOS_drive compiled at ...
Wait for Drive"
is printed I can hear the HDD read. (In my little world it seems like the connection is working. Or is so that not all pins/ports are used for sending a command to the HDD?). I have checked the wiring several times now without finding anything wrong. I have also tested a few different settings in the way the HDD is configured (different numbers of partions and sizes and so on). I use a HDD on 4327 MB is that to big?
Best regards
Andreas |
|
Back to top |
|
|
oe9vfj
Joined: 17 Jun 2004 Posts: 269 Location: Austria, Hard
|
Posted: Fri Feb 17, 2006 2:52 pm Post subject: |
|
|
Hi Andreas,
It is possible, that some commands will be accepted by the HD, if not all data lines are wired well.
A 4GB HD will be OK if it supports LBA-Addressing. HD at the beginning had only C/H/S sector addressing (Cylinder / Head / Sector).
If your HD has anywhere on the Label something like:
Drive Parameters: xxxx cyl , yy heads , zz spt
it is possible, that it supports only C/H/S addressing.
You can check also the Master/Slave jumpering. It should set to Master or One Drive Only.
I tested AVR-DOS on HD from 1.25GB up to more than 100GB. _________________ regards Josef
DOS - File System for BASCOM-AVR on http://members.aon.at/voegel |
|
Back to top |
|
|
anka
Joined: 29 Jan 2006 Posts: 10
|
Posted: Sat Feb 18, 2006 12:04 pm Post subject: |
|
|
Ok thanks for clearing that out
This means I have to dig deeper
/Andreas |
|
Back to top |
|
|
|