Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to update GW firmware to .27 or higher ?! #44

Open
gilmod714 opened this issue Jan 1, 2025 · 11 comments
Open

Possible to update GW firmware to .27 or higher ?! #44

gilmod714 opened this issue Jan 1, 2025 · 11 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@gilmod714
Copy link

gilmod714 commented Jan 1, 2025

Hello,

would it be possible to update the greaseweazle FW to 0.27 or higher ? .. the current .22 is too old that the example is based on.. "greaseweazle.ino" .. the current GW fw is 1.6 i think ..

the reason being .. I'm trying to connect the floppy to WinUAE as amiga drive-bridge plugin , and it complains about the old GW fw.. (it works fine on my stm32 board fw1.6) -- but I have too many RP2040's I'd like to put to use ;)

New Bitmap Image

@jepler jepler added the help wanted Extra attention is needed label Jan 23, 2025
@jepler
Copy link
Member

jepler commented Jan 23, 2025

We'd be happy to see support for newer GW messages added, and when they are added we can bump the compatibility firmware version number.

@montyleib
Copy link

Jeff, I think gilmod714 is asking for the Feather Greaseweazle firmware to be updated, which isn't in this repo. Where would one go to help out?

@gilmod714
Copy link
Author

gilmod714 commented Jan 31, 2025

YES .. exactly .. Thanks Montyleib ..

It would also be nice (for completeness) to integrate the "Erase" function as well :)

@jepler
Copy link
Member

jepler commented Feb 4, 2025

The adafruit greaseweazle-compatible firmware is in this repo: https://github.com/adafruit/Adafruit_Floppy/blob/main/examples/greaseweazle/greaseweazle.ino

@montyleib
Copy link

Thanks, Jeff!

I had only found it in keirf's firmware repository, and assumed his is behind this one.

@gilmod714
Copy link
Author

This firmware .ino sketch still reporting GW under ver 0.27 though !

@montyleib
Copy link

montyleib commented Feb 5, 2025

I see 21 (assuming .21) in the code. No one has kept up with keirf, although Jeff has sure been very involved due to his work on Apple floppy code.

I've tried to compare this with keirf's current firmware, and it's done little more than give me headaches. Assuming greaseweazle.ino is modelled after .21, I'll look backward in keirf's code and try to go from there.

(edit) keirf's .31 release is no more understandable to me than his current. I'll diff them to see what he's done.

No promises, though... :)

@gilmod714
Copy link
Author

Any efforts to bring up the current firmware above .27 would be very useful I think :) .. 21 is really-really old FW!

Thanks for your efforts in advance montyleib :)

@montyleib
Copy link

@ladyada set the firmware version in greaseweazle.ino as 1.0 (lines 91 and 92), which is what the Greaseweazle host tools reports when "gw info" is run. Seems curious that WinUAE reports 'too old' and 'need .27 or greater'. I'm suspicious that the device model that is reported (Adafruit Floppy Generic) is the real issue.

I'm currently comparing the blue pill C code between versions, I still need to wrap my head around a) figuring out the translation C->Python and b) make the changes in Python to match the C from .22... it's making more sense daily. :)

@gilmod714 : are you certain that .22 is what WinUAE thinks greaseweazle.ino is? I have keirf's source from .22 to .31 (which became 1.0)

from keirf's Release Notes:

** v1.0 - 26 December 2021

  • Firmware is now released separately from the host tools
  • No firmware changes since v0.31 (apart from the version bump)

@ladyada
Copy link
Member

ladyada commented Feb 9, 2025

@jepler ^ want to take a look in the next few weeks?

@gilmod714
Copy link
Author

gilmod714 commented Feb 9, 2025

@montyleib .. yes, I believe WINUAE thinks that "greaseweazle.ino" is .22 on my RP2040 (I forgot where I saw that exactly, but yeah almost certain that's what it reported, when I was tinkering with it - trying to make it work as a disk plugin)

Thank you for your hard work :) .. and also thank you @jepler & @ladyada

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants