-
Notifications
You must be signed in to change notification settings - Fork 239
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
Add ILAs to the HW-Design #39
Comments
"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. |
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:
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 |
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. |
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. Thanks |
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) |
Ah okay, thanks so much for your quick response. I get what you meant now and I tried that. 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. |
Now add ila to the working FPGA project you just created, try again. |
Great, it worked with one ILA. I will try to add more. |
Hello,
I am working with the boards 'ADRV9361-Z7035 + ADRV1CRR-BOB' and was successfully able to create 'openwifi' SSID, connect to it and load the local host page through phone. I am now trying to add some ILAs to the HW-Design inside the openwifi-ip based on the module inputs 'adc_clk' and 'm_axi_mm2s_aclk' clocks.
Our image is used directly or you build your own image?
Yes, your image is used directly.
What is your own modification?
Added some ILAs inside the openwifi-ip. If I just use the 'adc_clk' and 'm_axi_mm2s_aclk' clocks for the ILAs, 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. If I try to program the board from Vivado, then I can see the ILAs but I am getting errors in running the openwifi_ap '~/openwifi/fosdem-11ag.sh' on board.I believe the issue here is that I need some free-running clocks for ILAs. Can I get some help on this? Also, can you please confirm some things as my understanding is that 'adc_clk' is 100MHz and 'm_axi_mm2s_aclk' is 200MHz for the 'openwifi_ip'?
Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
UBUNTU 14.04
VIVADO 2018.3
Latest GitHub commit: 868aad3
Board/hardware type
'ADRV9361-Z7035 + ADRV1CRR-BOB'
WiFi channel number:
TX1A/RX1A
Steps to reproduce the issue, and the related error message, screenshot, etc
Add an ILA inside the openwifi-ip, with 3 inputs: 'dac_ready', 'dac_valid' & 'dac_data' and clock input 'adc_clk'. Mark all 3 inputs as 'debug'. Synthesize the design and follow the same steps for the 'ADRV9361-Z7035 + ADRV1CRR-BOB/FMC' project. Connect the board to the system with Vivado via JTAG cable, open Vivado Hardware Manager and 'auto-connect' to the board. Once the board is loaded, ideally, it should also load ILAs on the Vivado Hardware Manager. But, I can't see those so I think, I need free-running clocks coming from the board that is same as the 'adc_clk' frequency.
Thanks
The text was updated successfully, but these errors were encountered: