Catherine
Catherine
We can quite easily add a `swd-openocd` applet like the existing `jtag-openocd` one, yep.
As fast as the native JTAG applet allows, which is currently 6 MHz due to a temporary limitation while we're migrating from Migen to nMigen.
No idea if OpenOCD can even do the equivalent of that. @wrongbaud may be investigating that; you could take a look too if you want things earlier.
> That being said, if the `remote_bitbang` supported SWD, not much would be needed in the glasgow applet side in order for it to work, am i correct? Correct.
I don't think that would work, `JTAGOpenOCDApplet` can't electrically do SWD if I remember correctly.
IIRC it is done this way because some resources have optional pins, and otherwise you wouldn't have any way to request XDR on a pin if it exists, skipping it...
There's a timeout in the enumeration code which probably needs increasing, but it's at 5 seconds already and I'm somewhat surprised that isn't enough. If it *is* increased significantly then...
I think it would be better to fix the hotplug issue, or perhaps do both.
@RobertBaruch Would you agree with me that this should be the default when you use `reset_less=True` signals? For context, see https://github.com/nmigen/nmigen/issues/270.
> I kind of like the current meaning of `reset_less=True`, where a FF has a reset value on powerup but doesn't get reset by its domain's reset signal. What would...