Gotek floppy emulator

models: SFR1M44-U, SFR1M44-U100K

links

Links: Cortex Amiga Floppy Emulator, flash it with stm32flash (Linux), usbfd script, FlashFloppy,

eBay links

eBay links: 128x32 OLED display, 16x2 LCD I2C display, 1602 LCD display,

more links

more links: HXC2001 - jfdelnero - HxC FE file selector, HxC Floppy Drive emulator, bjt42/hxcfs,

other links

other links: Copying Amstrad CPC discs with a Gotek and FlashFloppy, Newbrain with Gotek,

Amiga links

Amiga Links: overview of Amiga filesystems, Getting files from PC to Amiga, disk images from Linux PC to Amiga, Hombre, Amiga Projects,

History

2019-05-29: rotary encoder - tested with a different one, and now it works. It is connected as the drawing on the FlashFloppy wiki shows.

2019-05-28: rotary encoder -

black - gnd, common
yellow - switch - goes towards zero ohm when pressed
connecting to FlashFloppy (Gotek)
yellow - JA (closest to floppy connector)
black - JA (away from floppy connector)
green - CLK
red - DT

hmm perhaps

yellow = gnd
green = switch
black = CLK
red = DT

but it doesn't work perfectly. perhaps I should try another.

2019-05-28: SFR1M44-U - when properly connected, the OLED display works, too.

2019-05-27: bb - OLED display also works if RES (the RESET pin) is connected to VCC. Good. Connections

gnd - gnd
vcc - 3.3V
d0 - SCL
d1 - SDA
res - 3.3V (vcc)

2019-05-22: the FlashFloppy needs to be jumpered at S1 and JC to be IBM-compatible. Tested the one with 3-digit LED display on my Zeta SBC - it works.

2019-05-19: z30b - OLED display: I tested the OLED display with an Arduino Uno (clone), Arduino IDE 1.8.9 and the included HelloWorld example and the u8glib (U8glib) library (version 1.19.1). The working constructor is U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0);

connections
gnd - gnd
vcc - 3.3V ()
d0  - SCL
d1 - SDA
res - RES
dc - gnd
cs - gnd

without res (reset) connected the display doesn't work. Not tested: connecting res to vcc.

2019-05-14: SFR1M44-U - flash FlashFloppy firmware it took a couple of tries (after swapping TX and RX), but it responds

tingo@kg-bsbox:/zs/tingo/work/bitraf/2019/20190514_enhance_SFR1M44-U$ stm32flash -k /dev/ttyUSB4
stm32flash 0.5

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0418 (STM32F105xx/F107xx)
- RAM        : 64KiB  (4096b reserved by bootloader)
- Flash      : 256KiB (size first sector: 2x2048)
- Option RAM : 16b
- System RAM : 18KiB
Read-UnProtecting flash
Done.

flash it

tingo@kg-bsbox:/zs/tingo/work/bitraf/2019/20190514_enhance_SFR1M44-U$ stm32flash -vw ./flashfloppy-v2.8a/FF_Gotek-v2.8a.hex /dev/ttyUSB4
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Intel HEX
Interface serial_posix: 57600 8E1
Failed to init device.

try again

tingo@kg-bsbox:/zs/tingo/work/bitraf/2019/20190514_enhance_SFR1M44-U$ stm32flash -vw ./flashfloppy-v2.8a/FF_Gotek-v2.8a.hex /dev/ttyUSB4
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Intel HEX
Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0418 (STM32F105xx/F107xx)
- RAM        : 64KiB  (4096b reserved by bootloader)
- Flash      : 256KiB (size first sector: 2x2048)
- Option RAM : 16b
- System RAM : 18KiB
Write to memory
Erasing memory
Wrote and verified address 0x0801a1d4 (100.00%) Done.

ok.

2019-05-14: Bitmart - bought a white monochrome 0.96 inch OLED display (I2C) for NOK 149.-. The circuit-board is a bit higher than the case, but it will work. The display is 128x64. The easiest way to check if it is configured for I2C is to see if R2 and R3 is missing. Controller is SSD1306.

Pins
1 gnd
2 vcc
3 SCL (labeled D0)
4 SDA (labeled D1)
the rest (not used) are
5 /RESET
6 DC - data/command control
7 /CS

I soldered headers to the pins of the SFR1M44-U.

2019-05-13: SFR1M44-U : perhaps we have a rotary encoder at Bitraf, and a OLED display, then I could make this useful with FlashFloppy firmware.

2018-09-20: SFR1M44-U100K - flashing Flashfloppy firmware unprotect

[tingo@kg-elitebook stm32flash]$ stm32flash -k /dev/ttyUSB0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0418 (STM32F105xx/F107xx)
- RAM        : 64KiB  (4096b reserved by bootloader)
- Flash      : 256KiB (size first sector: 2x2048)
- Option RAM : 16b
- System RAM : 18KiB
Read-UnProtecting flash
Done.

flash it

[tingo@kg-elitebook 20180920_flashfloppy]$ stm32flash -vw ./flashfloppy_v0.9.29a/FF_Gotek-v0.9.29a.hex /dev/ttyUSB0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Intel HEX
Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0418 (STM32F105xx/F107xx)
- RAM        : 64KiB  (4096b reserved by bootloader)
- Flash      : 256KiB (size first sector: 2x2048)
- Option RAM : 16b
- System RAM : 18KiB
Write to memory
Erasing memory
Wrote and verified address 0x080176f4 (100.00%) Done.

and when I power it up without the BOOT0 jumper, it shows 'F-F' on the display. Nice. 2018-09-20: SFR1M44-U100K - I tried to flash it, with BOOT0 jumper installed,but both stm32loader and stm32flash refused, so I soldered 10k pull-up resistors (to 3V3) on ther TX and RX line. 2018-09-20: SFR1M44-U100K - I soldered headers to the programming pins.

2017-09-29: new firmware is available: FlashFloppy. Open source, which is nice.

2014-04-29: received notification from the postal service, and picked up the package at my local PIB, RIMI Trondheimsveien. The SFR1M44-U100K model has a three digit display, and two pushbuttons. Plastic is black. For some reason there was three spare screws rattling around in the case. Well, I was going to open it anyway, to have a look at the inside.For some reason, they have fitted the red LED close to the PCB, and not in the hole in the case. The PCB looks identical to the SFR1M44-U model. SFR1M44-U didn't have the red LED, no pushbuttons and no headers for the display.

2014-04-14: I decided that I wanted one with display too, so I ordered a model SFR1M44-U100K from a seller on eBay. Price was AUD 19.94, and shipping was AUD 8.35. About NOK 165.57 total. 2014-04-14: received notification from the postal service, and picked up the package at my local PIB, RIMI Trondheimsveien. The SFR1M44-U model is without display and switches (ok, pushbuttons). Plastic is grey.

2014-04-04: I ordered one Gotek model SFR1M44-U from a seller on eBay. Price was AUD 18.10, plus AUD 7.45 in shipping. Which was about NOK 147.67.