• Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    Tim.O reacted to JColvin in 50 MHz clock   
    Hi @T.O,
    It looks like you're using some clocking features (DCM_CLKGEN) from Spartan-6 devices that no longer work or are unreliable with 7-series devices as per pages 22 and 23 of UG472 from Xilinx. You'll instead want to use a MMCM and/or PLL to create this clock. There are examples of both in the Language Templates within Vivado or you can use the Clocking Wizard IP.
    Let me know if you have any questions.
  2. Like
    Tim.O reacted to zygot in execute a file from terminal   
    I get the feeling that you are confusing the MicroBlaze soft-processor with the FPGA. If you want to use MicroBlaze then the SDK (Vivado 2019.1 or earlier) has example C/C++ code for using the UART in a software application. Your MicorBlaze software can do what ever you want it to do. If you don't want to use a MicroBlaze you can still have a PC control FPGA logic via a UART but you'll need to know how to write VHDL or Verilog. You don't need an RTOS to do this.
    Commandline statements like ./Helloworld are specific to Linux. Running Linux on a MicroBlaze is a whole different level of work and heartache.  Xilinx has it own standalone OS for MicroBlaze and ZYNQ. Developing software for either ZYNQ or a MicroBlaze soft-processor is similar to developing software applications for a uProcessor. Generally there's no OS involved.
  3. Like
    Tim.O reacted to JColvin in execute a file from terminal   
    Hi @hep77,
    FreeRTOS could work, though note that the last official Microblaze design for it (link) was in 2014.4 with a Kintex 7 chip that requires a paid Design Edition license.
    Otherwise, I would probably attempt to a list of different tasks that get executed when a particular character is received, similar to how the Nexys Video HDMI demo does it in it's DemoRun function: https://github.com/Digilent/Nexys-Video-HDMI/blob/master/sdk/appsrc/video_demo.c.
  4. Like
    Tim.O reacted to [email protected] in MicroBlase is necessary for serial communication with PC   
    Microblaze is not required for serial communication.  I have many projects that I have built which use the serial port without using a Microblaze.  Indeed, you'll be able to use much more of your FPGA if you don't need to support the weight of the Microblaze.
    That said, without the Microblaze processor, you won't have access to the C library.  You'll have to do your work instead in RTL.  Personally, I don't think that's a problem--I think it's a benefit of the approach.
  5. Like
    Tim.O reacted to JColvin in execute a file from terminal   
    Hi @hep77,
    I don't quite know what you are asking. Are you wanting to be able to reprogram the FPGA from command line with a pre-existing design? Or are you wanting to configure and control the FPGA while it is already powered on?
    Either way, we don't have any direct examples of controlling the FPGA over serial. In principle, you could use xuartlite directly (as opposed to stdout/stdin) to read incoming data and perform a pre-defined function based off of that, but that wouldn't be using a Command Line Interface.
    If you are wanting to control the board and have it run a variety of pre-made functions, I would probably recommend that you take a look into SoC's where the Zynq chip also has an ARM processor that you could load some version of Linux onto (Digilent usually uses Petalinux).
    Thank you,