The problem occurred after changing to another same nexys a7 development board
Because my nexys a7 development board is broken, I replaced it with a new nexys a7 development board, which may be a bit old, but the same as the previous development board.
Now the problem is that the bitstream of the kernel can be burned to the board, and the software seems to be unable to upload to the development board, because the Demo given in the example does not work, I think it should be the problem of initializing the boot program, but I don’t know how to modify.
It's sad to say that the development board we used for the project we spent a semester working on (Voice Recognition Flying Squirrels) was broken and couldn't finish the video presentation. We were in a rush with only a few days left before the submission deadline.
Fortunately, we borrowed the same development board from our upperclass (Figure 1), which looked older, but was usable. The bitstream and C program were downloaded successfully in the command line window (Figure 2 and Figure 3), but in any case, the development board did not respond, the LED light was not on, and the UART could not be transmitted. I think the C program failed to upload successfully, so I would like to know whether there is any solution above.
I think I may need some more information about the problem that you are having. Anyway, from the information you are providing, the jumpers on the board seem to be correctly connected (Figure 1) and the SoC seems to be correctly uploaded (Figure 2) onto the FPGA. The error displayed in Figure 3 ("Failed to read priv register") is weird. Was that obtained after trying to debug the LedsSwitches.C program? I'm attaching the output that I see in my case, which as you can see is different. Can you try other programs or another board?