Jump to content
  • 0

Problem getting Zynq Book exercise 4A "Create IP in HDL" to work


sam60

Question

I've been learning to create my own AXI peripheral using the Zynq Book exercise "Create IP in HDL".  Having trouble getting it to work on the Zybo.

I don't get any errors in the hardware or software build process but it doesn't run as expected.  I see the printf output in the SDK console but the LEDs don't function. 
I've tried the exercise twice with exactly the same result.  Then for the third time I used the sources supplied for the Zynq Book tutorials, but again with the same result.
I was very careful to follow the "tool flow".

Has anyone had success with this tutorial?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Well, I got it to work but there appears to be a problem. Not sure what yet but suspect Vivado 15.3

In the application software I noticed the expansion of macro LED_BASE was 0xFFFFFFFF which didn't seem right.
I checked in the hardware and it should be 0x43c00000
Also checked system.hdf which is correct
xparameters.h is wrong :-

/******************************************************************/

/* Definitions for driver LED_CONTROLLER */
#define XPAR_LED_CONTROLLER_NUM_INSTANCES 1

/* Definitions for peripheral LED_CONTROLLER_0 */
#define XPAR_LED_CONTROLLER_0_DEVICE_ID 0
#define XPAR_LED_CONTROLLER_0_S00_AXI_BASEADDR 0xFFFFFFFF
#define XPAR_LED_CONTROLLER_0_S00_AXI_HIGHADDR 0x00000000

Changed this value and the tutorial now works properly.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...