Git Product home page Git Product logo

Comments (9)

keirf avatar keirf commented on August 9, 2024

No reason why not really. Most of the pin-specific stuff is at the top of src/floppy.c. Gotchas I can see:

  • Not all your pins are on GPIOA so you will need to be more flexible than my single 'gpio_floppy' defn.
  • INDEX gets configured for an EXTI IRQ. Yours is on PA0 so you need to adjust the EXTI init appropriately, and your IRQ number will be different.
  • The timers and DMA channels for RDATA/WDATA will be different. That's mostly abstracted at the top of src/floppy.c but the code currently assume two separate timers, whereas you are on two channels of the same timer. It shouldn't much matter, but you'll have to juggle the init/deinit code to do a fuller initialisation when switching between read and write mode.

from greaseweazle.

roybaer avatar roybaer commented on August 9, 2024

Nice! That should be doable. I'll have a look in the near future.

The use of two different GPIO ports was mostly for routing reasons. The board is only 19mm × 48mm, after all.

from greaseweazle.

Volutar avatar Volutar commented on August 9, 2024

Sorry for making comment in this (closed) issue, but I think this question doesn't deserve its own, and practically related to this.

So question is:
Is it possible to rewire blue pill differently (according microcontroller pin reassignment), to minimize "dupont wiring", so it will be possible to adjust STM32 firmware?
To something like this:
image

Currently it looks randomish... And making GW "that" will definately ease wiring alot, and make whole hw setup less messy.

from greaseweazle.

drdpj avatar drdpj commented on August 9, 2024

from greaseweazle.

Volutar avatar Volutar commented on August 9, 2024

You need to see which pins are 5V tolerant... Not all of them are!

There is only one pin on this side of blue pill, which is not 5v tolerant - B5, and it's "not connected". We can unsolder this pin in the worst case (and probably this could be needed for 5.25", since they use pin 6 for Drive D).

from greaseweazle.

keirf avatar keirf commented on August 9, 2024

A11 and A12 are USB. A9 and A10 are for serial (ie at least I use them!). It is not tenable long term to expect users to connect dirdct to the pill. Adapter boards will happen. They will be very cheap.

from greaseweazle.

Volutar avatar Volutar commented on August 9, 2024

Well, it’s a bummer. While A9/A10 can get some workaround, A11/A12 are not usable :(
People with dozen of disks to capture hardly gonna order adapter boards. I’m sure >90% of users are not longterm (and even if longterm, tend to be more sporadical), and will use temporary mishmashed dupont cable setup (and already using it). So at least some wire rearrangement ( in order to lessen crossing) would be appreciated.
Thanks for the answer!

from greaseweazle.

keirf avatar keirf commented on August 9, 2024

Those people will just have to put up with a slight Dupont mishmash to save a couple of quid. It's not actually that bad anyway.

from greaseweazle.

dwillmore avatar dwillmore commented on August 9, 2024

Could A8/A9 be used for the other drive select and motor signals?

from greaseweazle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.