Flashing the Gotek floppy emulator with HxC firmware

Discussion about old PC hardware.

Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-5-19 @ 22:16

Jeff (who's behind the HxC SD Floppy Emulator) recently released a version of the HxC emulator firmware that's compatible with the STM32 chip used in the Gotek floppy emulators. This means that the great functionality of the HxC SD emulator is now available on cheaper and more widely available hardware.

More info here:

http://hxc2001.com/download/floppy_driv ... l#stm32hxc

I went through this process recently and thought I'd post a little howto in case anyone wants to try it.

Here's a humble Gotek. I believe any Gotek will work regardless of model or number of LCD digits.
Image

The innards are quite minimal. It's easiest to remove the board from the case completely.
Image

Firstly you need to enable programming mode by bridging two contacts as shown here. Apologies for my poor soldering, but it works :cool:
Image

The Gotek uses a LVTTL (3.3V) serial interface for programming. As oldskool PC serial interfaces can be anywhere between +-12V, the safest approach is to use a USB-LVTTL converter like this one. They only cost a few pounds.
Image

The following connections are required between the converter and the Gotek:

Converter 5V -> Gotek 5V
Converter GND -> Gotek GND
Converter TXD -> Gotek RX
Converter RXD -> Gotek TX

I chose to just solder them to the pads provided but you can also use temporary patch wires with headers.
Don't forget to set the voltage jumper on the converter to 3.3V!
Image

The first step is to program a bootloader onto the Gotek that will then allow the HxC firmware to be flashed from a USB stick.
Each Gotek device to be programmed with the bootloader requires a license from Jeff that costs 10 euro currently.
Image

Once complete you'll see LDR on the Gotek's display, this means the bootloader is active and waiting to flash the new firmware.
Image

Copy the new firmware onto a USB stick and insert it. The flash process only takes a few seconds and will display HXC when complete.
Image

You can remove all the programming connections now and put the Gotek back in its case.
That's it! Will post my impressions of the new firmware once I've had a chance to play with it some more.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby carlostex » 2015-5-19 @ 22:29

Will this enable the Gotek to support all MFM formats? I mean 360k, 720k and 1.2MB besides the 1.44MB support? If so, the Gotek will become even more useful.
User avatar
carlostex
l33t
 
Posts: 2030
Joined: 2010-4-03 @ 21:39
Location: Portugal

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-5-21 @ 06:28

All DD and SD modes are supported at the moment. HD support is in the works apparently. Right now people seem to be mostly using this firmware for Amiga/ST/Amstrad etc.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby carlostex » 2015-5-21 @ 08:53

Thanks, i'll be keeping an eye for this. As soon as all IBM formats are supported i'll definitely do this.
User avatar
carlostex
l33t
 
Posts: 2030
Joined: 2010-4-03 @ 21:39
Location: Portugal

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby dogchainx » 2015-5-21 @ 15:00

Very interesting...I'd love to see how this works with my 1000 floppy USB image I'm working on (1000 floppy's on a USB image file...just write to a USB flash drive and I have every single DOS game/software/util/etc I'd ever want or need)

Can you mix/match floppy image types on the same flash drive? disk 1 is 360K, disk 2 is 720, etc? I'm not familiar with HxC firmware...
386DX-40MHz-8MB-540MB+428MB+Speedstar64@2MB+SoundBlaster Pro+MT-32/MKII
486DX2-66Mhz-16MB-4.3GB+SpeedStar64 VLB DRAM 2MB+AWE32/SB16+SCB-55
MY BLOG RETRO PC BLOG: https://bitbyted.wordpress.com/
User avatar
dogchainx
Member
 
Posts: 395
Joined: 2012-11-28 @ 19:21
Location: UTAH, United States

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-5-22 @ 09:48

No problem having different format images on the USB stick. Not sure if it is possible to change between 1.44MB/720k and 1.2MB/360k on the fly without changing the BIOS setting though.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby carlostex » 2015-5-22 @ 10:09

I've copied 360k, 720k and 1.2MB images on Gotek, the problem is that you cannot reformat those partitions anymore as it will show errors. Gotek formats 1.44MB partitions, so what we need is the firmware to understand all other formats so that you can re-format partitions other than 1.44MB.
User avatar
carlostex
l33t
 
Posts: 2030
Joined: 2010-4-03 @ 21:39
Location: Portugal

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby hyoenmadan » 2015-5-22 @ 14:28

With HxC firmware that isn't necessary anymore. HxC uses normal files to store all the data and configurations. Still no HD mode support, but is a WIP according Jeff, the HxC creator.

bjt wrote:No problem having different format images on the USB stick. Not sure if it is possible to change between 1.44MB/720k and 1.2MB/360k on the fly without changing the BIOS setting though.


This is one of the reasons why a cheapo Gotek drive flashed with the HxC firmware will never compare against a real HxC drive. With the real HxC you get an interesting feature called double drive, where you can get both floppy drives A and B with a single physical HxC drive, then you can configure in the bios one of the drives as DD and the other as HD or any config that you want to try. Since this is a hardware feature, will never be available in the Gotek firmware version of the HxC.
hyoenmadan
Member
 
Posts: 150
Joined: 2015-5-15 @ 16:44

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-5-28 @ 09:19

Looks like I might end up using this with my Amstrad CPC where it will get a lot more use. Just waiting for the disk interface to arrive.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby keropi » 2015-5-28 @ 09:28

interesting developments , thanks for the heads up
I do have an amiga gotek but with the free firmware from H.M. (the first one to appear)
User avatar
keropi
l33t++
 
Posts: 6410
Joined: 2003-9-08 @ 06:45
Location: Greece

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby keropi » 2015-8-23 @ 10:21

Bumping this to ask: you need to contact the HxC creator via email to get an account and pay, correct?

Also can you jump from amiga<->pc firmwares by reflashing the gotek as many times as you like? I have a gotek in amiga mode and use it from time to time for repairs or cases where a real amiga FDD is simply dead, so it would be nice to be able to flash between HxC versions ...
User avatar
keropi
l33t++
 
Posts: 6410
Joined: 2003-9-08 @ 06:45
Location: Greece

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby dogchainx » 2015-8-23 @ 14:48

As soon as I get some time (HA!...triplets) I'll try this out. I'm still working on my 1000-disk USB image file that contains anything and everything I'd ever need for DOS, but would like to see if its compatible with this firmware (not likely?)
386DX-40MHz-8MB-540MB+428MB+Speedstar64@2MB+SoundBlaster Pro+MT-32/MKII
486DX2-66Mhz-16MB-4.3GB+SpeedStar64 VLB DRAM 2MB+AWE32/SB16+SCB-55
MY BLOG RETRO PC BLOG: https://bitbyted.wordpress.com/
User avatar
dogchainx
Member
 
Posts: 395
Joined: 2012-11-28 @ 19:21
Location: UTAH, United States

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby jwt27 » 2015-8-23 @ 16:38

keropi wrote:Bumping this to ask: you need to contact the HxC creator via email to get an account and pay, correct?

Also can you jump from amiga<->pc firmwares by reflashing the gotek as many times as you like? I have a gotek in amiga mode and use it from time to time for repairs or cases where a real amiga FDD is simply dead, so it would be nice to be able to flash between HxC versions ...


As I understand it, the HxC firmware is universal right? Once you have the HxC firmware loaded, it should work on both PC and Amiga (and everything else).
WANTED - Manuals/drivers for:
  • Tecmar Graphics Master
  • Paradise Autoswitch EGA 350 (EGA1A)
User avatar
jwt27
Oldbie
 
Posts: 1628
Joined: 2011-8-15 @ 02:19
Location: Fryslân

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-8-23 @ 16:44

Yep, the HFE format supports many formats.
HD data rate (500kbit/sec) are now supported.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby teevee » 2015-10-07 @ 10:39

Can you confirm, which Gotek floppy emulator that would work with this HxC firmware update?

I understand that Ebay is filled with different versions of the Gotek floppy emulators and also in different price range.

Example:
http://www.goteksystem.com/index.php?_m ... _a=prdlist
teevee
Newbie
 
Posts: 14
Joined: 2015-10-07 @ 10:28

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby PhilsComputerLab » 2015-10-07 @ 10:56

Should be the cheapest one, around $20 with 3 digits.

I've got some USB to serial adapters now, might try it out. I like the mod for the Amiga 500, that gives you a floppy with ADF file selection, very nifty.

Something that would be cool is 2.88 MB floppy support.
User avatar
PhilsComputerLab
Hardware Mod
 
Posts: 6179
Joined: 2014-9-28 @ 03:33
Location: Western Australia

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby teevee » 2015-10-12 @ 13:45

philscomputerlab wrote:Should be the cheapest one, around $20 with 3 digits.

I've got some USB to serial adapters now, might try it out. I like the mod for the Amiga 500, that gives you a floppy with ADF file selection, very nifty.

Something that would be cool is 2.88 MB floppy support.


Wow thanks for the fast answer... I ordered the USB-LVTTL converter from Ebay last week, So I’m waiting for the post!
But I’m scared of buying those “too cheap ones”, does this HxC-guy also offer support when it comes to a "failure flashing" or is it like “Well you just have to buy a new license”
teevee
Newbie
 
Posts: 14
Joined: 2015-10-07 @ 10:28

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby PhilsComputerLab » 2015-10-12 @ 16:46

Not sure, I haven't flashed one yet. At the moment I am happy with the 1.4 MB support, I'm not using it with other home computers for example. What are you going to use yours for?
User avatar
PhilsComputerLab
Hardware Mod
 
Posts: 6179
Joined: 2014-9-28 @ 03:33
Location: Western Australia

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby teevee » 2015-10-12 @ 20:51

philscomputerlab wrote:Not sure, I haven't flashed one yet. At the moment I am happy with the 1.4 MB support, I'm not using it with other home computers for example. What are you going to use yours for?


Roland s-330 and Atari St-1040
teevee
Newbie
 
Posts: 14
Joined: 2015-10-07 @ 10:28

Re: Flashing the Gotek floppy emulator with HxC firmware

Postby bjt » 2015-10-13 @ 07:13

Just buy the cheapest one with 3 digits on eBay. I usually just search for "floppy emulator" and go by picture.

I have 3 now, on Amstrad, IBM XT and soon to be Tandy 1000. All working great and using the selector software to browse and switch images.
User avatar
bjt
Oldbie
 
Posts: 1429
Joined: 2013-2-06 @ 10:40
Location: UK

Next

Return to General Old Hardware

Who is online

Users browsing this forum: BLEXBot [Bot], Disruptor, fitzpatr, Intel486dx33, matt.c and 10 guests