-
Notifications
You must be signed in to change notification settings - Fork 60
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
Restoration of DFU bootloader #57
Comments
I also tried this bitstream with the same result |
That should be all that's needed to load the bootloader via JTAG. Are you holding the button when connecting USB? That's needed to "stay" in the bootloader, otherwise it tries to run the user application. |
yes @gregdavill I am pressing |
@jrsa did you figure this out? I'm planning on building a board from scratch and want to ensure i can get the bootloader functioning |
@CCampbell71 I gave up since I have other ECP5 dev boards, but I'm guessing I bricked mine somehow while trying to fix this issue (which of course originated with my mistake) Good luck with the build! |
@jrsa oh no! @gregdavill on a freshly assembled board, I should be able to flash the bootloader via JTAG? The prebuilt one in your repo? |
It should be all that is needed. That is what's loaded onto the boards during their assembly QC. The JTAG interface is part of the FPGA and is always available to load gateware, The bootloader project should still run and compile too, if you needed to change the behaviour around the btn0 input. |
I made the regrettable mistake of overwriting the DFU bootloader by leaving out the "offset" parameter when invoking
dfu-util
and I am trying to restore it via JTAG with an FT2232H breakout board, and theecpprog
tool. I have the 25F variant, revision 0.2.1.I tried flashing the bootloader bitstream from here and get the following output:
That seems... good. However after the device resets there is a red breathing pattern on the RGB LED and no DFU device shows up. I am assuming the red LED indicates an error with the bootloader. The result is the same whether I plug in the device with the button pressed or not. I am successfully able to load the blink example in this manner so I think my process for uploading a bitstream to flash is OK. My only other idea is that I am using the wrong bitstream for the hardware I have, but I don't see any on github that might be a closer match.
The text was updated successfully, but these errors were encountered: