Comments (9)
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.
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.
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:
Currently it looks randomish... And making GW "that" will definately ease wiring alot, and make whole hw setup less messy.
from greaseweazle.
from greaseweazle.
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.
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.
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.
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.
Could A8/A9 be used for the other drive select and motor signals?
from greaseweazle.
Related Issues (20)
- Question about "Unknown Mark" HOT 1
- Unable to write ADF files with verify left on HOT 4
- Explicit sector size not supported/working HOT 5
- SugarConvDsk's .IPF images do not report write splice HOT 4
- TrDos for ZxSpectrum. HOT 2
- Easy way to test floppies HOT 1
- Format td0 : not able to create a disk HOT 6
- Issues reading and writing SCP files to 640KB CP/M disk HOT 2
- 8" Floppy: extra empty tracks in the image HOT 3
- PC disk types HOT 1
- Non-zero-indexed track numbers not handled correctly HOT 6
- Is a Blue Pill definitely fake if it fails Blinky? HOT 17
- NoIndex HOT 18
- Need help reading 5 1/4" Monkey Island 1 360k floppies HOT 1
- gw seems to ignore rpm= when writing to 5.25HD diskette HOT 8
- Add syzygy diskdefs for TRS-80 M1 HOT 6
- Redefinition of _FORTIFY_SOURCE HOT 2
- error: externally-managed-environment HOT 8
- OS9 Configuration HOT 6
- 5.25 loppy drives with density pin HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greaseweazle.