Coder Social home page Coder Social logo

Comments (12)

trabucayre avatar trabucayre commented on June 21, 2024

It's strange in my side:

  • with the de0nano board (onboard usb-blaster) everything work well
  • with my external usb-blasterI and a spartan7 or an ECP5: openFPGALoader is unable to detect the FPGA.
    I suspect my setup to be wrong (bunch of wire between the usb-blaster's connector and FPGA). I will doing a clean adapter before continuing to try to find an issue in the code.
    Thanks to point this issue

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

Okay.
I've fixed my hardware (it's just cleaner but it's now work).
With spartan7 I've fixed an issue -> it's work again
With ECP5 it's more strange. Seems to be unstable. Sometime idcode is okay, sometime no.
And now, after a wrong electrical connection my colorlight is just dead.
Need to order a new one before continuing...

from openfpgaloader.

ranzbak avatar ranzbak commented on June 21, 2024

Okay, is there something I can do with my hardware to help the debugging process?

from openfpgaloader.

ranzbak avatar ranzbak commented on June 21, 2024

I've tried it with the latest source code, I still get an error, but a different one this time.

openFPGALoader -c usb-blaster --bitstream blink.bit
Open file blink.bit DONE
Parse file DONE
Enable configuration: problem -1 written 64
problem -1 written 65

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

Sorry for the delay.
Waiting to receive my new colorlight I've tried with an ecp5_evn. First interresting thing is no more random idcode, I suspect pullup and pulldown are mandatories.
But I'm unable to load bitstream. I need to investigate.
The most surprisingly this is: I have tested usb-blaster with 3 different ECP5 based board succesfully and now It's not working anymore.

For your second problem have you connected both GND ? Have you access right for the probe?

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

I've fixed an issue, now openFPGALoader works with ecp5_evn, but I want to wait to have finish a serie of test (orange crab, spartanEdge and de0nano) before pushing this to avoid noise in the repository.

from openfpgaloader.

ranzbak avatar ranzbak commented on June 21, 2024

Is there a way I can have your current changes? I would like to confirm that it works for my hardware setup too.

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

in https://github.com/trabucayre/openFPGALoader/blob/master/src/usbBlaster.cpp#L264
change:

_in_buf[_nb_bit++] = mask | mode;

by

_in_buf[_nb_bit++] = mask;

It's works for ecp5_evn (pull resistors) but not for orangecrab (not pull resistors) and introduce an issue for spartanEdge.
I review the full implementation.

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

I've push my full fix for usb blaster.
Tried with spartan7, 2 different ecp5, de0nano.
Could you try with colorlight please.

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

@ranzbak

from openfpgaloader.

ranzbak avatar ranzbak commented on June 21, 2024

Hi,
thank you so much!
I can confirm that programming works now.
No more errors or warnings.
The issue can be closed, if that's okay with you.

from openfpgaloader.

trabucayre avatar trabucayre commented on June 21, 2024

Great news !
Thank for your tests.
It's okay to close this issue.
Thanks again

from openfpgaloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.