Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
Poster | Thread | tomazkid
| |
Re: Progress update on the CW4 (CW3) Device driver Posted on 11-Sep-2006 15:31:50
| | [ #41 ] |
| |
|
Team Member |
Joined: 31-Jul-2003 Posts: 11694
From: Kristianstad, Sweden | | |
|
| @NutsAboutAmiga
Sounds good. Time to dig my Mk3 out from the closet and clean it from dust I guess _________________ Site admins are people too..pooff! |
| Status: Offline |
| | NutsAboutAmiga
| |
Re: Progress update on the CW4 (CW3) Device driver Posted on 11-Oct-2006 17:12:24
| | [ #42 ] |
| |
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12831
From: Norway | | |
|
| @NutsAboutAmiga
* Some changes in the driver, motor how only turned of when all programs using the drive is finished whit it.
* If the mfm decoder can find Amiga MFM header data then, it will not try a different MFM decoder (MSDOS) this none working at the moment.
I have talked to Jens abut few things, he did not really answer my questions, he gave some hint on how the data stream of catweasel works, he did not give any details, but at least, but I think what he where tiring to tell me, is that bit stream is none standard, and needs to decoded before it can be used, by a codec (for example I can not swap out the MFM decoder whit modifying it to support the catweasel bit stream)
Last edited by NutsAboutAmiga on 10-Nov-2006 at 04:30 PM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
| Status: Offline |
| | Snuffy
| |
Re: Progress update on the CW4 (CW3) Device driver Posted on 11-Oct-2006 18:48:20
| | [ #43 ] |
| |
|
Super Member |
Joined: 25-Oct-2005 Posts: 1121
From: Michigan, USA | | |
|
| @NutsAboutAmiga
Probe cwfloppy ? 0: pci_base_address 802500 controllers 1 probe controller: AmigaOS notice: cwfloppy: Controller #0 is a PCI Catweasel MK4 @0x802500 AmigaOS notice: cwfloppy: FPGA needed 0us to start up Init controller cwfloppy: Seek failed. cwfloppy: Seek failed. cwfloppy: Seek failed. cwfloppy: Seek failed. cwfloppy L0: can't find sync cwfloppy: Seek failed. cwfloppy L0: can't find sync cwfloppy: Seek failed. free drive 1 free drive 0 5 release_region pci_disable_device 8 - END FREE_CONT cleanup pci_unregister_driver()
------
From DebugWindow: Controller PCI Catweasel MK4 802500 CW MEMORY 8025E0 num controllers: 1 num units: 2
Init unit: 0 unit adr: 12B2EFE8
Init unit: 1 unit adr: 12B2F434 open unit no 0 unit hex no 12B2EFE8 Command 9 TD_MOTOR unit hex no 12B2EFE8 unit hex no 12B2EFE8 Command 14 TD_ADDCHANGEINT Command F TD_PROTSTATUS unit hex no 12B2EFE8 Command E TD_CHANGESTATE Error 30 Offset 0 Len 0 Block 0 unit hex no 12B2EFE8 Command 16 TD_GETGEOMETRY unit hex no 12B2EFE8 Command F TD_PROTSTATUS unit hex no 12B2EFE8 Command 9 TD_MOTOR unit hex no 12B2EFE8 Command 2 CMD_READ Track 0 Side 0 Sector 0 Error 30 Offset 0 Len 512 Block 0
What does FPGA mean? And, why do i need it? _________________
|
| Status: Offline |
| | NutsAboutAmiga
| |
Re: Progress update on the CW4 (CW3) Device driver Posted on 16-Oct-2006 10:39:57
| | [ #44 ] |
| |
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12831
From: Norway | | |
|
| | Status: Offline |
| | NutsAboutAmiga
| |
Re: Progress update on the CW4 (CW3) Device driver Posted on 10-Nov-2006 16:50:47
| | [ #45 ] |
| |
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12831
From: Norway | | |
|
| @NutsAboutAmiga
Quote:
it will not try a different MFM decoder (MSDOS) this none working at the moment. |
* Two problems found and corrected, byte order issue whit Linux driver found on heeder and data checksum, this now fixed in the Amiga version.
* The MSDOS codec where not initialized, that’s fixed now.
Quote:
* Some changes in the driver, motor how only turned of when all programs using the drive is finished whit. |
After closely analyzing the data written to disk, I found that MSDOS codec generated bad sector headers, whit the wrong side encoded, this where fixed, as well as few minor issues, I where able to write to the disk a short while, but then I decided to change the behavior of the motor, not all programs and file systems remember to turn on and off the motor, it can result in problems, like data not being read or written, so a result the cw.device where forced to enable and disable motor by it self, and this takes time, so I decided that motor should be turned on by any floppy driver command, and turned off after a delay when no activity is noticed, this did not work whit CMD_UDPATE and CMD_FORMAT commands and as result they broke.
Hope to find out what is effecting CMD_UPDATE and CMD_FORMAT, II need some time to analyze what’s going on, that’s way the progress is so slow.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
| Status: Offline |
| |
|
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|