English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 06 August 2017, 22:14   #121
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
Yay, this is exciting news! I'm going to try this myself in a moment, fingers crossed!
SunSpire is offline  
AdSense AdSense  
Old 06 August 2017, 23:14   #122
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by BarryB View Post
Flashed the Bootloader and firmware via USB without any issue.

LCD is scrolling the filenames so you can see which disk is which now
It's not currently much help when actually switching between images with the buttons, as no scroll at that time. I need either to scroll or display a digest of the filename which is smart enough to extract the disk number. Not too hard to do with TOSEC-type naming conventions. eg. digest to "New York Warri:1" for Disk 1 of New York Warriors.
kaffer is offline  
Old 06 August 2017, 23:25   #123
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
Hmm, a few things are still unclear to me (and maybe to others?)

I have placed FF_Gotek-v0.3.0a.upd into the USB stick's root and updated via pressing and holding both Gotek buttons during power on, success!

When I try the same with FF_Gotek-Reloader-v0.3.0a.upd the Amiga gets stuck at the hand/disk screen and the Gotek's green LED blinks continously but only very dimly. Removing or inserting the stick or pressing any buttons has no effect at all.

What is FF_Gotek-Bootloader-v0.3.0a.rld and how is it used?

So reflashing the v0.3.0a.upd gets me back into the file selector, it currently states v0.3.0a as the firmware while fileselector is still v0.1a

Am I missing anything here or am I good to go?


Oh, and it seems that updating to the latest FW via Gotek buttons is only possible when AUTOBOOT.HFE is still present on the stick, I thought I'd mention this since the patched file is not easily available anymore since you updated your google drive link (and it's not in there!) Luckily I had a backup copy on my HDD.
SunSpire is offline  
Old 06 August 2017, 23:42   #124
ch40s_engineer
Registered User

 
Join Date: Jan 2017
Location: Cologne
Posts: 71
you can get the file selector here
ch40s_engineer is offline  
Old 06 August 2017, 23:48   #125
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by SunSpire View Post
Hmm, a few things are still unclear to me (and maybe to others?)

I have placed FF_Gotek-v0.3.0a.upd into the USB stick's root and updated via pressing and holding both Gotek buttons during power on, success!

When I try the same with FF_Gotek-Reloader-v0.3.0a.upd the Amiga gets stuck at the hand/disk screen and the Gotek's green LED blinks continously but only very dimly. Removing or inserting the stick or pressing any buttons has no effect at all.

What is FF_Gotek-Bootloader-v0.3.0a.rld and how is it used?

So reflashing the v0.3.0a.upd gets me back into the file selector, it currently states v0.3.0a as the firmware while fileselector is still v0.1a

Am I missing anything here or am I good to go?

Oh, and it seems that updating to the latest FW via Gotek buttons is only possible when AUTOBOOT.HFE is still present on the stick, I thought I'd mention this since the patched file is not easily available anymore since you updated your google drive link (and it's not in there!) Luckily I had a backup copy on my HDD.
The reloader stuff is just for reflashing the bootloader. You don't normally need to do that at all -- just update the main firmware. You would only update the bootloader to get new features and bugfixes for it (but they are going to be rare). The way it works is:
1. FF-Gotek_Reloader*.UPD is a replacement for the main firmware. Its sole purpose is to overwrite the bootloader with a *.RLD file. Once you have upadted to this UPD file your Gotek no longer operates as a floppy drive.
2. So now you update the bootloader with the *.RLD file. Now your Gotek has the latest bootloader. Yay!.
3. Now to make the Gotek be a floppy drive again, you need to run the new bootloader with the usual FF-Gotek*.UPD file. So you do that. And now your Gotek has the latest bootloader and the latest main firmware.

Anyway you are correct that if the selector software reports version as v0.3.0a then you are done. No problem.

I did forget to put the Amiga subfolder in the release archive. I will do that now. By the way the main source for releases now is the Github releases page: https://github.com/keirf/FlashFloppy/releases

And you do *not* need AUTOBOOT.HFE on your USB stick to be able to do an update with the *.UPD file. The bootloader only looks for and opens one file, pattern FF_Gotek*.UPD.
kaffer is offline  
Old 07 August 2017, 00:18   #126
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,060
kaffer: i build the Disk-Utilities on cygwin32 system and got a problem.
Code:
$ disk-analyse.exe
D:/usr/local/bin/disk-analyse.exe: error while loading shared libraries: libdisk.0.0.dll:
cannot open shared object file: No such file or directory

$ file /usr/local/lib/libdisk.0.0.dll
/usr/local/lib/libdisk.0.0.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
i could fix the makefile to build a static libdisk.a and static linked disk-analyse.exe.
this version does work.
dunno, if it's a cygwin problem only, but maybe you may have a look.
emufan is offline  
Old 07 August 2017, 00:20   #127
Mikerochip
Registered User

 
Join Date: Sep 2016
Location: Ireland
Posts: 19
Send a message via Skype™ to Mikerochip
Quote:
Originally Posted by ch40s_engineer View Post
you can get the file selector here
Can anyone build me a binary of this?
Mikerochip is offline  
Old 07 August 2017, 00:24   #128
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,060
Quote:
Originally Posted by Mikerochip View Post
Can anyone build me a binary of this?
see below.

Last edited by emufan; 07 August 2017 at 00:48.
emufan is offline  
Old 07 August 2017, 00:30   #129
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
kaffer, thank you so much for your detailed explanation. I'm sure this will help others greatly to get started with flashing and operating their own devices!!

I've done some testing with the v0.3.0a FW and can confirm that saving / copying files as well as whole disks (via X-Copy) works beautifully now! YAY!! This is a huge step forward! Next I'm going to try and see if saving music, pictures, audio samples etc. without errors works too, but I guess it should.

I still haven't figured out how to run the Gotek w/o HXCSDFE.CFG though (as in cycling through .adf images in root w/o adding them in the selector first) Hmmm ...
SunSpire is offline  
Old 07 August 2017, 00:45   #130
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by Mikerochip View Post
Can anyone build me a binary of this?
I have added them to the FlashFloppy distribution. I forgot to include them but they are there now.
kaffer is offline  
Old 07 August 2017, 00:46   #131
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by SunSpire View Post
kaffer, thank you so much for your detailed explanation. I'm sure this will help others greatly to get started with flashing and operating their own devices!!

I've done some testing with the v0.3.0a FW and can confirm that saving / copying files as well as whole disks (via X-Copy) works beautifully now! YAY!! This is a huge step forward! Next I'm going to try and see if saving music, pictures, audio samples etc. without errors works too, but I guess it should.

I still haven't figured out how to run the Gotek w/o HXCSDFE.CFG though (as in cycling through .adf images in root w/o adding them in the selector first) Hmmm ...
Just remove HXCSDFE.CFG and FlashFloppy will automatically enter config-less mode.

I have updated the Usage documentation to explain a little better. Live on github and included in the new rollup of the v0.3.0a distribution.
kaffer is offline  
Old 07 August 2017, 01:21   #132
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
When I remove HXCSDFE.CFG from the USB stick the Amiga always boots into the file selector (the Gotek display jumps to #13 no matter which other number I preselected, there are currently 13 .adf files and Autoboot.hfe in the root dir), file selector then outputs "HXCSDFE.CFG not found".

Example filename of an .adf file: 'Deluxe Paint IV v4.1 (1992)(Electronic Arts)(Disk 1 of 3)(Program).adf'
SunSpire is offline  
Old 07 August 2017, 01:37   #133
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by SunSpire View Post
When I remove HXCSDFE.CFG from the USB stick the Amiga always boots into the file selector (the Gotek display jumps to #13 no matter which other number I preselected, there are currently 13 .adf files and Autoboot.hfe in the root dir), file selector then outputs "HXCSDFE.CFG not found".

Example filename of an .adf file: 'Deluxe Paint IV v4.1 (1992)(Electronic Arts)(Disk 1 of 3)(Program).adf'
Can you zip up your USB stick and send it to me (eg zone it).
kaffer is offline  
Old 07 August 2017, 01:43   #134
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
I have not used "The Zone" yet (I'm new! .. will have to read into it), uploading it to my personal server for now. Sending you a PM with the link!
SunSpire is offline  
Old 07 August 2017, 02:01   #135
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by SunSpire View Post
I have not used "The Zone" yet (I'm new! .. will have to read into it), uploading it to my personal server for now. Sending you a PM with the link!
Thanks! Probably just a problem with long filenames.
kaffer is offline  
Old 07 August 2017, 09:26   #136
TimberWolf
Registered User

 
Join Date: Jun 2017
Location: Nibbixwoud/NL
Posts: 4
Kaffer, is it possible to make the LCD backlight not time out, or at least take some time to do so? I've found an option in the selector config but that seems to be ignored. Assuming that the backlight timeout isn't functionality of the LCD itself ofcourse...
TimberWolf is offline  
Old 07 August 2017, 10:37   #137
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by TimberWolf View Post
Kaffer, is it possible to make the LCD backlight not time out, or at least take some time to do so? I've found an option in the selector config but that seems to be ignored. Assuming that the backlight timeout isn't functionality of the LCD itself ofcourse...
In v0.3.0a the backlight respects the HXCSDFE.CFG config value. If you bump the timeout to 255s in the selector config then the backlight will never turn off.

Alternatively you can hexedit the byte at offset 0x18 in HXCSDFE.CFG from 0x14 (20s timeout, default) to 0xff (always on).

In the no-config case the timeout is currently fixed at 20s. I might bump that to say 60s.
kaffer is offline  
Old 07 August 2017, 11:00   #138
TimberWolf
Registered User

 
Join Date: Jun 2017
Location: Nibbixwoud/NL
Posts: 4
Thumbs up

Quote:
Originally Posted by kaffer View Post
In v0.3.0a the backlight respects the HXCSDFE.CFG config value. If you bump the timeout to 255s in the selector config then the backlight will never turn off.
Amazing! Scrolling, and permanent backlight. All I ever wanted, and it isn't even Christmas

Thanks for what you do man. Flashfloppy is a great product, and for free even. Keep up the good work!
TimberWolf is offline  
Old 07 August 2017, 11:19   #139
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 430
Quote:
Originally Posted by SunSpire View Post
When I remove HXCSDFE.CFG from the USB stick the Amiga always boots into the file selector (the Gotek display jumps to #13 no matter which other number I preselected, there are currently 13 .adf files and Autoboot.hfe in the root dir), file selector then outputs "HXCSDFE.CFG not found".

Example filename of an .adf file: 'Deluxe Paint IV v4.1 (1992)(Electronic Arts)(Disk 1 of 3)(Program).adf'
I have just released v0.3.1a to fix this. It was a buffer overrun, I'm not smart enough to use strcpy().
kaffer is offline  
Old 07 August 2017, 12:32   #140
SunSpire
Registered User

 
Join Date: Jul 2017
Location: Germany
Posts: 13
Wow! I hope you get to catch some sleep every now and then Applied the update to my A1200 Gotek, did a test run and it works perfectly.

Your firmware has now reached the point where it becomes incredibly useful! Not having to launch the file selector to re-assign disk images to slots every time - and the ability to add or remove files from the USB stick without reboot makes it so much more user-friendly. Simply awesome!!

But .. one remaining issue I noticed with the A1200 is, that the internal CF hard disk drive initializes faster than the Gotek disk drive, so it boots the installed Workbench before the Floppy image could launch. I don't know if the HDD boot could be delayed or something, but doing a soft-reset will launch the floppy on the second attempt.

Thank You, kaffer, for all your hard work!


EDIT: Now it's my time to get a pair of those 1602 lcd displays and figure out a way to add them w/o modifying the case ..

Last edited by SunSpire; 07 August 2017 at 12:41.
SunSpire is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to open-source SAS/C Hauke Coders. General 35 26 September 2017 23:39
LCD on Gotek (with HxC firmware) christopherpm Hardware mods 1 08 January 2017 03:51
Gotek drive firmware for mounting .iso cd images Ox. Amiga scene 7 05 November 2014 06:14
Gotek drive firmware for Amiga general USB mass storage solution Supamax Amiga scene 2 20 September 2014 09:35
BlitzBasic - Is now open source Djay Amiga scene 2 08 February 2003 02:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:57.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.29755 seconds with 13 queries