-
Notifications
You must be signed in to change notification settings - Fork 94
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
Host semi-recognizes (but not enough) bootloader USB device #74
Comments
I just tried on a Linux host and it errors out as well. The errors seem to hint at the same kind of problem - the device isn't responding like it should during init.
|
I am observing the same behaviour on a custom iCE40 development board. I have programmed the board using After disconnecting the programmer and plugging in the USB to the FPGA board, the board demonstrates the expected behaviour; i.e. the on-board LED slowly blinks and the USB pull-up is asserted. On the host PC side I observed the same log messages as above. Using an oscilloscope to measure the D+/D- lines, I was able to observe that the bootloader does not accept the address assigned to it. This is further evidenced by the fact that the test for USB address setting fails. In brief, there is a regression that results in the bootloader being unusable as of commit #97f6353540bf7c0d27f5612f202b48f41da75299. |
Latest commit to pass tests that I found is a625448. This commit does not appear to work on hardware, however. |
FWIW, I received as second TinyFPGA-BX from Mouser and it displays the same exact issue. |
I ran into the same issue. The work-around was to put a hub between the PC USB port and the TinyFPGA-BX. |
(Hopefully this is the right place to file this.)
I just got a TinyFPGA-BX, put the thru-hole headers on it, and connected it to my FreeBSD 13.2 desktop. The power LED turns on, the boot LED starts blinking, but the FreeBSD kernel doesn't like what it sees (see syslog copy & paste below). From my very limited knowledge of USB, it looks like mid-way through USB device setup, the device (IOW, the bootloader on the BX) refuses to or times out during the "set address" portion of initialization. The host or device disconnects and reconnects, and then the whole thing happens again.
Because the device isn't fully initialized, the kernel doesn't let userspace applications use it.
Probing the SPI pins during power on, I see the serial clock and data moving between the SPI flash and FPGA.
The text was updated successfully, but these errors were encountered: