Giter Club home page Giter Club logo

Comments (4)

zOrg1331 avatar zOrg1331 commented on May 27, 2024

Unfortunately, the process of enumerating JTAG is quite difficult to troubleshoot as a lot of things could go wrong.
I would suggest to eliminate as much uncertainties as possible. For instance, try to determine pins assignment using multimeter and some deduction. For instance, TCK pin usually has 33 Ohm resistor on its trace. Do not connect VCC pin.
Try to find if there is a RESET pin there. JTAGEnum may not handle it properly. For instance, your board needs to be in reset state to work with JTAG or the opposite.
Personally, I did not experiment with FPGA SoCs, may be there additional caveats there. :(

from go-jtagenum.

Smokingenius avatar Smokingenius commented on May 27, 2024

@zOrg1331 Thanks for the reply. Unfortunately on 3 different test boards I was unable to get the rPi JTAGenum working. I was able to get the Arduino one working after a long debug session this weekend. Come to find out the FPGA boards needed to be run off the Arduino alone, rather than with an external power supply. Other than the enumerator is missing the Vref line for JTAG, my only assumption is since the board draw is lower than the required 3.3v line supplied by the power supply to the board power line, it was too much noise on the JTAG line for the board to read correctly. I tried the same setup with the rPi, running the target boards off rPi GPIO power, but still couldn't get any sort of response. I even had -pullup -delay-tck 100 and -delay-reset 100000 that I did in combinations of 10 and 10000 steps, respectively.

The go-code looks good. Not sure if you have any other troubleshooting steps for me? The rPi is handing as I have a battery hat to run it, and I don't need a host to drive it, since I have the rPi screen and a keyboard I can tote along.

from go-jtagenum.

zOrg1331 avatar zOrg1331 commented on May 27, 2024

This Arduino you used was 5V or 3.3V?
If you succeeded with Arduino, it means that you now know the correct pinout. In this case you can try something like getting IDCODE with this tool on rPi.
Noise can also be added by rPi itself. It depends how you powered it: USB cable is bad or power supply is too weak. Or this battery hat was used?
Also, powering the whole target board by rPi's GPIO will not always work.

from go-jtagenum.

Smokingenius avatar Smokingenius commented on May 27, 2024

Yes, I do know he pinout now. I will give the IDCODE command a try.

I am using a strong usb micro power supply as it has to drive the screen and the board. I originally started with a digital power supply, which has three sections, using the lowest section which is 3.3v to 5.0v, allowing control on the voltage down to the thousandth of a volt. No response was ever given by rPi with the scan_bypass command to find the correct pinout.

The Arduinos I have are Elagoo Uno R3, and they have a power takeoff pinout with a 3.3v and a 5v line. I was driving the FPGA dev board with the 3.3v line from the Arduino to the 3.3v power in line on the board. I tried this same approach with the rPi to no avail as well, though I did show the board was powered as my volt meter showed the fpga drawing current and proper volts, right at 2.5v for the Vaux lines that run into it.

from go-jtagenum.

Related Issues (2)

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.