When Xilinx SDK openopens, you should:
1) Set the repositories for device driver of custom block used in SDK Microblaze project
2) Create an "Hardware Platform Specification
...
3) Create a Board Support Package Project
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 |
...
Project"
...
"
...
reference-TE0300_hw_platform"
...
3) Create a "Board Support Package Project" "standalone_bsp_0"
4) Recreate the "Application Project" "demo"
Scroll Title |
---|
title | Project References checking |
---|
|
Image Removed |
- now the contents of "Project Explorer" should be this one below
Scroll Title |
---|
title | Application Project "demo", BSP and reference hardware checked |
---|
|
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;
Scroll Title |
---|
title | Application Project "demo" created and original .c and .h file are moved inside src subfolder |
---|
|
Image Removed |
- now you should select "src" folder in "Project Explorer" > "demo", right click and select "Refresh"; in this way the .h and .c files will appears under the "src" folder of "Project Explorer"
- now you should select "demo" folder in "Project Explorer", right click and select "Refresh";
Scroll Title |
---|
title | Refresh the Application Project "demo" |
---|
|
Image Removed |
- now you should select (left click) "demo" folder in "Project Explorer";
Scroll Title |
---|
title | Select "demo" project |
---|
|
Image Removed |
- now you should click "Xilinx Tools" and then click "Generate linker script";
Scroll Title |
---|
title | Generate linker script for application project "demo" |
---|
|
Image Removed |
- a pop-up "Generate a linker script" will appears; click "Generate";
Image Removed
- the pop-up will close and "lscript.ld" file will be (re)written in "src" subfolder of "demo"
- after this, you should wait that building (compile and linking) procedure ends ("Finished Building: demo.elf.elfcheck" in Console C-build [demo])
5) Download the bitstream and the elf file.