Comments (8)
I understand that this is frustrating but unless explicitly limited, open source tends to creep in scope until the maintainers fold. I will preventively limit the scope to avoid that. I think I made the board easily hackable for anyone who wants to do that with the understanding that they are completely on their own.
from glasgow.
To keep my workload as a maintainer manageable I would strongly prefer to avoid supporting any third party frameworks on Glasgow hardware even if it is something as nice as Luna. I will close this issue because of this.
from glasgow.
Thanks @whitequark I was expecting this kind of thing would come to Glasgow with support for external applets, we not expecting this to be in tree. I understand your need to stay focussed. I have some more stuff to document that I'd like to add here (if you don't mind). If nothing else, to aid someone in the future that might want to build usb test on Glasgow.
from glasgow.
Not frustrated, a good call on your part I think.
from glasgow.
The LVDS bank in particular is essentially something that exists because @marcan didn't want any FPGA I/O to go to waste. It is not even going to be 100% tested (I think, this might not be final) and it will go away in future revs.
from glasgow.
Agreed, I used lvds as a PoC for the logic and nothing else. My next comment was to be about resolving whether this is possible for the test interface. I'm not sure it is. Measuring the latency on the direction change would be valuable to other protocols I feel, this was where I was headed.
from glasgow.
(am leaving this here for future explorers).
The real challenge for driving the usb data lines directly with the glasgow test interface will be the direction control on the level converters. I've modified luna to wire out the direction control to pins and used them to drive the test interface (A[0:2]) with this change to the platform definition.
DirectUSBResource(0, d_p="A1", d_n="A2", pullup="B3", d_p_oe="C7", d_n_oe="C8", attrs=Attrs(IO_STANDARD="SB_LVCMOS33")
There are signs of life but it's not clean. The messages are corrupt are the enumeration fails.
[788582.485186] usb 2-4.7.4: new high-speed USB device number 79 using ehci-pci
[788582.593700] usb 2-4.7.4: New USB device found, idVendor=03fd, idProduct=000f, bcdDevice= 0.00
[788582.593704] usb 2-4.7.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
from glasgow.
This is all good for me to hear and understand. I was contemplating putting D+/D- switchable pull-up/down on the Glasgow USB-PD board I'm designing (https://github.com/rwhitby/glasgow-addons/tree/usbp-pd-addon/hardware/usb-pd-addon) but this discussion is now dampening that contemplation and pushing me towards just making the USB-PD board easily connectable to a supported Luna board (Glasgow/USB-PD handles the USB-PD side, Luna handles the USB data side).
from glasgow.
Related Issues (20)
- Installing with Python 3.10 HOT 2
- The `asyncio.coroutine` decorator has been removed in Python 3.11 HOT 4
- Synthesis for `jtag-probe` fails with latest YoWASP Yosys HOT 16
- error: The 'amaranth' distribution was not found and is required by glasgow (install not working) HOT 4
- ImportError: cannot import name 'soft_unicode' from 'markupsafe' HOT 6
- Integrate YoWASP so that it is used automatically HOT 1
- jtag-openocd behaviour doesn't match jtag-svf HOT 5
- Synthesis for applets fails with YoWASP with: ERROR: Assert `ofs.is_open()' failed in ../yosys-src/passes/techmap/abc9_ops.cc:950. HOT 5
- Replace `crcmod` with `crc` HOT 3
- Documentation HOT 1
- PIC MCU ICSP (or Enhanced ICSP) programming HOT 1
- Custom USB Manufacturer String HOT 1
- [RFC] New basis of operation: Reliable Datagram Pipe HOT 18
- JESD3 lexer calculates wrong checksum whenever CR newlines are used HOT 1
- Replace the dependency on `crc` using `amaranth.lib.crc`
- A logo
- Device fails to enumerate when plugged in for the first time on Windows HOT 15
- Instructions in README do not make it possible to build bitstreams on Windows HOT 4
- Glasgow does not gracefully shutdown if the device is unplugged... HOT 3
- Devices may "forget" firmware. HOT 4
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 glasgow.