Jump to content

CurtisNotestine

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

CurtisNotestine's Achievements

Member

Member (2/4)

0

Reputation

  1. @elodg, This is pointing in the right direction. As I mentioned, the Hello World code is in addition to the axi_gpio code. The extra printf statements found the point where the code size was exceeded and the compilation would fail. I attached the C code file which compiles. However, when I un-comment the //printf("\nHello1\n\r"); statement at line 111 and subsequent statements, the code breaks (i.e., the elf file is not created). So I think the solution is to increase the instruction and data memory sizes. So... how is this done? Thank you in advance for your help. Curtis Here is the overflow message when I add in the extra printf. The bram overflows by 24 bytes: c:/xilinx/vitis/2020.1/gnu/microblaze/nt/x86_64-oesdk-mingw32/usr/bin/microblaze-xilinx-elf/../../libexec/microblaze-xilinx-elf/gcc/microblaze-xilinx-elf/9.2.0/real-ld.exe: region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' overflowed by 24 bytes collect2.exe: error: ld returned 1 exit status helloworld.c
  2. I checked other links in the Digilent forum and couldn't find a solution or a problem with these symptoms. I'm running Vivado 2020.1 and Vitis 2020.1 on a Digilent Nexys A7 100T. What I found is that there seems to be a limit as to how large the c code file in Vitis can be. Here is the scenario as to how I discovered this: In Vivado, I created a block design with a microBlaze and four axi_gpio(s) I wrote C code in Vitis to initialize and read / write to the axi_gpio(s) I included "Hello World" to verify that the COM port was working. It did. When I added extra lines to the C code, I found that too many lines of code caused the "Executables selected for download on to the following processors doesn't exist or incorrectly specified. Do you wish to ignore and proceed? 1. microblaze_0" I clicked 'Proceed' (as suggested in one of the other threads) and the program didn't run. I tried cleaning and rebuilding the program and this didn't help either. I removed the extra lines of code (which were printf statements), and then the program worked. Question: Do I need to make a memory module larger in the block design to accommodate the larger C code file? If yes, which memory and how? Or is there another solution? Thank you in advance for any suggestions on how to solve this problem. Curtis
  3. I'm having the same issue. What I found is that there seems to be a limit as to how large the c code file in Vitis can be. Here is the scenario as to how I discovered this: In Vivado, I created a block design with a microBlaze and four axi_gpio(s) I wrote C code in Vitis to initialize and read / write to the axi_gpio(s) I included "Hello World" to verify that the COM port was working. It did. When I added extra lines to the C code, I found that too many lines of code caused the "Executables selected for download on to the following processors doesn't exist or incorrectly specified. Do you wish to ignore and proceed? 1. microblaze_0" I clicked 'Proceed' (as suggested above) and the program didn't run. I removed the extra lines of code (which were printf statements), and then the program worked. Question: Do I need to make a memory module larger in the block design to accommodate the larger C code file? If yes, which memory and how? This might not answer your question, but perhaps it will help with your troubleshooting. Hope this is helpful, Curtis
  4. Andrew, thank you for your reply. I am using Vivado 2020.1. I'll try your suggestion to use 2019.1 or earlier. Curtis
  5. I tried running the "old guide" on a Nexys A7 and there is a problem with step 3.1 : The IP "Ethernet PHY MII to Reduced MII" is not a menu selection -------------------------------------- 3.1) We will now add all of the necessary IP blocks to our project. There are 4 cores we will add: * Memory Interface Generator * Ethernet PHY MII to Reduced MII <<< ------ DOES NOT EXIST IN THE IP MENU * AXI Uartlite * AXI EthernetLite * AXI Timer -------------------------------------- What is the workaround for this? (I tried adding some of the other ethernet IP from the menu and they did not work.) Is there a tutorial (that works) to demonstrate the NEXYS A7 Ethernet IP? - I have spent many hours trying to get this to work. - I tried adapting this YouTube tutorial without success: https://www.youtube.com/watch?v=QhTYsysSkB0&t=1246s My thanks in advance for any suggestions. Curtis
×
×
  • Create New...