u/Fun-Refrigerator6526

▲ 3 r/FPGA

ZedBoard: Can program via PROG, but no output in debug console

Hello everybody,

I am having an issue getting debug output from my ZedBoard.

I can successfully program the board via the PROG. Furthermore, I know the hardware platform is working because I tested a basic design where pressing buttons toggles the LEDs, and it works perfectly on the board.

In my BSP, I have already selected coresight, but I still see absolutely nothing in the debug output window when running the application.

I'm using Vitis Unified IDE 2024.2

Here is the code I am using:

#include "xparameters.h"
#include "xil_printf.h"
#include "xscugic.h"
#include "xiltimer.h"
#include "xil_io.h"
#include "xil_cache.h"
#include <sleep.h>


int main()
{
    while(1) {
        xil_printf("Hello!\n");
        sleep(1);
    }
    return 0;
}
reddit.com
u/Fun-Refrigerator6526 — 4 days ago