You should click "File" >"New" > "Project".

A pop up "New Project" will appear.

Click"Xilinx">"Board Support Package", then next.

A new pop up "New Board Support Package Project" will appear.

New Xilinx Board Support Packages

Select "standalone" for "Board Support Package OS" and "standalone_bsp_0" for the "Project name".

A new pop-up will appear "Board Support Package Settings".

BSP overview

After this, you should click "standalone" and set "stdin" and "stdout" to "rs232" or "debug_module":

  1. you should select "rs232" if you desire to use a real UART ( and not a simulated UART though JTAG connection);
  2. you should select "debug_module" if you desire that the XMD_UART works as local UART through the JTAG connection.
Demo program (running on MicroBlaze) will work even in case the UART port is left unconnected: it is not necessary to use a USB/Uart converter or Uart port on a PC, if you are using XMD UART HDL block.

BSP rs232 or debug_module

After this, you should click drivers to verify that all Microblaze components are supported by the driver in the repository "C:\XilinxProject\TE-EDK-IP"; click "OK" and the pop-up should dissapear.

BSP drivers for Microblaze components

In particular you should also verify that "xmdstub_peripheral" is assigned to none if you desire to use debug_module instead of rs232.

xmdstub_peripheral assigned to none

After this, you have verified that all Microblaze components are supported by a driver,  right click the "standalone_bsp_0" folder in "Project Explorer".

The pop-up "Properties for standalone_bsp_0" should appear.

Click "Project References".

You should verify that "standalone_bsp_0" references to "reference-TE0300_hw_platform":if is not checked you must check the box.

"standalone_bsp_0" Project References

Click "OK";

After this, you should wait until the SDK compile the added files (C-Build [standalone_bsp_0]) and a message 'Finished building libraries' appears.

'Finished building libraries' appears
  • No labels