Open source firmware for Gotek floppy emulator released

Arc/RPCs, peripherals, RISCOS operating system & ARM kit eg GP2x, BeagleBoard
User avatar
grobda
Posts: 102
Joined: Tue Apr 23, 2013 1:46 pm
Location: Glasgow

Open source firmware for Gotek floppy emulator released

Postby grobda » Tue Sep 12, 2017 6:53 pm

don't think this has been mentioned here, just tried it and works a treat;

https://github.com/keirf/FlashFloppy

BradBrad
Posts: 39
Joined: Sat Sep 02, 2017 9:40 pm

Re: Open source firmware for Gotek floppy emulator released

Postby BradBrad » Sun Sep 17, 2017 11:35 am

Hi, Do you have that working on an Archimedes by any chance? Do you know if is it the same/better/worse than the hxc2001 firmware? Sorry for all the questions but I have 3 Goteks in total. One is flashed to hxc2001 (cost £10 online for the firmware) and is working well in an Atari 1024STF. The other two are still stock atm and will hopefully go in my Amstrad CPC6128 and Archimedes A3000 when time permits. At £10 to flash each drive, it would make sense to go open source if functionality is the same. Thanks.

User avatar
grobda
Posts: 102
Joined: Tue Apr 23, 2013 1:46 pm
Location: Glasgow

Re: Open source firmware for Gotek floppy emulator released

Postby grobda » Mon Sep 18, 2017 2:45 pm

Sorry not tried it on an arc yet, just a BBC B and Dragon 32, must have put this in 32-bit hardware section by accident (although with an arm 7 onboard it is technically a 32bit device ;p ).

Is uses the HxC software for creating floppies so I'd guess it will work - If I can muster the will to dig out my A3000 I'll give it a try.

User avatar
bakoulis
Posts: 249
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece

Re: Open source firmware for Gotek floppy emulator released

Postby bakoulis » Sat Oct 21, 2017 2:47 pm

grobda wrote:don't think this has been mentioned here, just tried it and works a treat;

https://github.com/keirf/FlashFloppy

Is it support SSD and DSD images?
It is support DFS and ADFS?
Flips between 999 image files with 2 buttons?
Let me know please, before I order 2 programmed Gotek from a friend.
:D
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

Trapper
Posts: 131
Joined: Tue Apr 21, 2015 11:59 am

Re: Open source firmware for Gotek floppy emulator released

Postby Trapper » Sat Oct 21, 2017 9:14 pm

My Gotek arrived today as well. I also want to make sure flashing it with this firmware is all working.

Trapper
Posts: 131
Joined: Tue Apr 21, 2015 11:59 am

Re: Open source firmware for Gotek floppy emulator released

Postby Trapper » Sat Oct 21, 2017 9:20 pm

Will a USB 3.0 A cable work the same as a USB 1/2 A cable?

I know in some circumstances USB 2 devices cannot accept USB 3 devices due to the increased voltage.

https://www.amazon.co.uk/dp/B01KXAYL74?psc=1

dp11
Posts: 707
Joined: Sun Aug 12, 2012 8:47 pm

Re: Open source firmware for Gotek floppy emulator released

Postby dp11 » Sat Oct 21, 2017 9:41 pm

I know in some circumstances USB 2 devices cannot accept USB 3 devices due to the increased voltage.


Both USB 2 and USB 3 use the same voltage. So any USB 2 device can be plugged into a USB 3 host port.

Old versions on the USB 2 specification did specify 5.25v as maximum Vbus. Current versions of the spec both specify 5.5v max. It is extremely rare the an old USB2 device will fail with the slightly increased voltage.

You might be thinking about USB3 devices not working when being connected to USB 2 hosts ( computers) as the Current with USB 3 is upto 900mA whereas with USB 2 500mA. ( BC 1.2 and PD 3.0 change all this again )

A USB 3 A to A cable will work just the same and a USB 2 A to A cable in USB 2 situations.

Trapper
Posts: 131
Joined: Tue Apr 21, 2015 11:59 am

Re: Open source firmware for Gotek floppy emulator released

Postby Trapper » Sat Oct 21, 2017 9:55 pm

Great, got one coming tomorrow via Amazon Prime Now. Wonderful service!

Seen on some Apple ][ forums - would this work for writing ADFS floppies on a PC without a floppy controller on board?
https://www.newegg.com/Product/Product. ... 12219&SID=

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Sun Oct 22, 2017 5:52 am

I wouldn't have thought so - it'll just be a USB floppy drive with some SD/CF gubbins stitched on. Most likely limited to 1.44MB PC floppies. The only way you're writing ADFS floppies with a PC is to use one with an on-board floppy controller, or with something like a kryoflux.

d.

User avatar
bakoulis
Posts: 249
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece

Re: Open source firmware for Gotek floppy emulator released

Postby bakoulis » Sun Oct 22, 2017 9:15 am

About open source firmware:
Can anybody answering the easy question, if it support SSD and DSD images and if flips between 999 image files with 2 buttons?
:?:
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Sun Oct 22, 2017 3:05 pm

I think it's being implemented...

d.

User avatar
bakoulis
Posts: 249
Joined: Wed Feb 08, 2012 9:45 pm
Location: Athens, Greece

Re: Open source firmware for Gotek floppy emulator released

Postby bakoulis » Sun Oct 22, 2017 11:19 pm

danielj wrote:I think it's being implemented...

d.

Is anybody sure if is implemented or not?
Nobody have tried yet this open source firm on a BBC?
#-o
2xElectron, 3xBBC B, BBC Master.
2xAcorn A310, A420/1, 2xA3000, 2xA3010, A3020, A4000, A5000.
2xRISC PC, Acorn Pocket Book, Acorn Pocket Book II.

User avatar
myelin
Posts: 202
Joined: Tue Apr 26, 2016 9:17 pm
Location: San Francisco, CA, USA
Contact:

Re: Open source firmware for Gotek floppy emulator released

Postby myelin » Mon Oct 23, 2017 2:23 am

Awesome... just ordered one. From HK so it’ll take a couple of weeks though! Looking forward to trying it out on a Master!
SW/EE from New Zealand, now in San Francisco: http://myelin.nz/
Having fun making hardware projects for the Electron!
So far: 32k flash cart, USB cart interface, 3-cart expansion, Elk PiTubeDirect. Later: Dual ported ram cart.

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Mon Oct 23, 2017 7:00 am

Even if it's not been implemented yet, you can convert them to HxC files.

d.

Trapper
Posts: 131
Joined: Tue Apr 21, 2015 11:59 am

Re: Open source firmware for Gotek floppy emulator released

Postby Trapper » Mon Oct 23, 2017 11:03 pm

How do I bridge the jumpers on the GoTech to allow USB flashing?

Would a paperclip do it?! I have the metal bridges that Mark at RetroClinic provided with my 1770 DFS BBC interface which I have not yet installed. Will they work to allow flashing?!

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Tue Oct 24, 2017 8:35 am

Did you look at the instructions?

https://github.com/keirf/FlashFloppy/wi ... rogramming

If you have one of the little black jumpers, that would indeed be suitable. A paperclip would risk damage.

d.

Trapper
Posts: 131
Joined: Tue Apr 21, 2015 11:59 am

Re: Open source firmware for Gotek floppy emulator released

Postby Trapper » Tue Oct 24, 2017 7:28 pm

Mine has no jumpers. Just the empty holes.

I assume this is why it was so cheap, and therefore is totally worthless?

I have a serial programmer on order, but it's coming from China.

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Tue Oct 24, 2017 7:55 pm

You need to be more specific :)

You need to solder in a header first:
http://uk.rs-online.com/web/p/pcb-headers/2518086/

If you want it linked permanently (I think you don't though) use the lead snipped off a resistor or something.


d.

JonC
Posts: 624
Joined: Wed May 14, 2014 9:19 pm
Location: Wakefield

Re: Open source firmware for Gotek floppy emulator released

Postby JonC » Tue Oct 24, 2017 8:03 pm

danielj wrote:
You need to solder in a header first:
http://uk.rs-online.com/web/p/pcb-headers/2518086/

Yup, this works. Flashed mine using some soldered on jumpers and a creatively bodged serial cable.
Worked like a charm :)

Unfortunately, never got it to work properly on my Archie's so probably get a config setting wrong somewhere
Jon
Image

User avatar
fordp
Posts: 920
Joined: Sun Feb 12, 2012 9:08 pm
Location: Kent, England

Re: Open source firmware for Gotek floppy emulator released

Postby fordp » Thu Oct 26, 2017 6:14 pm

I have started on supporting DFS disks. It will take me a while as I only spend a couple of hours a week. If anybody want to help out then I could add you to my github fork.

P.S. Maybe an admin should move this to the 8 bit section as DFS is 8 bit really.
FordP (Simon Ellwood)
Time is an illusion. Lunchtime, doubly so!

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Sun Nov 12, 2017 7:21 pm

Well, I've pimped a gotek (total cost of all of this probably in the region of £17):
DSC_3068.jpg

DSC_3067.jpg
(no idea why this is the wrong way round)
DSC_3069.jpg


Currently, as ford said, you have to convert SSD/DSD images to HFE, but it works! :)

d.

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Thu Nov 16, 2017 7:33 pm

I've just finished adding ADFS disk image support to FlashFloppy in my fork, Keir's looking at pulling it into the main branch - if anyone would like to test it please have a go (not added DFS support as single density isn't done yet):

https://github.com/drdpj/FlashFloppy

ADL= ADFS double sided, interleaved
ADM = ADFS single sided

It expects images to be fully padded out.

d.

User avatar
myelin
Posts: 202
Joined: Tue Apr 26, 2016 9:17 pm
Location: San Francisco, CA, USA
Contact:

Re: Open source firmware for Gotek floppy emulator released

Postby myelin » Fri Nov 17, 2017 10:49 pm

Nice! I'll have to try this out on my Master. I tested my Gotek on my 8271-equipped Beeb a couple of days ago and it seems to work, although is a bit flaky, with a .ssd converted to .hfe. Can you share the settings you used to convert DFS disks to .hfe?
SW/EE from New Zealand, now in San Francisco: http://myelin.nz/
Having fun making hardware projects for the Electron!
So far: 32k flash cart, USB cart interface, 3-cart expansion, Elk PiTubeDirect. Later: Dual ported ram cart.

User avatar
danielj
Posts: 5346
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester

Re: Open source firmware for Gotek floppy emulator released

Postby danielj » Sat Nov 18, 2017 7:38 am

80 track, 10 sectors, 256 bytes, single sided, interleave 1, skew 0, bitrate 250000, RPM 300, Auto-Gap3, pregap 0.

It seems fine with 1770 on the master - it could be it needs tweaking on an 8271...

d.


Return to “hardware”

Who is online

Users browsing this forum: No registered users and 4 guests