English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 12 January 2022, 18:44   #1
a600fan
Registered User
 
Join Date: Jan 2018
Location: Berlin
Posts: 49
transwarp error (Disk error 20)

Hi all,


I got an A500 rev. 5
I load wb 1.3 correctly, I am able to format floppy disks with both wb and x-copy.


I am trying to transfer files via an handmade serial cable (the cable is very long).


On the Amiga side I am using this command:

Code:
transwarp -w ser: -b 4800 -d trackdisk 0
On the Linux side I am using cat to send the adf file

I keep getting an error after some tracks are received correctly.


Code:
Disk error 20 (track 13, head1, sector 0)
The track number changes randomly.


I tried with different baudrates with no luck.




Thank you
a600fan is offline  
Old 12 January 2022, 19:16   #2
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,174
It is likely the length of cable. You don't actually need a lot of cables for serial transfer as evident from AmigaXfer tool...
lesta_smsc is offline  
Old 12 January 2022, 19:19   #3
Jpor
Banned
 
Join Date: Feb 2019
Location: United Kingdom
Posts: 404
How have you cabled up the Serial cable? Does this program just use Baud Rate? Or does it also rely on Handshaking? DTR etc.. can you set bits etc..?

Also the length of cable will cause degradation in signal. Therefore just using BAUD speed may be the issue.
Jpor is offline  
Old 13 January 2022, 17:29   #4
a600fan
Registered User
 
Join Date: Jan 2018
Location: Berlin
Posts: 49
I tried shorten the cable with no luck (same error, different track).


I assume the cable is working because I am able to send text to the amiga shell.
I also have transferred transwarp itself with the cable...
a600fan is offline  
Old 13 January 2022, 18:32   #5
Jpor
Banned
 
Join Date: Feb 2019
Location: United Kingdom
Posts: 404
So which pins have you used to make the cable? I take it you’ve crossed pins 5 and 20 for handshaking?
Again does this trans warp program have any other syntax you can use? I.e the ability to use handshaking protocol?
Can’t help if you don’t provide the answers
Jpor is offline  
Old 14 January 2022, 09:44   #6
a600fan
Registered User
 
Join Date: Jan 2018
Location: Berlin
Posts: 49
This is the wiring I used:





And these are the options of transwarp:

Code:
New command line parameters:

-b n: Set the baudrate to n
-1: Single drive mode   For users with only one drive. You are asked to insert the diskette.
-c device: Use this serial device instead of BaudBandit
-r n: Set the serial read buffer to n
-g: Generate CRC-32
a600fan is offline  
Old 14 January 2022, 19:52   #7
Jpor
Banned
 
Join Date: Feb 2019
Location: United Kingdom
Posts: 404
So looking at the pin outs. You have no DTS/DTR handshaking enabled. Have you tried a slower baud rate? Maybe try 1200 instead of 4800.
Jpor is offline  
Old 15 January 2022, 12:26   #8
a600fan
Registered User
 
Join Date: Jan 2018
Location: Berlin
Posts: 49
Ah! The disk itself was faulty. I checked with the Amiga Test Kit and it had a bad sector.


With perfect floppies it works like a charm.


Now I got a question: is it possible to somehow fix the faulty sectors?


Thank you all
a600fan is offline  
Old 15 January 2022, 13:03   #9
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,174
Quote:
Originally Posted by a600fan View Post
Ah! The disk itself was faulty. I checked with the Amiga Test Kit and it had a bad sector.


With perfect floppies it works like a charm.


Now I got a question: is it possible to somehow fix the faulty sectors?


Thank you all
Better to avoid trying to fix faulty media. Not worth the headache. I just bought new disks as want peace of mind.
lesta_smsc is offline  
Old 17 January 2022, 10:27   #10
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
Marking bad sectors doesn't work that well with Amiga floppies, as the Amiga doesn't modify individual sectors like PCs do.

The beginning of the write can be anywhere along the disk's diameter, so the bad sector will be in a different place every time it gets written.

Just copy your data out and get rid of clicking or otherwise faulty disks.
Jope is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
WHDLoad error: error during 'resload_LoadKick' on monkey island & others jamespstevenson project.MAGE 14 20 February 2014 05:33
ERROR: Metal Masters (Illegal Instruction / Address Error / Black Screen) killergorilla project.Killergorilla's WHD packs 7 25 March 2012 15:32
ERROR: Leisure Suit Larry Enhanced (Address Error) batwinky project.Killergorilla's WHD packs 23 30 January 2011 13:00
(ERROR) Shadow Warriors - DOS Error #219 Retro-Nerd project.Killergorilla's WHD packs 5 04 January 2009 16:26
ERROR: Arena (Psygnosis) (resload_control error) killergorilla project.Killergorilla's WHD packs 5 25 September 2007 17:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.32528 seconds with 15 queries