sbobrowicz

Forum Managers
  • Content count

    319
  • Joined

  • Last visited

  • Days Won

    22

sbobrowicz last won the day on December 29 2017

sbobrowicz had the most liked content!

7 Followers

About sbobrowicz

  • Rank
    Prolific Poster

Profile Information

  • Gender
    Male
  • Location
    Pullman, WA

Recent Profile Visitors

3710 profile views
  1. Best software to program an Arty board

    You can use the microSD card on the Arty Z7 for both boot and application data. I recommend following the HTTPServer example included with the PmodWIFI for a great example of how to access data that is stored on the microSD card from your application. That demo hosts a webserver found on the microSD (maybe that is the same thing you want to do... ) . If you wanted to boot from SD card while also using the SD card to hold the webserver, you would just put the BOOT.bin file directly next to all of the webserver files and it should work fine. If you still don't want to use SD for boot for some reason, it is also possible to boot from the onboard Quad SPI flash, but that is typically less convenient to program than a microSD card.
  2. Best software to program an Arty board

    Hey @tester11, Lets clean up the history really quick because I feel like I am unclear on something still: 1) Are you using the Arty Z7-10 or the Arty Z7-20? I can provide some links to petalinux materials, but before I do that we should make sure that is the right route for you... I think this will be determined by how you want to do your Wifi, as Dan suggested above. Really, if you are locked down with the Pmod Wifi, then I actually recommend you use baremetal (no Petalinux) instead, because that wifi module only works with our bare metal TCP/IP stack (not the Linux stack). If you are OK with using a USB wifi dongle instead, then that opens you up to Petalinux. Here is a breakdown of the different experiences you will have integrating Wifi into your project if you go bare metal vs. petalinux: Petalinux Hardware: USB Wifi Dongle System setup: Medium-Hard. You have to build a linux system and load it onto an SD card. If your needs for the system are not very advanced (e.g. not a lot of third party software), this is easier. The process can be difficult if you run into problems or need to do something that is not typical. Good news is this process is well documented for the Arty Z7-20 by digilent with complete petalinux docs from Xilinx. Additional help provided on this forum. Network Software Development: Easy. You can use the third-party networking library of your choice. Basically the experience will be the same as if you wanted to write a simple networking program that worked on a Linux PC. Bare Metal Hardware: Pmod Wifi System Setup: Easy. Export to SDK, use the demos included with our Pmod Wifi IP core. Software is developed directly in Xilinx SDK and and can also be programmed/debugged on the hardware directly from this tool. Easy to generate an SD card image with your final program too that will run right when the Arty Z7 is powered on. Digilent has several tutorials for this available here: https://reference.digilentinc.com/reference/programmable-logic/arty-z7/start . You should check out the Getting started with Vivado IP Integrator and then Getting Started with Digilent Pmod IPs. Network Software Development: Medium-Hard. You will need to modify the bare-metal examples to satisfy your application requirements. If you are comfortable with bare-metal (think Arduino-like, but without all of the fancy C++ libraries) programming, this should be approachable for you. The fact that Xilinx SDK has a good integrated debugger will be helpful for you to debug this application as it is running. Based on those description, which route would you choose?
  3. Modifying the HDMI out of ATLYS HDMI DEMO SPARTAN 6

    Are you needing to operate on the video stream at the same rate it is coming in (lets say framerate of ~60Hz), or is it ok to operate on the frame at a slower rate (Lets say ~0.1Hz framerate). This is important because your needs indicate whether you should do the detection in microblaze software (easier, but slower) or in the HDL (harder, but faster).
  4. Arty-Z7-20 board

    You fix that issue by downloading the project using git command line: git clone --recursive https://github.com/Digilent/Arty-Z7-20-base-linux.git Alternatively you can manually download the vivado-library repo from our github and copy it into the repo folder of that project. The reason this is necessary is that the vivado-library repo that holds those custom IP is included with the project as a git-submodule, and github's download ZIP button does not automatically pull in submodules. Edit: regarding releasing a different project that is more simple, that would also require the release of a new petalinux project. We can really only maintain so many projects, we chose to provide the more feature full one and then to let people try removing things they don't need.
  5. Arty Z7 HDMI out demo: no output

    Yes, 1080p is out of spec for the serdes and some of the clocking infrastructure. We include it in the project because in our experience 1080p will work on the output side most of the time (I personally have not had any issues with it across many different boards and monitors). We can add a note to the wiki for the project
  6. Petalinux on genesys2

    I've had very little experience with microblaze and petalinux, but I documented the way I got it to work on our Arty S7 board here (I used Petalinux 2017.2): https://github.com/Digilent/Petalinux-Arty-S7-50#arty-s7-50-petalinux-bsp-project It looks like I used the following petalinux-package command: petalinux-package --boot --force --fpga download.bit --fsbl none --u-boot --kernel --flash-size 16 --flash-intf SPIx4 Reading my notes on the linked site above, it looks like I wasn't able to get the Petalinux tools to generate a download.bit file properly. I chopped it up to the tools having limited support for the Spartan 7, but the problem could be endemic to all devices and I just couldn't figure out how to get the feature to work correctly. Either way, you can try my work around, which was to generate download.bit in SDK separately using the .bit and fs-boot.elf.
  7. Arty-Z7-20-base-linux

    That project doesn't have an official release package, so you need to download it from a git shell using the following command: git clone --recursive https://github.com/Digilent/Arty-Z7-20-base-linux.git The reason this is necessary is because the project contains the vivado-library IP repo as a git sub-module. The github "Download ZIP" button does not correctly include sub-modules. The .bsp file is imported into the petalinux toolset in order to create a petalinux project that properly works with this block diagram. For more information on this, see the README for the Arty Z7-20 petalinux project: https://github.com/Digilent/Petalinux-Arty-Z7-20#generate-project .
  8. Making SDSoC platform for Arty Z7

    @dai, Update, I am still actively working on the platform. It's been a long road filed with many more "quirks" and bugs than I was expecting, but I'm in the middle of troubleshooting what I hope are the last couple issues with the Live I/O demos. The File I/O revision demos are working. Likely the release date is prior to December 15.
  9. Is The Zybo Image Processing From Sources Tutorial Ready?

    Yes, I used the weighted method for converting to gray scale. I did it using integer math, which makes it a bit more complicated, but basically I just multiply each color by (W*256), then divide the result by 256. This allows the avoidance of floating point arithmetic.
  10. The USB type A (the USB OTG) is not working

    That demo is created for the Arty Z7-10, not the Zybo Z7-10. The binaries will not work work on your board for many reasons, most important the oscillators and DDR is very different between the two boards. I was recommending that you look at the Zybo Z7-20 source and see if you find anything that gives you a clue what is not working with your project.
  11. Petalinux Kernel module

    This is a very general Linux question about how kernel module compilation works, you might have better luck looking around some general linux forums. I also don't know if I really understand your question. If you are just trying to use some macros you defined in a header for your kernel module in a program you are trying to compile in user space, just copy them over to another header and use them. If you are trying to access any variables or functions that are compiled into your module, you can't do that from user space. You can only access kernel resources (resources in your module are kernel resources) through system calls. You might need to do some research on kernel driver development, this is the book I learned on: https://www.amazon.com/Linux-Device-Drivers-Jonathan-Corbet/dp/0596005903/ref=sr_1_1?s=books&ie=UTF8&qid=1510103029&sr=1-1&keywords=linux+device+drivers . I believe it is available for free online.
  12. NetFPGA SUME +FMC

    Unfortunately I cannot verify if that product is designed in a way that will work with the SUME. We don't support the use of third party FMC mezzanine cards. Often they will work as long as the card can operate at 1.8V and doesn't use any pins that are not connected on the SUME. It is left up to you to get your software working. If I had to bet, I would guess the netFPGA example isn't working because of a clocking issue. If you are using the GBT clocks coming from your card instead of the onboard clock, use an oscilliscope to ensure they are operating at the same frequency. If you are using the onboard clocks, you might need to use the ones coming from the card due to routing concerns, but I am not positive on this. I am asking our test team of a good method to get your FMC connector fully tested in the field, so we can ensure this is not due to a defective SUME.
  13. The USB type A (the USB OTG) is not working

    K, let's focus on the USB and circle back to the MAC address. Quickly, a bit of background info: the Basys 3 will cause your USB drive to light up because there is a dedicated PIC24 microcontroller on that board that is communicating with it, regardless of what the FPGA is doing. On the Zybo Z7, the Zynq is in direct control of the USB host port, so it will only cause the drive to light up if the Zynq software is working correctly. Now is when I would typically point at our Petalinux demo for reference and to see if you can get the pre-built files to work, but unfortunately it is not scheduled to be completed for the Zybo Z7-10 until next week. When it is completed it will be posted here: https://reference.digilentinc.com/reference/software/petalinux/start What version of Petalinux are you using? That will determine what your device tree needs to look like to get the USB working. Depending on the version you are using, you might be able to refer to the the Zybo-Z7-20 project available at the link above. It properly configures the Zybo Z7 USB to work with Petalinux 2017.2
  14. The USB type A (the USB OTG) is not working

    Thanks Jon, I meant JP2. I made a couple modifications to your system.dts file, please give it a try and see if that fixes USB host system.dts . Note you should also replace the local-mac-address property with the MAC address found on the white sticker on your board.
  15. The USB type A (the USB OTG) is not working

    Quick question... have you shorted the jumper labeled HOST (JP1)?