( continued from previous page)
Some sanity checks...
No Trudie byteswapping , HD11 byteswap seems to auto enable ... As expected ~300KB/sec
WITH Trudie byteswapping.. Assume HD11 auto turns byteswapping off..
So it looks like Trudie byteswapping is working!
Trudie - The Next IDE Board
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
You do not have the required permissions to view the files attached to this post.
-
PhilC
- Moderator

- Posts: 7441
- Joined: 23 Mar 2018 20:22
Re: Trudie - The Next IDE Board
:girldance: :girldance: :girldance:
If it ain't broke, test it to Destruction.
-
agranlund
- Site sponsor

- Posts: 1751
- Joined: 18 Aug 2019 22:43
- Location: Sweden
Re: Trudie - The Next IDE Board
Nice!! :bravo:
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
argh! almost boots from hardware byteswap!
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
So I am really not following whats going on with all this. If I turn on byteswap all the time, HD11 enables byteswap itself and ends up with 327kb/s. If I enabled BS on first command, HD11 loads fine and seems to work fine, drive reads are fine and full speed, but if I reload the driver then "sandisk" ends up byteswapped.. So its like the IDENT info gets byteswaped .. if I byteswap on everything but IDENT, it goes back to enabling HD11 byteswap.. So I can't bloody win either way :pullhair: :headbang:
I could understand it if IDENT was read on initial boot (which assume it is) and my code byte swapped on the second read.. but that does not happen. So I can only assume something else is read before issuing commands, but could only be the error register :shrug:
So unless someone knows why HD11 keeps triggering BS itself, then I may just have to shelve this project until I have more time and patience to keep endlessly changing things about. I've asked Uwe for help in what HD11 actually does relating to BS, but he is less than helpful. So without knowing whats going on, its just near-on impossible to diagnose the issues without reversing engineering the driver, which is basically what I will be doing with my bus sniffer project.
I could understand it if IDENT was read on initial boot (which assume it is) and my code byte swapped on the second read.. but that does not happen. So I can only assume something else is read before issuing commands, but could only be the error register :shrug:
So unless someone knows why HD11 keeps triggering BS itself, then I may just have to shelve this project until I have more time and patience to keep endlessly changing things about. I've asked Uwe for help in what HD11 actually does relating to BS, but he is less than helpful. So without knowing whats going on, its just near-on impossible to diagnose the issues without reversing engineering the driver, which is basically what I will be doing with my bus sniffer project.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
Actually my current board / firmware has byteswap enabled all the time after the first sector command. So *everything* is swapped.. By all accounts that shouldn't work, but the CF card is formatted on the PC, and it runs programs fine etc.. it benchmarks at full speed as well. So HD11 isn't doing the byteswapping.. I just don't get whats going on :(
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
Had a break over the weekend and thought of a re-work of some code which now works!
Now I can load HD11 from floppy, BS is enabled, and get full speed on drive access.. The bug of loading HDUTIL or driver again and SANDISK getting swapped is one nagging problem now out of the way! So basically it seems to be all working fine when booting from floppy.
So the last issue is to figure out why TOS isn't happy autobooting from IDE.. I just get 4 bombs..
Now I can load HD11 from floppy, BS is enabled, and get full speed on drive access.. The bug of loading HDUTIL or driver again and SANDISK getting swapped is one nagging problem now out of the way! So basically it seems to be all working fine when booting from floppy.
So the last issue is to figure out why TOS isn't happy autobooting from IDE.. I just get 4 bombs..
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
:pullhair: :pullhair: :pullhair: :foldarms:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
ah so why does this seem to be now working ??? :lol: Did I screw something up or does it really work now...
Point being.. PC can see the drive, ST can see the drive, BUT, its not running with "software byte swap" as its running near 1400kb/sec not 300kb/sec with software byteswapping..
Point being.. PC can see the drive, ST can see the drive, BUT, its not running with "software byte swap" as its running near 1400kb/sec not 300kb/sec with software byteswapping..
-
exxos
- Site Admin

- Posts: 28344
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Trudie - The Next IDE Board
V5.2 I started messing with the paste printer and results are looking good on the first PLD :)
I swapped some pins about and adding a bit more stuff on this version.. but I hope won't take long to get running this time...
I swapped some pins about and adding a bit more stuff on this version.. but I hope won't take long to get running this time...
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: ClaudeBot and 1 guest