콘텐츠로 바로가기
Vivado – Creating a Project
- Vivado version : v2020.1
- Project name : hello_freertos
- Project location : D:/test/hello_freertos
- Project Type : RTL Project
- Add Sources : [Next]
- Add Constraints : [Next]
- Default Part : Click the Boards, Select ZYNQ-7 ZC702 Evaluation Board
Block Design
- IP INTEGRATOR -> Create Block Design
- Design name : design_top
- Add IP : ZYNQ7 Processing System
- Double-click the ZYNQ7 Processing System
- Click the Presets, Select ZC702
- Click [OK]
- Click the Run Block Automation -> [OK]
- Click the M_AXI_GP0_ACLK and drag to the FCLK_CLK0
- Click Validate Design (F6)
- Click the Sources tab
- Right-click design_top and select Create HDL Wrapper
- Select Let Vivado manage wrapper and auto-update
- Click Generate Bitstream
Exporting a Hardware Platform
- File -> Export -> Export Hardware
- Platform type : Fixed
- Output : Include bitstream
- Tools -> Launch Vitis IDE
- Workspace : D:/test/hello_freertos/workspace
Vitis – Creating a Platform Project
- File -> New -> Platform Project
- Platform project name : hw_platform
- Select Create a new platform from hardware (XSA) tab
- Browse to D:/test/hello_freertos/design_top_wrapper.xsa
- Operating system : freertos10_xilinx
Vitis – Creating a Application Project
- File -> New -> Application Project
- [Next] -> [Next]
- Application project name : hello_freertos
- [Next] -> [Next]
- Select the FreeRTOS Hello World and Finish
- Select the hello_freertos and right-click Build Project
Test
- SW16 : 00000
- SW10 : 01
- Connect a USB cable to connector U23 with PC (JTAG)
- Connect a USB cable to connector J17 with PC (Console/Terminal)
- Select the hello_freertos and right-click Run As -> Run Configurations
- Right-click Single Application Debug and click New Configuration
- Click the Target Setup tab and click Use FSBL flow for initialization
- [Apply] -> [Run]