07-05-2019 03:56 AM - edited 07-05-2019 03:59 AM
I am using a KC705 evaluation board with Kintex-7. I am trying to interface an external DAQ board via the FMC connector. The DAQ manufacturer provided the HDL required for interfacing and also the software project to be implemented in SDK (since the design implements Microblaze microprocessor).
We first followed the procedure below to program the FPGA for this:
However this page states that the heap size should be at least 1MB when microblaze is used (figure 2), else it would result in erratic behaviour. But we cannot achieve this unless we choose a different memory from the list (larger than 128KB). I am not aware of the correct flow/steps to do that. Can someone please guide me on how to do this? Thank you.
Figure 1. Generate linker script window.
Figure 2. We are instructed to use at least 1MB heap size
07-07-2019 07:14 PM
Can you explain what your erratic behaviour is?
Does your application require a lot of heap and stack.
07-09-2019 01:20 AM
The erratic behaviour is seen in the external board we are trying to interface (FMCDAQ2 by Analog Devices), and not in the FPGA itself.
The manufacturer (Analog Devices), who developed the embedded software for microblaze says that we require 1MB heap size (fig. 2 in my original post).
07-24-2019 03:07 AM
Hi, thanks for the response.
We have tried burning all the sections into DDR memory (fig. 1), but it did not work. We followed these steps:
1. Generate linker script (fig. 1)
2. In SDK: Xilinx > Program FPGA > Select .bit, .bmm and .elf files.
But I am not sure whether it has been done correctly. In particular I am not sure:
1. Which .bit file to select? There is a .bit file in /<hdl_proj>.sdk/, in /<hdl_proj>.runs/impl_1/ and possibly other subfolders of the project provided by the manufacturer. Which of these .bit files is to be selected?
2. Which .bmm/mmi file to select. Similar to the above point, there are multiple .bmm and .mmi files in several subfolders of the project. Which of these is to be selected?