Some of my HxC Goteks are not writting ADFs

HxC Floppy Emulator on Amiga support
Post Reply
Jason
Posts: 14
Joined: Wed Jun 29, 2022 6:27 pm

Re: Some of my HxC Goteks are not writting ADFs

Post by Jason »

Jeff wrote:
Fri Jul 08, 2022 11:58 pm
Just connect the vss/gnd and the TX pin the usb adapter RX pin. ignore all the other stuff.
please use a ttl adapter, not an rs232 version.
No pins in mine to connect to. I assume it will void the warranty if I install some. Any new updates?

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

Jason wrote:
Sat Jul 16, 2022 4:41 am
Jeff wrote:
Fri Jul 08, 2022 11:58 pm
Just connect the vss/gnd and the TX pin the usb adapter RX pin. ignore all the other stuff.
please use a ttl adapter, not an rs232 version.
No pins in mine to connect to. I assume it will void the warranty if I install some. Any new updates?
No, no update. I have a PiStorm but i still don't have the KS 3.2 ROM dump so i still can't reproduce the issue here.

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

New major update : v5.0.0.4
Artery cpu running at 144MHz (was 72MHz) plus a lot of changes in the low level layers. this may help for this issue.

EDIT : UPD file removed, the fix is in this post :
viewtopic.php?p=24887#p24887

PascalDe73
Posts: 16
Joined: Sun Jan 14, 2018 5:39 pm

Re: Some of my HxC Goteks are not writting ADFs

Post by PascalDe73 »

Hi Jeff, Is this file is a patched version of the file included in the 5.0.0.4 ZIP file? or is it the same because I have already made the update from the zip file and here the siez isn't the same... Another revision of v5.0.0.4 ?
Last edited by PascalDe73 on Thu Aug 11, 2022 9:15 pm, edited 1 time in total.

PascalDe73
Posts: 16
Joined: Sun Jan 14, 2018 5:39 pm

Re: Some of my HxC Goteks are not writting ADFs

Post by PascalDe73 »

Jeff wrote:
Mon Aug 08, 2022 6:09 pm
New major update : v5.0.0.4
Artery cpu running at 144MHz (was 72MHz) plus a lot of changes in the low level layers. this may help for this issue.
HxCUSBFE.UPD
Hi Jeff, Is this file is a patched version of the file included in the 5.0.0.4 ZIP file? or is it the same because I have already made the update from the zip file and here the siez isn't the same... Another revision of v5.0.0.4 ?

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

No this is not the same. Have you any issue related to this thread ?

PascalDe73
Posts: 16
Joined: Sun Jan 14, 2018 5:39 pm

Re: Some of my HxC Goteks are not writting ADFs

Post by PascalDe73 »

Jeff wrote:
Thu Aug 11, 2022 10:03 pm
No this is not the same. Have you any issue related to this thread ?
Not currently. My different Gotek are all STM32 models. I didn't notice anything as a problem.
But it must be said that I use them in reading mode for IPF games converted to HFEv3.

lowlevel
Posts: 7
Joined: Sun Jul 03, 2022 7:08 am

Re: Some of my HxC Goteks are not writting ADFs

Post by lowlevel »

Jeff wrote:
Mon Aug 08, 2022 6:09 pm
New major update : v5.0.0.4
Artery cpu running at 144MHz (was 72MHz) plus a lot of changes in the low level layers. this may help for this issue.
HxCUSBFE.UPD
It does seem to help, however it still does not work correctly for me.
It goes through the motions now, allowing me to copy files to a adf file, and they seem to stay there... however I'm still seeing data corruption/bad data when I try to read it back. (I'm assuming is write is where it goes bad, as reading downloaded adf files seems to work ok.)

Hopefully you can eventually figure out a working solution to this issue, but I'm going to take a break from it for now.

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

lowlevel wrote:
Mon Aug 15, 2022 4:50 am
It does seem to help, however it still does not work correctly for me.
It goes through the motions now, allowing me to copy files to a adf file, and they seem to stay there... however I'm still seeing data corruption/bad data when I try to read it back. (I'm assuming is write is where it goes bad, as reading downloaded adf files seems to work ok.)

Hopefully you can eventually figure out a working solution to this issue, but I'm going to take a break from it for now.
Yes i agree that this is going nowhere this way. i need to have this KS 3.2 ROM dump to reproduce the issue and fix it. Can someone send me it by email ?
Btw does a WB 2.X on a KS 3.2 machine reproduce the issue ?

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

Some "good" news : i managed to setup an KS 3.2 + WB 3.2 test machine (A500 + pistorm). And i manage to reproduce the issue ! :

Some notes :

- All is working fine with the FW v5.0.0.4 and the new AT32F435 Gotek.

- With the FW v5.0.0.4 and the QFN32 AT32F415 this is a different story : The track change interruption seems too slow when running with the pistorm accelerator : some steps are missed. And i can see the exact missing sector when writing.

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

Jeff wrote:
Wed Aug 17, 2022 12:04 am
Some "good" news : i managed to setup an KS 3.2 + WB 3.2 test machine (A500 + pistorm). And i manage to reproduce the issue ! :

Some notes :

- All is working fine with the FW v5.0.0.4 and the new AT32F435 Gotek.

- With the FW v5.0.0.4 and the QFN32 AT32F415 this is a different story : The track change interruption seems too slow when running with the pistorm accelerator : some steps are missed. And i can see the exact missing sector when writing.
First issue fixed : The interrupts priorities was not set correctly... :?

Second issue : Work in progress :wink: :
Screenshot at 2022-08-17 17-14-29.png
Screenshot at 2022-08-17 17-14-29.png (42.75 KiB) Viewed 745 times

Jeff
Site Admin
Posts: 7913
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: Some of my HxC Goteks are not writting ADFs

Post by Jeff »

And finally here is the fix :) :
HxCFEUSB_V5_0_0_6a.UPD
(88.5 KiB) Downloaded 13 times
The problem with the KS/WB 3.2 was that there is almost no gap at the end of the track. The very last bytes are part of the last sector.

(Note : This fix is only for Amiga users with AT32F415 Goteks.
Please use the normal firmware if you have an STM32 or AT32F435 Gotek and/or if you are not an Amiga user).

lowlevel
Posts: 7
Joined: Sun Jul 03, 2022 7:08 am

Re: Some of my HxC Goteks are not writting ADFs

Post by lowlevel »

Jeff wrote:
Thu Aug 18, 2022 2:29 pm
And finally here is the fix :) :

HxCFEUSB_V5_0_0_6a.UPD

The problem with the KS/WB 3.2 was that there is almost no gap at the end of the track. The very last bytes are part of the last sector.

(Note : This fix is only for Amiga users with AT32F415 Goteks.
Please use the normal firmware if you have an STM32 or AT32F435 Gotek and/or if you are not an Amiga user).
Seems to work now... I successfully formatted an ADF image from the Amiga, and successfully copied a disk full of files to that image without corruption. I'm having trouble accepting it, but I think you've finally got it licked ;)

For anyone finding this later, it's an AT32F415 based gotek in an A2000 w/wb3.2 and tf536.

Post Reply