gotek on-board spi-flash as usb stick

Post Reply
tooty
Posts: 13
Joined: Fri Mar 16, 2018 3:18 pm

gotek on-board spi-flash as usb stick

Post by tooty »

hi, jeff,

is there possibility to use the on board spi-flash serving as usb stick? accordingly the original usb port will be connected to computer as external mass storage device. or even better, you can leave the option into the setting menu(of course we have to install the spi-flash to the empty space by ourselves).

by that, it's very convenient if we only hook up the machine and computer with a usb cable. we can edit the document stored in the flash at the computer side, and machine can draw out the document at machine side.

best regards

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

Re: gotek on-board spi-flash as usb stick

Post by Jeff »

tooty wrote:
Sat Dec 21, 2019 10:36 am
hi, jeff,

is there possibility to use the on board spi-flash serving as usb stick? accordingly the original usb port will be connected to computer as external mass storage device. or even better, you can leave the option into the setting menu(of course we have to install the spi-flash to the empty space by ourselves).

by that, it's very convenient if we only hook up the machine and computer with a usb cable. we can edit the document stored in the flash at the computer side, and machine can draw out the document at machine side.

best regards
All is possible, but is it really interesting ? I mean that this can take me important among of time to achieve this.

tooty
Posts: 13
Joined: Fri Mar 16, 2018 3:18 pm

Re: gotek on-board spi-flash as usb stick

Post by tooty »

actually i'm thinking of possibility of freeing the usb port to wifi adapter so that the computer in the office can transfer the document to the gotek via network...
Jeff wrote:
Sat Dec 21, 2019 11:03 am
tooty wrote:
Sat Dec 21, 2019 10:36 am
hi, jeff,

is there possibility to use the on board spi-flash serving as usb stick? …

by that, it's very convenient if we only hook up the machine and computer with a usb cable. we can edit the document stored in the flash at the computer side, and machine can draw out the document at machine side.
All is possible, but is it really interesting ? I mean that this can take me important among of time to achieve this.

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

Re: gotek on-board spi-flash as usb stick

Post by Jeff »

tooty wrote:
Sun Dec 22, 2019 12:10 pm
actually i'm thinking of possibility of freeing the usb port to wifi adapter so that the computer in the office can transfer the document to the gotek via network...
Then there is already something working : Use an RaspberryPi Zero-W to emulate an usb stick. And connect to the RPi to update the virtual stick content. Tried it some years ago and this is working fine ! :D

:arrow:
Jeff wrote:
Mon Jul 23, 2018 4:05 pm
This is interesting because this is exactly what i tried some weeks ago, this setup works perfectly with the HxC firmware for gotek.

Attached is the proof-of-concept i made for the tests.
Basically all files added by FTP is automatically added to the the virtual usb stick.
hxc_stick_emu.zip
(1.01 KiB) Downloaded 97 times
I used my custom Linux setup/build to have a faster boot on the Raspberry Pi :

https://github.com/jfdelnero/LinuxFromScratch
https://github.com/jfdelnero/LinuxFromS ... o_w/config

I plan to add the HxC Software/library into the Raspberry Pi to convert on the fly all the currently non-supported images + the direct FAT images generation from a network drive.
This is something i already tried some years ago :

https://www.youtube.com/watch?v=R9wGYqrM-68
https://www.youtube.com/watch?v=4CC7_IDqVnQ
https://www.youtube.com/watch?v=wJEekEhZtD8
hxc_stick_emu.zip
(1.01 KiB) Downloaded 97 times

tooty
Posts: 13
Joined: Fri Mar 16, 2018 3:18 pm

Re: gotek on-board spi-flash as usb stick

Post by tooty »

wow! i'll try it some time. many thanks.
Jeff wrote:
Sun Dec 22, 2019 4:13 pm
tooty wrote:
Sun Dec 22, 2019 12:10 pm
actually i'm thinking of possibility of freeing the usb port to wifi adapter so that the computer in the office can transfer the document to the gotek via network...
Then there is already something working : Use an RaspberryPi Zero-W to emulate an usb stick. And connect to the RPi to update the virtual stick content. Tried it some years ago and this is working fine ! :D

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

Re: gotek on-board spi-flash as usb stick

Post by Jeff »

tooty wrote:
Fri Dec 27, 2019 2:10 am
wow! i'll try it some time. many thanks.
BTW i think i will prepare a dd image of my RPI Zero W sdcard. It is currently working as an access point but the network setting can be changed as you want .

agent29
Posts: 57
Joined: Sun May 08, 2016 10:42 am

Re: gotek on-board spi-flash as usb stick

Post by agent29 »

I have a few old unused RPi model b's with 256mb.

I would be quite interested in an image, Im not particularly clever with software and only have a rudimentary understanding of command line but would find it a great help to network the emulator.

Would it be possible and or feasible to network multiple HXC devices through a hub of some kind?

regards

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

Re: gotek on-board spi-flash as usb stick

Post by Jeff »

agent29 wrote:
Fri Jan 17, 2020 11:33 am
I have a few old unused RPi model b's with 256mb.

I would be quite interested in an image, Im not particularly clever with software and only have a rudimentary understanding of command line but would find it a great help to network the emulator.
Thanks to remind me this. I will prepare a DD image.
agent29 wrote:
Fri Jan 17, 2020 11:33 am
Would it be possible and or feasible to network multiple HXC devices through a hub of some kind?
The most standard way is to setup check RPi Zero as wifi client and make them to connect automatically to an access point. Then each "HxC Gotek" will be reachable through the network.

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

Re: gotek on-board spi-flash as usb stick

Post by Jeff »

This is finally done :

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

Use the usb device port to connect the Raspberry Pi Zero W to the Gotek.

You can access the virtual stick through Wifi. The Raspberry is by default an access point. (HxC2001_RPIZeroW SSID)

The following services are enabled in the image :

IP : 192.168.100.1

Samba/Windows Share -> login : data, password : data
ftp -> login : data, password : data
ssh -> login : data, password : data / login : root, password : root
http -> just a test page for the moment.

I will document and make further developments on this new powerful Gotek companion.
:)

Post Reply