HxC Firmware for Gotek updates.

Everything related to using the HxC Floppy Emulator hardware on your Atari.
Post Reply
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

03 December 2017: Firmware STM32 USB HxCFloppyEmulator v3.1.0.4a

Major firmware update !

- New direct file formats support (Read & Write !) :
- Acorn machines : *.ADL,*.ADM,*.SSD,*.DSD and *.ADF file support
- Camputer Lynx : *.LDF
- Commodore C64 : *.D81
- Thomson machines : *.FD
- Sam Coupé : *.SAD, *.MGT
- MSX Machines : *.IMG, *.DSK
- Spectrum : *.TRD, *.SDD

- New menu entry : Target system family selection.
This reduce a lot the risk of erroneous raw file identification.

- Lots of RAW file support improvements :
All sector sizes supported, advanced track skew and interleaving support.
FM & MFM support.

- Amstrad CPC DSK support : Fix for the One Disk/double sided Batman demo.

- Fix attempt of the "diymore.cc" OLED screens : OLED init screen delay
menu option added.
(Note : Please avoid these "diymore.cc" screens until i got an idea
what is the root cause of the issue.)

- Internal improvement : Track cache layer improved, RAW files support/identification improved.

Please report any issue to hxc2001 <at> hxc2001.com
Thanks ! :)

http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

27 January 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.1.3a

- Normal mode Fix : ST files are visible again !

http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
User avatar
kodak80
Atari God
Atari God
Posts: 1140
Joined: Sat Nov 09, 2013 12:05 am

Re: HxC Firmware for Gotek updates.

Post by kodak80 »

Thank you. Works great. :D
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

Lots of updates :

27 January 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.1.4a

- Config file "Load last loaded floppy" flag is now supported
in indexed and file selector mode.

29 January 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.2.0a

- *.ST 720KB Files : Switch to the TOS 1.62 Disk Layout.
- RAW files loader : Internal enhancement.

31 January 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.3.0a

- RAW MFM & FM Images (IMG/ST/...) :
- Write speed improvement :
- Track cache workflow improvement.
- Code optimization (CRC16, MFM 2 BIN...).

01 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.4.0a

- More Code Speed optimizations.
- RAW MFM & FM Images (IMG/ST/...) :
- More Write speed improvement : Sector Data cache prefetch.

02 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.5.0a

- Cache flush fix :
Do you not reorder the cache when not needed ( e.g when the track fit the cache size )

- CFG File V1 fix (Autoboot mode) :
slots support now file images with 2 characters filename extension...

- More code Speed optimizations. (again ! :) )

04 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.5.1a

- Raw *.IMG PC Files : Use the DOS 6.22 disk layouts.
- And as always some code optimizations.

05 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.6.0a

- Low level Floppy IO optimizations.

06 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.8.1a

- Raw files : Write sector performance increased.
Near Real time sectors write !

http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt

:wink:
User avatar
dhedberg
Atari God
Atari God
Posts: 1386
Joined: Mon Aug 30, 2010 8:36 am
Contact:

Re: HxC Firmware for Gotek updates.

Post by dhedberg »

Sorry for cross-posting, but I'm interested in the HxC firmware and would like to understand how the bootloader license works. Am I correct if I assume it can be installed on the same Gotek device as many times as I want/need?

If I purchase HxC and use it on a Gotek device but then decide to switch back to FlashFloppy, can I at a later point re-install the HxC bootloader (on the same Gotek device) that I purchased?
Daniel, New Beat - http://newbeat.atari.org.
Like demos? Have a look at our new Falcon030 demo It's that time of the year again, or click here to feel the JOY.
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

New firmware !
25 February 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.16.1a

- User interface part : Code Refactored

- Better buttons behavior.
- Better/faster rotary behavior.

- Normal mode : Press both buttons shortly to jump to the first entry of the current folder. ("..")

- Normal mode : When returning to parent folder ("..") the position in the folder is restored.

- Autoboot mode :
--> Press both buttons shortly to jump to Autoboot.hfe
--> Press both buttons more than 2 seconds eject/insert the disk.

- Indexed mode :
--> Press both buttons shortly to jump to DSKA0000.HFE
--> Press both buttons more than 2 seconds eject/insert the disk.

- 7 segments screen : Now show when an image is inserted ("---") or ejected (" - ")

- OLED : init algorithm revised for diymore.cc screens.
(Press the right button at power up at the first diymore.cc screen installation).

- Various user interface fixes.

If you have any comments or suggestions, requests or issue to report please contact me :

Email : hxc2001 <at> hxc2001.com
Forum : http://torlus.com/floppy/forum
Facebook : https://www.facebook.com/groups/hxc2001
http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

Et hop la ! :)
11 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.18.1a

- End part of the read output pipeline reworked (pulses generator).

- Akai S20 IMG images : sectors gap and tracks skew aligned to the real machine.

- Casio FZ1 IMG images : sectors gap and tracks skew aligned to the real machine.

4 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.16.3a

- Fix last the v3.1.16.2a compilation option !
Please update if you have the v3.1.16.2a released yesterday !

3 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.16.2a

- Autoboot mode + 3 Digits Gotek screen : Fix slot number.

If you have any comments or suggestions, requests or issue to report please contact me :

Email : hxc2001 <at> hxc2001.com
Forum : http://torlus.com/floppy/forum
Facebook : https://www.facebook.com/groups/hxc2001
http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

turlututu chapeau pointu ! :D
Jeff_HxC2001 wrote: 15 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.18.1a

- Normal mode : Remove unwanted key delay when entering in direct mode.

17 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.20.1a

- USB Direct Access mode code refactored :
- Read/write performance increased (hxcmount).
- Command/Write indications printed on the LCD.

- USB access cache : Write timeout value set to 2 seconds.

18 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.21.1a

- Indexed mode : Ignore file extension. You can now use any file extension
as long as the file is supported by the floppy emulation engine.
(Can be DSKA0000.HFE/IMG/DSK/ADF/ADL...)

- Acorn machines (*.ADL, *.ADM, *.ADF):
Sectors gap, interleave and tracks skew aligned to the real machine.

19 March 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.21.2a

- USB Direct Access mode code : Index gap increased
(Amiga File selector & HxC copy utility under WB fix)


1 April 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.22.1a

- TI99/4A : Direct support of *.DSK/*.PC99/*.V9T9 sectors dump images
SD/DD/HD density support (Read & Write).

- New embedded menu entry : You can now force the user interface mode
(Normal/Indexed or selector mode selection).
http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

Some updates ! :

3 April 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.22.2a

- TI99/4A : V9T9/DSK Loader -> Better disk layout detection.

19 April 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.22.3a

- OLED screen setting sanity check : Do not allow more than 21 characters per line.

26 April 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.22.4a

- 2 Digits screen Gotek : Fix embedded config menu.

28 April 2018: Firmware STM32 USB HxCFloppyEmulator v3.1.22.6a

- HFE files : Fix MPC60 MkII formatted images write support regression.
May also fix possible write issues on HFE files with some others machines/disk formats.
Update recommended.
http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

There are tons of updates since the last time i posted here.

Here is the last one :
(Check the releases notes for the previous releases.)
5 May 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.1.1a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/ )

- New major feature ! : Auto mount USB stick folder to a FAT/DOS compatible virtual floppy !

This feature allows you to directly put your files in a stick's folder and mount this folder as a FAT/DOS floppy disk !

You can use it with any machine compatible with the FAT file system (PC, Atari ST, lots of keyboards/samplers and CNC machines...).

To use this feature, copy an empty/preformatted DOS IMG image to the stick path "/mount/emptyfat.img"
This image can be a 720KB or 1.44MB blank DOS image or any other FAT compatible blank image.
You can use the HxC Floppy Emulator software Disk Browser to create it or take the ones present in the firmware archive.

Once you select a "mount source" folder on the emulator, the emptyfat.img file is duplicated to a "MOUNTED.IMG" file.
Then all files/subfolders present into the selected folder are added into this duplicated image.
(Note : the emptyfat.img remains untouched).

Your "mount sources" / root folders should have the extension ".mnt" to be mounted by the emulator :
example : "myvirtualdisk.mnt"

This new feature can be used with the "normal"/direct browsing (oled/lcd screen usage) and indexed modes.
For the indexed mode just put the DSKAXXXX prefix in the mount point folder name.
example : "DSKA0000_MyMidiFiles.mnt"

Please note that the image duplication and files copy operations can take some seconds.
I will try to optimize/speedup the mount operations in the next releases.

Let me know if you have any problems or any suggestions/questions/comments on the HxC forum or by email.

- FAT 12/16/32 layer write support enhanced to create entries (files & folders) and allocate clusters.
https://hxc2001.com/download/floppy_dri ... rmware.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt
czietz
Hardware Guru
Hardware Guru
Posts: 2816
Joined: Tue May 24, 2016 6:47 pm

Re: HxC Firmware for Gotek updates.

Post by czietz »

Jeff_HxC2001 wrote: - New major feature ! : Auto mount USB stick folder to a FAT/DOS compatible virtual floppy !

This feature allows you to directly put your files in a stick's folder and mount this folder as a FAT/DOS floppy disk !
Wow, this is a really interesting major update!
Question: When I "eject" the MOUNTED.IMG, are the files copied back to the source directory on the USB stick? Or is this a one-way operation?
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

17 May 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.1.2a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

- Fix the files extensions display option : you can now also hide the file name extensions in selector/indexed mode.
22 May 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.2.1a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

- HFEv3 : Weakbits support added.
And ! :

New HxC Software version ! : HxCFloppyEmulator 2.1.24.1

https://hxc2001.com/download/floppy_dri ... r_soft.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt
22 May 2019 : HxCFloppyEmulator 2.1.24.1

DEC RX02 M2FM encoding/decoding support added.

HFEv3 : weakbits support added.

Acorn ADF support : regression fixed.
5 June 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.2.3a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

- External/Additional select button support : Behavioural fix -> remove glitch-like effect when selecting images.
10 June 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.3.1a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

- On-die STM32 temperature sensor support : You can get the current CPU core temperature from the embedded menu :
press both buttons to enter the menu. Choose "temperature" or "E " if you have the original 7 segments display.

- Blackberry trackball : Sensitivity reduced/better usability.
Image
12 June 2019 : Firmware STM32 USB HxCFloppyEmulator v3.2.4.1a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)
- Power supply voltage measurement :

You can now see/read the power supply voltage incoming to the floppy emulator.
This feature is quite useful to check the machine power supply state/working condition.
If you want to use this feature you must add this voltage divider to measure
the power supply on the JC jumper input :

VSS/GND|---| 1Ko Resistor |--(JC pin)--| 4.7Ko Resistor |---< 5V Power Supply input.
(See https://hxc2001.com/download/floppy_dri ... onitor.jpg)

Notes :
- Use +/-1% Resistors if possible.
- This voltage divider support up to 18V.

Use the embedded menu to access the system monitor :
Press both buttons to enter the menu. Choose "System Monitor" or "E " if you have the original 7 segments display.

- "Temperature" menu renamed "System Monitor".
HXCFEUSB_HFE_beta_firmware.zip

USB_HFE_hxc_floppy_emulator_firmware_release_notes.txt

Image


Image
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

20 June 2019 : Firmware STM32 USB HxCFloppyEmulator v3.3.1.1a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

New major feature ! : On screen display support (OSD overlay)

The HxC firmware for Gotek now support the On Screen Display !
You can now select images and see the drive status on the machine's screen without any additional software or LCD/OLED !
No need to make holes in the machine case anymore ;).

Image

You only need 2 wires and a resistor to connect the Gotek to the machine's video signals :
One wire is used for the CSYNC video signal (Composite Sync), the other wire for the red, green (prefered) or blue signal.

One resistor must be put in serie on the color signal between the Gotek and the machine.
You can use a value between 220 and 470 ohms for this resistor. A potentiometer can be also used to tune the OSD brightness/contrast.

This was currently tested on Amiga 500, Atari STE and Amstrad CPC 6128 machines, but should work with any machines having a composite sync signal.

HxC Firmware for Gotek OSD wiring

:arrow: Gotek wiring :

Image

(High resolution : https://hxc2001.com/download/floppy_dri ... SD_Mod.jpg)

:arrow: Amiga 500 :

OSD Video out : Gotek U8 Pin 5 (PB15) -> 220 / 470 ohms resistor (or a 1k ohms potentiometer) -> Amiga 500 Ferrite bead E432 (see picture).
OSD Video CSYNC in : Amiga 500 U41 Pin 8 -> Gotek "JTCK-SWCLK" pin (PA14) (near the serial tx programming pin, please see picture).

Image

(High resolution : https://hxc2001.com/download/floppy_dri ... SD_Mod.jpg)

:arrow: Amstrad CPC6128 :

OSD Video out : Gotek U8 Pin 5 (PB15) -> 220 / 470 ohms resistor (or a 1k ohms potentiometer) -> CPC6128 R128 (see picture).
OSD Video CSYNC in : CPC6128 IC116 Pin 5 -> Gotek "JTCK-SWCLK" pin (PA14) (near the serial tx programming pin, please see picture).

Image

(High resolution : https://hxc2001.com/download/floppy_dri ... SD_Mod.jpg)

:arrow: Atari STE :

OSD Video out : Gotek U8 Pin 5 (PB15) -> 220 / 470 ohms resistor (or a 1k ohms potentiometer) -> Atari STE R420 (see picture).
OSD Video CSYNC in : Atari STE R475 -> Gotek "JTCK-SWCLK" pin (PA14) (near the serial tx programming pin, please see picture).

Image

(High resolution : https://hxc2001.com/download/floppy_dri ... SD_Mod.jpg)
HXCFEUSB_HFE_beta_firmware.zip

USB_HFE_hxc_floppy_emulator_firmware_release_notes.txt
User avatar
dma
Atari God
Atari God
Posts: 1221
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: HxC Firmware for Gotek updates.

Post by dma »

Ahahah, amazing. :D
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

22 June 2019 : Firmware STM32 USB HxCFloppyEmulator v3.3.1.2a ( -> In the "WIP_Firmware" Folder and https://hxc2001.com/custom_fw/)

- Fix multi-screens support (OSD + 7 segments screens).
https://hxc2001.com/download/floppy_dri ... rmware.zip

https://hxc2001.com/download/floppy_dri ... _notes.txt
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

And the OSD feature video demo :


https://www.youtube.com/watch?v=SgBVGKGoaVU

:)
User avatar
BlankVector
Atari Super Hero
Atari Super Hero
Posts: 605
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: HxC Firmware for Gotek updates.

Post by BlankVector »

Crazy 8)
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Display a monochrome pixel in assembly language on Atari ST.
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

30 September 2019 : Firmware STM32 USB HxCFloppyEmulator v3.4.9.4a ( https://hxc2001.com/custom_fw/ and WIP_Firmware folder )

- OSD : Default OSD size increased to 21x2 characters.
- OSD : New embedded OSD file selector in full screen mode (21x24 characters).
- Faster scroll text.
Image

Youtube demo : :arrow: https://www.youtube.com/watch?v=Kl1FX8N-ILo

HXCFEUSB_HFE_beta_firmware.zip

USB_HFE_hxc_floppy_emulator_firmware_release_notes.txt

Custom HxC firmware
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

21 November 2019 : Firmware STM32 USB HxCFloppyEmulator v3.4.10.1a ( https://hxc2001.com/custom_fw/ and WIP_Firmware folder )

- Roland machines : w30,s50,s33,s55 files direct support added.

- E-mu ESI / EOS : img,ima,dsk files direct support added.

- New system family raw file support : E-mu ESI / EOS. (7 digits display menu entry -> 01B)

- Autoboot/file selector : Old style HxC config files support fixed. (long names issue)

- QD support : Support malformed third-party QD files.

- OSD : Optimizations.

- Custom firmware page OSD options simplified :
- New resolutions selections : 20x24 and 40x24 characters for PAL/NTSC or 640x480 VGA display types.
OSD 40x24 characters file selector :

Image

HXCFEUSB_HFE_beta_firmware.zip

USB_HFE_hxc_floppy_emulator_firmware_release_notes.txt

Custom HxC firmware
tzok
Captain Atari
Captain Atari
Posts: 302
Joined: Fri Jun 30, 2017 7:22 pm
Location: Bielsko-Biala, PL
Contact:

Re: HxC Firmware for Gotek updates.

Post by tzok »

OSD works great, but only in ST LOW/MED. Technically it could be connected to MONO out, but either to MONO or to COLOR. It also supports separate H+V sync signals, what is not stated here.
Jeff_HxC2001
Captain Atari
Captain Atari
Posts: 392
Joined: Fri Sep 21, 2007 7:35 pm
Location: Paris - France
Contact:

Re: HxC Firmware for Gotek updates.

Post by Jeff_HxC2001 »

tzok wrote:OSD works great, but only in ST LOW/MED. Technically it could be connected to MONO out, but either to MONO or to COLOR. It also supports separate H+V sync signals, what is not stated here.
You need to enable these options. separate H+V sync signals are supported, just rebuild the firmware with the options enabled :
https://hxc2001.com/custom_fw/

("On screen display support (OSD overlay)" section)
czietz
Hardware Guru
Hardware Guru
Posts: 2816
Joined: Tue May 24, 2016 6:47 pm

Re: HxC Firmware for Gotek updates.

Post by czietz »

Sorry for reviving this old thread, but I think the following might be of interest to other people. I recently helped someone connect the OSD option in an STE with modulator. (The photo in the post above https://www.atari-forum.com/viewtopic.p ... 19#p376919 is for a French(?) STE without modulator.)

The solution - confirmed to be working - was to take the CSYNC (composite sync) signal from pin 2 of the MC1377 IC.
Post Reply

Return to “HxC Floppy Emulator”