Clyde

Members
  • Content Count

    51
  • Joined

  • Last visited

Everything posted by Clyde

  1. UG585 talks of a serial interface for JTAG... but this seems like a very difficult way to go. Writing HDL to access the XADC in parallel is well described in UG480. Configuring the block in the IP configurator makes the HDL to drive it very simple. The HDL example in UG480 is far more complicated than it needs to be, as the IP block can be completely configured in the IP configurator. I had a simple example of the parallel mode, but I broke it. Perhaps I will dust it off and fix it. Clyde
  2. Yes, it is a Zynq platform... I do assume you have the AXI-lite bus hooked up ;<} I wired stuff up thinking I needed to before I saw the code examples. I have some reading to do for sure. Thanks again. Clyde
  3. Somehow my first reply to the above got lost. I see it now, and thank you. I dismissed the mss page examples because my simple attempt of reading the buttons and driving the LEDs was thwarted because the example code did not show how to read the buttons. I am beyond that now. Could you please post how you hooked up the XADC? have CONVST coming out of a GPIO port and EOC going in, which seems reasonable to me. Clyde
  4. All of the system.mss files I have on my system are 5k bytes or smaller, so I don't quite get what to do with them. I don't have any project that has anything like your "ps7_xacd_0 xacd_ps xadcps_polleded_printf_example.c" in it, so I am lost finding anything similar. What I mean by kicking it up a notch is is to do some real world measurements, scale format the numbers and print them with printf. All I have right how is a 7 segment display and one channel at a time. Perhaps you could kindly point me a little closer? Clyde
  5. Hi, I did not find much of anything with system.mss. I am well familiar with using the DRP and HDL to access the XADC, now I am just trying to kick it up a notch an do it in C. Perhaps there is something I have missed. Clyde
  6. Is there an example of simple bare metal code for accessing the XADC? This poster did it, but it wasn't what he really wanted: https://forum.digilentinc.com/topic/12613-program-code-on-petalinux/ Clyde
  7. Clyde

    Digilent Github Demo

    That was it! I am on my way now and thank you. One quick question about the SDK, sometimes I loose the project explorer window where I may see the source files and I can't figure out how to get it back. I have poked around in the menus, but nothing seems to help. Clyde
  8. Clyde

    Digilent Github Demo

    The box it came in says Zybo Z7. Project part in Vivado says Arty Z-7. I do not have JB. Looks like a smoking gun here. Perhaps I picked the wrong board. Lemme look. Clyde
  9. Clyde

    Digilent Github Demo

    Yes, you are correct. It is the ARTY Z7-10 board. No JB. HDMI port. Attached is the block diagram and a screen shot from the output of the implementation showing that the pins are incorrect. I created the exact same project on my ARTY A7-35T with a Microblaze processor. Identical source code. In the A7, the design works. Buttons pressed light up the LEDs and the report to the terminal shows the digital value of the key press(es). With the Zynq, all I get are the terminal messages. Clyde forum_2020-04-22.pdf
  10. Clyde

    Digilent Github Demo

    I opened the implemented design and did a file export constraints. When I look in that file, the pin assignments are wrong for the LEDS and buttons. I just reinstalled the board files again, fresh, and no difference. Are the files on Github up to date? Clyde
  11. Clyde

    Digilent Github Demo

    The arrangement of the buttons and LEDs is correct. Buttons on GPIO and LEDs on GPIO2. Clyde
  12. Clyde

    Digilent Github Demo

    Ok, Somehow the processor clock was wrong and now is at 33.333 MHz and messages come out the terminal. However, the reading is always 0x00000003 and no LEDs light up. To me, it makes me think the pin assignments for the GPIO are incorrect. Is this supposed to work with buttons 3:0 and LEDs 3:0? Clyde
  13. Clyde

    Digilent Github Demo

    Well, I was able to follow everything and build the hardware and software, program the FPGA and launch the code. No errors and all indications are that things are just fine, except nothing happens. As best I can tell, the software is not running. I added this line to the main xil_printf ("\rSign on, software running."); and nothing comes out of the terminal interface. Yes, I did include the bitstream when exporting the hardware, and the FPGA programmed light does come on. With no experience with the debugger, I hit suspend and it looks like the uart is stuck trying
  14. Clyde

    Digilent Github Demo

    Does an example like this exist for either the Arty or Zbyo with the Microblaze processor? I have been struggling to find an example of reading from the buttons and writing to the LEDs. I have the terminal Hello World running, it is the GPIO calls I am stumbling with. In the reading, there is talk about "channels". Is this because the GPIO IP block may have two ports? If so, why not just call them ports? Clyde
  15. Worked fine. There was another post with instructions on loading the driver which worked perfectly Here:
  16. Hello, If I want to use Vivado under linux and program the FPGA, is it a requirement to have an external JTAG programmer such as this device: https://www.digikey.com/product-detail/en/digilent-inc/6003-410-011/1286-1100-ND/4090119 or is it possible to program via the USB port like I do with Windows? Clyde
  17. I think I am largely on my way. I just built a quick little hello world hardware platform, created a bitstream and it's in the FPGA. Now its up to me to remember how to get the SDK to play, but it will come. Thanks again. Clyde
  18. Ok, now I see that by checking the uart boxes in the I/O configuration, the serial port is there.... it just does not show up in the diagram. I think with help with the concat logic and the PMOD repository question I am good to go. What I have learned is Zynq is not so external component intensive as a Microblaze design is. Clyde
  19. Ok, this is helpful, but in your diagram there is no external serial port visible to me. I see in the Zynq setup the Uart is enabled, but how to get it out? What I am really trying to do, to get started is to build a simple linux platform with a serial port, buttons and LEDs and the wifi so I may try my hand at embedded linux. This is a really simple hardware platform and I feel like I am the first person in the world to do this (can't be true). I am attaching a screen shot of the Project management screen and the boards tab. When I right click on any of the PMODs, I do not get an
  20. I should add the block design was created without any manual wiring, just block automation and connection assistance at the appropriate times. Clyde
  21. What I did was download the newest board files and put them in place and built an existing, working microblaze design on my Arty-35. This all worked and I was able to generate a bitstream. Then I created a new design for the Zybo z-10, essentially the same design and if I recall correctly, I got through the implementation phase, but bitstream failed, as it should. The LEDs are all in the wrong place and the clock too, etch. This failure all made sense. Then I created a new block design, simple, and the implementation fails. Attached is the block design. Linux1.pdf
  22. I am still lost. I have installed the latest repository and built a block design with the zynq uart, and a gpio. It won't implement. Place Design[Place 30-58] IO placement is infeasible. Number of unplaced terminals (1) is greater than number of available sites (0). The following are banks with available pins: IO Group: 0 with : SioStd: LVCMOS18 VCCO = 1.8 Termination: 0 TermDir: In RangeId: 1 has only 0 sites available on device, but needs 1 sites. Term: uart_rtl_rxd [Place 30-374] IO placer failed to find a solution Below is the partial placement tha
  23. Clyde

    Pmod wifi SDK problem

    Where is this WifiScan project? The examples folder? I am lost trying to find these sources. I have the hardware platform built just fine. Clyde
  24. Thanks. This was a big help as I was able to build the hardware platform, although it came with warnings about an IP repository I found "somewhere" on the internet with definitions for the PMOD devices, including the WiFi module. I still have no clue if I correctly set up any of the clocks. I set the PS clock to 33.3333 MHz (which was a difference) because that is what is used on the Z7-10. However, there is an lot of handwaving when it comes to the application software. Where to find that? Where is the proper IP repository for the PMOD devices? To answer your earlier question,
  25. Are there any plans to update the board files for the Zybo Z-10? Lots of things are missing from it such as the DDR3 component and the pulldowns for the PMODS, such as for the WiFi. The Arty board files seem to be complete, including DDR3. I am trying to get the Internet of things example running and the video is great, but it is not all there. A pdf of the finished block design would be a tremendous help.. I have scoured the internet and nothing comes up to help. Likewise, many examples are posted which claim to be a compiled and working example of some of the dem