Giter VIP home page Giter VIP logo

Comments (10)

JiaoXianjun avatar JiaoXianjun commented on May 14, 2024

"after running the project on board and connecting the board to the system via JTAG, the ILAs does not load directly on the Vivado Hardware Manager"

Did you load openwifi-hw/boards/adrv9361z7035/sdk/system_top.ltx to hardware manager? Without this ILA description, you can't see ila.

from openwifi-hw.

kirateys avatar kirateys commented on May 14, 2024

I have tried loading the *.ltx files (system_top.ltx, debug_nets.ltx) in the hardware manager probe files section and refreshing the board. It still says there are no debug cores. I am attaching the screenshot of my vivado hardware manager window.

Screenshot from 2021-08-18 12-11-01

from openwifi-hw.

JiaoXianjun avatar JiaoXianjun commented on May 14, 2024

But in the screenshot, the "Probes file" are empty. Are you sure, you have add the correct file in that place? ("Probes file")

Did you follow this to get system_top.ltx?

In Vivado:

Open Block Design
Tools --> Report --> Report IP Status
Generate Bitstream
(Will take a while)
File --> Export --> Export Hardware... --> Include bitstream --> OK
File --> Launch SDK --> OK, then close SDK

In Linux:

cd openwifi-hw/boards
./sdk_update.sh board_name

To add ila, only mark the signal as debug is not enough. You need to add them manually after synthesis:
screen-2021-08-18-23-42-34
screen-2021-08-18-23-42-47
screen-2021-08-18-23-45-05
screen-2021-08-18-23-45-29
screen-2021-08-18-23-45-41
screen-2021-08-18-23-48-32
screen-2021-08-18-23-48-45

Then re-build the FPGA image, and run ./sdk_update.sh board_name. Pick the .ltx to the hardware manager "Probes file" tab.

from openwifi-hw.

kirateys avatar kirateys commented on May 14, 2024

Hello,

Thank you very much for your time and help, also guiding me through these detailed steps. It was my reading error, for the last 2 builds that I have created, I missed out on the ' ./sdk_update.sh $BOARD_NAME ' step.

Although, now I can see all the ILAs, I am facing a different issue while running the '~/openwifi/fosdem-11ag.sh'. I was trying to debug that but in the meantime, I thought I should update you and see if you see something that's not right.

Issue: I boot up the board, run the '~/openwifi/fosdem-11ag.sh' and in the last few lines, I can also see:

Using interface sdr0 with hwaddr 66:55:44:33:22:25 and ssid "openwifi"
sdr0: interface state COUNTRY_UPDATE->ENABLED
sdr0: AP-ENABLED

But, when I try to look for 'openwifi' on phone or laptop, I can't find the network. I tried original BOOT.bin from the SD-CARD and it works (I am able to connect and load the default hosted page). If I update the BOOT.bin from the project that I have created (with ILAs), I can't find the 'openwifi' on any device wifi networks.

I am also attaching the putty capture using the updated design (with ILAs).

Thanks

putty_openwifi.txt

from openwifi-hw.

JiaoXianjun avatar JiaoXianjun commented on May 14, 2024

Please follow this issue open-sdr/openwifi#90

to debug. Check /proc/interrupts, etc.

Also try not to insert ila, just re-generate our fpga to try.

from openwifi-hw.

kirateys avatar kirateys commented on May 14, 2024

Thank you for your response @JiaoXianjun . I checked the 'cat /proc/interrupts' for the hw-designs (modified: with ILAs and original: without ILAs). I can see the 'sdr,tx_intrpt' incrementing for the original design and not incrementing for the modified design. Would you be able to guess what the issue might be? The only change between both sd-cards here is the BOOT.bin file in the 'BOOT' partition.
I am attaching the putty capture of the 'cat /proc/interrupts' as well as 'dmesg' output for the modified hw-design.

sdr_tx_intr.txt

Thanks

from openwifi-hw.

JiaoXianjun avatar JiaoXianjun commented on May 14, 2024

Have you tried to generate BOOT.BIN withouting adding ila and without any change to the fpga code? Does this BOOT.BIN work?

(Don’t use our original BOOT.BIN. Generate yourself)

from openwifi-hw.

kirateys avatar kirateys commented on May 14, 2024

Ah okay, thanks so much for your quick response. I get what you meant now and I tried that.
First, I tried the original image from you. Then ran the synthesis on the hw-design (without modifications). Generated bitstream and './sdk_update.sh board_name' step. After the board is ON, followed the Update FPGA steps: https://github.com/open-sdr/openwifi#update-fpga
With new BOOT.bin, the project still works fine. I am able to connect to the 'openwifi' network and load the local hostpage.
I am also attaching the putty capture for the new hw-design (without ILAs).

sdr_tx_intr_orig.txt : holds the capture on your original design.

sdr_tx_intr_after_boot.txt : capture after updating the FPGA.

Hope this helps.

Thanks again.

from openwifi-hw.

JiaoXianjun avatar JiaoXianjun commented on May 14, 2024

Now add ila to the working FPGA project you just created, try again.

from openwifi-hw.

kirateys avatar kirateys commented on May 14, 2024

Great, it worked with one ILA. I will try to add more.
Thanks so much for your help and quick responses.

from openwifi-hw.

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.