When Xilinx SDK openopens, you should:
1) Set the repositories for device driver of custom block used in SDK Microblaze project
...
- click Xilinx "Xilinx Tools" and then "Repositories"
...
title | XilinxSDKProjectRepositories |
---|
...
- after this a pop-up "Preferences" will appears
Scroll pdf title |
---|
title | Add Reference Repositories for custom driver of custom block/device |
---|
|
Image Removed |
...
Scroll pdf title |
---|
title | Add reference with double indirection (as required by Xilinx SDK) |
---|
|
Image Removed |
- click "Apply"
- you should click "OK"
- after this you must wait until the building procedure ended.
2) Create an
...
- You should click "File" >"New" > "Project"
Scroll pdf title |
---|
title | Xilinx SDK New Project |
---|
|
Image Removed |
...
"
...
Hardware Platform Specification
...
Scroll pdf title |
---|
title | Xilinx SDK new HW Platform Specification |
---|
|
Image Removed |
...
Project
...
Scroll pdf title |
---|
title | Xilinx SDK HW Project New Wizard 1 |
---|
|
Image Removed |
...
"
...
"
...
Image Removed
...
reference-TE0300
...
_
...
hw
...
_
...
platform"
...
...
3) Create a
...
"
...
Board Support Package
...
Project
...
Scroll pdf title |
---|
title | New Xilinx Board Support Packages |
---|
|
Image Removed |
...
"
...
"
...
standalone_bsp_0
...
Scroll pdf title |
---|
|
Image Removed |
- after this you should click "standalone" and set "stdin" and "stdout" to "rs232" or "debug_module"
...
"
...
Scroll pdf title |
---|
title | BSP rs232 or debug_module |
---|
|
Image Removed |
- 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 dissapears;
Scroll pdf title |
---|
title | BSP drivers for Microblaze components |
---|
|
Image Removed |
- after you have verified that all Microblaze components are supported by a driver, right click the "standalone_bsp_0" folder in "Project Explorer" and
- the pop-up "Properties for standalone_bsp_0" should appears
- click "Project References"
- you must verify that "standalone_bsp_0" references to "reference-TE0300_hw_platform":if is not checked you must check the box.
Scroll pdf title |
---|
title | "standalone_bsp_0" Project References |
---|
|
Image Removed |
- 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
Image Removed
4) (Re)Create the "Application Project" demo
- You should click "File" >"New" > "Project"
- a pop up "New Project" will appears
- click "Xilinx" > "Application Project", then next
- a new pop up "New Project Application Project" will appear;
- you should set the value of parameters as in the image below
Scroll Title |
---|
title | ApplicationProject demo creation |
---|
|
Image Removed |
- after this clik "Finish"
- a new pop-up will appears "New Project Templates"
Scroll Title |
---|
|
Image Removed |
- in this case select "Empty Apllication" under "Available Templates"
- click "Finish"
- a new "Application Project" named "demo" will be created in the "Project Explorer"
- now you should right click the "demo" folder in "Project Explorer" and select "Project References";
- now you should assure that "reference-TE0300_hw_platform" and "standalon_bsp_0" are both checked; if their box are not already checked, you should check them now;
Scroll Title |
---|
title | Project References checking |
---|
|
Image Removed |
- now the contents of "Project Explorer" should be this one below
Image Removed
- now you should copy the contents of the original demo (all .c and .h files from "TE0xxx-Reference-Designs\reference-TE0xxx\SDK\SDK_Workspace\demo\src" already moved in the temporary folder "C:\demo_src_TE") inside the folder "C:\XilinxProject\reference-TE0xxx\SDK\SDK_Workspace\demo\scr" as already do in the figure above;
- now you should select "src" folder in "Project Explorer" > "demo", right click and select "Refresh";
...
title | Application Project "demo" created and original .c and .h file are moved inside src subfolder |
---|
...
4) Recreate the "Application Project" "demo"