{"id":2551,"date":"2023-01-18T21:50:46","date_gmt":"2023-01-18T13:50:46","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=2551"},"modified":"2023-01-18T21:50:46","modified_gmt":"2023-01-18T13:50:46","slug":"smart-zynq_tf_test","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2023\/01\/18\/smart-zynq_tf_test\/","title":{"rendered":"Smart ZYNQ\u677f \u5de5\u7a0b\u4e5d \u5c06\u7a0b\u5e8f\u653e\u7f6e\u5728TF\u5361\uff0c\u5e76\u8fdb\u884cTF\u5361\u542f\u52a8\u6f14\u793a"},"content":{"rendered":"\n<p>ZYNQ \u6709\u591a\u79cd\u542f\u52a8\u65b9\u5f0f\u53ef\u4ee5\u9009\u62e9\uff0c\u9664\u4e86\u4e4b\u524d\u4ecb\u7ecd\u7684\u4eceQSPI FLASH \u7684\u65b9\u5f0f\u6765\u542f\u52a8\u5916\uff0c\u8fd8\u53ef\u4ee5\u8ba9\u7cfb\u7edf\u4eceTF \u5361\u7684\u65b9\u5f0f\u6765\u542f\u52a8\uff0c\u672c\u6587\u5c06\u901a\u8fc7\u4e00\u4e2aEMIO \u70b9LED \u706f\u7684\u65b9\u5f0f\u6765\u6f14\u793a TF \u5361\u7684\u542f\u52a8\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<p>\u672c\u4f8b\u5b50\u6f14\u793a \u7528EMIO \u6620\u5c04\u5230PL\u7aef\u7684\u65b9\u5f0f\u6765\u9a71\u52a8LED\u706f\uff0c\u8fdb\u800c\u6f14\u793aTF\u5361\u542f\u52a8\u7684\u64cd\u4f5c\u8fc7\u7a0b<\/p>\n\n\n\n<p>\u672c\u6587\u5728 vivado2018.3\u7248\u672c\u4e0a \u6f14\u793a\uff0c \u5176\u4ed6\u7248\u672c\u8bf7\u81ea\u884c\u7814\u7a76<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">1<strong>&nbsp;ZYNQ\u542f\u52a8\u6d41\u7a0b<\/strong><\/h1>\n\n\n\n<p>1.\u9996\u5148\u4e86\u89e3ZYNQ\u7684\u542f\u52a8\u8fc7\u7a0b\uff0c ZYNQ\u7684\u542f\u52a8\u8fc7\u7a0b\u4ee5 ARM\u6838\u4e3a\u4e3b\uff0c \u4e0a\u7535\u540e \u786c\u4ef6\u5148\u8bfb\u53d6ARM\u6838PS\u7aef\u7684IO \u4ee5\u786e\u5b9a \u7cfb\u7edf\u4eceNAND \uff0cQSPI \uff0cSD Card\u8fd8\u662f JTAG \u542f\u52a8\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u542f\u52a8\u65b9\u5f0f\u5982\u4e0b\u56fe\u6240\u793a\uff0c \u6211\u4eec\u7684\u6700\u5c0f\u7cfb\u7edf\u677f\u53ea\u6709 QSPI \u548cTF\u7684\u786c\u4ef6\uff0c\u6240\u4ee5\u53ea\u9700\u8981\u5173\u6ce8QUAD-SPI ,SD,JTAG \u4e09\u79cd\u542f\u52a8\u65b9\u5f0f\u5c31\u597d\u3002\u4e5f\u5c31\u662f\u770b\u7cfb\u7edf\u4e0a\u7535\u77ac\u95f4MIO5\u548cMIO4\u4e24\u4e2a\u7ba1\u811a\u7684\u7535\u5e73\u72b6\u6001\uff0c\u7528\u6765\u533a\u5206\u4e0d\u540c\u7684\u4e0a\u7535\u542f\u52a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"492\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-52.png\" alt=\"\" class=\"wp-image-1085\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-52.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-52-300x192.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5728\u7535\u8def\u4e0a \u8bbe\u8ba1\u7684\u8fc7\u7a0b\u4e2d\u5df2\u5c06MIO5\u548cMIO4\u5206\u522b\u63a5\u5230\u4e86 \u62e8\u52a8\u5f00\u5173\u4e0a\u4e86\uff0c\u4e5f\u5c31\u662f\u6309\u7167\u62e8\u52a8\u5f00\u5173\u5728\u4e0a\u7535\u77ac\u95f4\u7684\u72b6\u6001\u5373\u53ef\u63a7\u5236\u7cfb\u7edf\u7684\u542f\u52a8\u65b9\u5f0f \uff0c\u5177\u4f53\u53ef\u53c2\u8003\u677f\u5b50\u4e0a\u7684\u4e1d\u5370\u6807\u6ce8<\/p>\n\n\n\n<p>\u5c06\u62e8\u7801\u5f00\u5173\u8c03\u6574\u5230\u5982\u56fe\u6240\u793a\u72b6\u6001 \uff0c\u6b64\u65f6\u5982\u679cTF\u5361\u4e0a\u6709\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u65ad\u7535\u91cd\u542f\u540e\uff0c\u7cfb\u7edf\u5c06\u4f1a\u4eceTF\u5361\u542f\u52a8\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"381\" height=\"383\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-76.png\" alt=\"\" class=\"wp-image-2559\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-76.png 381w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-76-298x300.png 298w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-76-150x150.png 150w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-76-100x100.png 100w\" sizes=\"auto, (max-width: 381px) 100vw, 381px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">2 \u8f6f\u4ef6\u90e8<strong>\u5206\u914d\u7f6e<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">2.<strong>1 \u521b\u5efa\u4e00\u4e2aBLOCK\u8bbe\u8ba1<\/strong><\/h2>\n\n\n\n<p>1\uff09IP INTEGRATOR\u2192Create Block Design\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u8f93\u5165\u8bbe\u8ba1\u540d\uff0c\u6700\u540e\u70b9\u51fb\u201cOK\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"283\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1.png\" alt=\"\" class=\"wp-image-183\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1.png 599w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-1-300x142.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/figure>\n\n\n\n<p>2)\u5728\u53f3\u4fa7\u7684\u7a97\u53e3\u91cc \uff0c\u70b9\u51fb\u52a0\u53f7\uff0c\u5728\u9009\u62e9\u6846\u91cc\u641c\u7d22ZYNQ\uff0c\u5e76\u627e\u5230ZYNQ7 PROCESSING SYSTEM \uff0c\u53cc\u51fb\u5e76\u6253\u5f00<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"271\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2.png\" alt=\"\" class=\"wp-image-184\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2.png 477w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-2-300x170.png 300w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/figure>\n\n\n\n<p>3\uff09\u8f6f\u4ef6\u81ea\u52a8\u751f\u6210\u4e86\u4e00\u4e2a zynq\u7684block \u5982\u4e0b\u56fe\u6240\u793a\uff0c\u63a5\u4e0b\u6765\u8981\u505a\u4e00\u4e9b\u76f8\u5e94\u7684\u8bbe\u7f6e\uff0c\u53cc\u51fb\u4e0b\u56fe\u4e2d\u7684ZYNQ\u6838<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"266\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3.png\" alt=\"\" class=\"wp-image-186\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3.png 505w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3-300x158.png 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><\/figure>\n\n\n\n<p>4\uff09\u4f9d\u6b21\u5728\u5f39\u7a97\u91cc\u627e\u5230DDR Configuration\u2192DDR Controller Configuration\u2192DDR3\uff0c\u5728Memory Part\u4e0b\u62c9\u83dc\u5355\u4e2d\u6839\u636e\u81ea\u5df1\u677f\u5b50\u4e0a\u7684DDR\u6765\u9009\u62e9\u76f8\u5e94\u7684DDR3\uff0c\u672c\u5b9e\u9a8c\u6240\u7528\u5230\u578b\u53f7\uff1aMT41K256M16RE-125\uff0c\u6570\u636e\u4f4d\u5bbd\u9009\u62e916bit \u6700\u540e\u70b9\u51fb\u201cOK\u201d,\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"788\" height=\"453\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png\" alt=\"\" class=\"wp-image-2527\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png 788w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-300x172.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-768x442.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>5)\u5728PS\u7684MIO\u914d\u7f6e\u9009\u9879\u7684GPIO\u680f\u91cc\uff0c\u589e\u52a0\u4e24\u8defEMIO\uff08\u56e0\u4e3a\u672c\u6b21\u6d4b\u8bd5\u7684\u662f\u4e24\u4e2a\uff0c\u5982\u679c\u9700\u8981\u589e\u52a0\u6309\u952e\u6216\u8005\u5176\u5b83IO \u8fd9\u91cc\u53ef\u4ee5\u5bf9\u5e94\u7684\u8c03\u6574\uff08\u8fd9\u91cc\u4e24\u8defGPIO\u662f\u4e3a\u4e86\u70b9\u4eaeLED\u706f\u770b\u6548\u679c\u6f14\u793a\u7528\u7684\uff0c\u975eTF\u542f\u52a8\u5fc5\u987b\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"553\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41.png\" alt=\"\" class=\"wp-image-1060\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41.png 714w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-41-300x232.png 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p><strong>6). \u91cd\u8981\u7684\u4e00\u6b65<\/strong>&nbsp;<strong>MIO Configuration \u4e2d \u4f7f\u80fdSD 0\u7684\u529f\u80fd\uff0c\u8fd9\u4e00\u6b65\u662f TF\u5361\u542f\u52a8\u7684\u5173\u952e\u8bbe\u7f6e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"179\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5.png\" alt=\"\" class=\"wp-image-584\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5.png 575w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/03\/image-5-300x93.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p>7\uff09\u6700\u540e \u70b9\u51fb\u201cRun Block Automation\u201d\u5982\u4e0b\u56fe\u6240\u793a\u3002\u5728\u5f39\u51fa\u7684\u9009\u9879\u4e2d\u4fdd\u6301\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cOK\u201d\uff0c\u5373\u53ef\u5b8c\u6210\u5bf9ZYNQ7 Processing System\u7684\u914d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"247\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43.png\" alt=\"\" class=\"wp-image-1062\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43.png 552w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-43-300x134.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n\n\n<p>8\uff09\u5c06\u521a\u624d\u6dfb\u52a0EMIO GPIO \u5f15\u51fa \u53f3\u952eGPIO_0\u2014-&gt;Make External<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"338\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44.png\" alt=\"\" class=\"wp-image-1063\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44.png 471w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-44-300x215.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/figure>\n\n\n\n<p>9\uff09\u7528\u7ebf\u5c06M_AXI_GP0_ACLK\u4e0e FCLK_CLK0\u8fde\u63a5\u8d77\u6765<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"557\" height=\"247\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-47.png\" alt=\"\" class=\"wp-image-1066\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-47.png 557w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-47-300x133.png 300w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/figure>\n\n\n\n<p>10\uff09source\u2192Design Source \uff0c\u53f3\u952e\u6211\u4eec\u521b\u5efa\u7684BLOCK\u5de5\u7a0b\uff0c\u70b9\u51fbcreate HDL wrapper\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"271\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12.png\" alt=\"\" class=\"wp-image-195\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12.png 446w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-12-300x182.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/figure>\n\n\n\n<p>11)\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u91cc\u4fdd\u6301\u9ed8\u8ba4<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"281\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13.png\" alt=\"\" class=\"wp-image-196\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13.png 492w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-13-300x171.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p>12)\u8f6f\u4ef6\u81ea\u52a8\u4e3a\u6211\u4eec\u751f\u6210HDL\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14.png\" alt=\"\" class=\"wp-image-197\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14.png 375w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-14-300x168.png 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">2.2\u521b\u5efa\u7ea6\u675f\u6587\u4ef6\uff0c\u5e76\u4e14\u5b9a\u4e49\u7ba1\u811a<\/h2>\n\n\n\n<p>1\uff09Add Source \u2192 Add or create constraints \u70b9Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"300\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15.png\" alt=\"\" class=\"wp-image-199\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15.png 588w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-15-300x153.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/figure>\n\n\n\n<p>\u56e0\u4e3a\u8fd9\u4e2a\u9879\u76ee\u6ca1\u6709\u521b\u5efa\u8fc7\u7ea6\u675f\u6587\u4ef6 \u6240\u4ee5\u8fd9\u91cc\u521b\u5efa\u4e00\u4e2a\u7ea6\u675f\u6587\u4ef6\uff0c\u5e76\u5728File name \u91cc\u8bbe\u7f6e\u7ea6\u675f\u6587\u4ef6\u7684\u540d\u79f0\uff0c\u5e76\u4e14\u70b9\u51fbFINISH \u5b8c\u6210\u7ea6\u675f\u6587\u4ef6\u7684\u521b\u5efa<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"327\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-16.png\" alt=\"\" class=\"wp-image-200\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-16.png 530w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-16-300x185.png 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/figure>\n\n\n\n<p>2\uff09Sources \u2192 Constraints \u91cc\u627e\u5230\u521a\u624d\u521b\u5efa\u7684\u7ea6\u675f\u6587\u4ef6 \u53cc\u51fb\u5e76\u6253\u5f00\u8be5XDC\u7ea6\u675f\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"389\" height=\"333\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-17.png\" alt=\"\" class=\"wp-image-202\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-17.png 389w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-17-300x257.png 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/figure>\n\n\n\n<p>\u5728\u7ea6\u675f\u6587\u4ef6\u91cc\u9762\u590d\u5236\u4e0b\u9762\u4ee3\u7801\u6765\u5bf9\u8f93\u51fa\u7684GPIO\u8fdb\u884c\u7ba1\u811a\uff08\u6240\u6709\u7684\u7ba1\u811a\u8f6c\u63a5\u677f\u4e0a\u4e1d\u5370\u90fd\u6709\u5b9e\u9645\u6807\u6ce8\u5bf9\u5e94\u7684IO\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">set_property IOSTANDARD LVCMOS33 [get_ports GPIO_0_0_tri_io[0]]\nset_property IOSTANDARD LVCMOS33 [get_ports GPIO_0_0_tri_io[1]]\n\nset_property PACKAGE_PIN K16 [get_ports GPIO_0_0_tri_io[0]]\nset_property PACKAGE_PIN J16 [get_ports GPIO_0_0_tri_io[1]]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3.SDK\u7a0b\u5e8f\u7f16\u5199<\/h2>\n\n\n\n<p>1\uff09File\u2192Export\u2192Export hardware\u2026\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u52fe\u9009\u201cinclude bitstream\u201d\uff0c\u70b9\u51fb\u201cOK\u201d\u786e\u8ba4\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"541\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png\" alt=\"\" class=\"wp-image-207\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png 462w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20-256x300.png 256w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"252\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png\" alt=\"\" class=\"wp-image-211\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png 332w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24-300x228.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure>\n\n\n\n<p>2\uff09File\u2192Lauch SDK\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u4fdd\u5b58\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cOK\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"361\" height=\"285\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png\" alt=\"\" class=\"wp-image-212\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png 361w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21-300x237.png 300w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/figure>\n\n\n\n<p>\u7cfb\u7edf\u5c06\u81ea\u52a8\u6253\u5f00SDK\u5f00\u53d1\u73af\u5883<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"748\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22.png\" alt=\"\" class=\"wp-image-213\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22.png 998w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22-300x225.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-22-768x576.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3\uff09\u65b0\u5efa\u4e00\u4e2a\u5de5\u7a0b file\u2192new\u2192Application Project\uff0c\u6765\u65b0\u5efa\u4e00\u4e2a\u201cApplication Project\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"546\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23.png\" alt=\"\" class=\"wp-image-214\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23.png 624w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-23-300x263.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>4\uff09\u5728\u65b0\u5efa\u5de5\u7a0b\u540d\u4e2d\u8f93\u5165\u81ea\u5df1\u7684\u5de5\u7a0b\u540d\u79f0\uff0c\u70b9\u51fbNEXT<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"713\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-37.png\" alt=\"\" class=\"wp-image-1050\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-37.png 510w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-37-215x300.png 215w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/figure>\n\n\n\n<p>5\uff09\u9009\u62e9\u7a7a\u5de5\u7a0b\uff0c\u70b9\u51fb\u5b8c\u6210FINISH<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"262\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26.png\" alt=\"\" class=\"wp-image-216\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26.png 485w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-26-300x162.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure>\n\n\n\n<p>6) \u5728\u5de5\u7a0b\u4e2d\u6dfb\u52a0main.c\u6587\u4ef6 src\u2014&gt;New\u2014&gt;Source File \u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"497\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-48.png\" alt=\"\" class=\"wp-image-1068\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-48.png 683w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-48-300x218.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<p>7\uff09\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u586b\u5165main.c \u5e76\u4e14\u4fdd\u5b58<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"308\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png\" alt=\"\" class=\"wp-image-1069\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49.png 308w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-49-300x205.png 300w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/figure>\n\n\n\n<p>8\uff09.\u6253\u5f00\u521a\u624d\u521b\u5efa\u7684main.c<\/p>\n\n\n\n<p>\u7136\u540e \u5199\u5165\u4ee5\u4e0b\u4ee3\u7801\uff08\u4ee3\u7801\u662f\u5728 \u4f8b\u7a0b\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u7cbe\u7b80\u7684\uff09 \u6709\u4e00\u4e2a\u5730\u65b9\u503c\u5f97\u6ce8\u610f EMIO\u7684 IO\u53e3\u7f16\u53f7 \u662f\u4ece54\u5f00\u59cb\u7684\uff0c\u4e5f\u5c31\u662f\u6211VIVADO \u4e0b\u521b\u5efa\u7684 EMIO\u7aef\u53e3\uff0c\u5728PS\u7aef\u90fd\u662f\u4ece54-55-56 \u4f9d\u6b21\u6392\u5e8f\u7684\uff08\u5c0f\u8d34\u58eb \u5c0f\u4e8e54\u7684\u662fMIO \u4e5f\u5c31\u662f\u82af\u7247PS\u7684\u786c\u4ef6IO\u53e3\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#include \"xparameters.h\"\n#include \"xgpiops.h\"\n#include \"xstatus.h\"\n#include \"xplatform_info.h\"\n\n#define LED1    \t54\n#define LED2  \t\t55\n\n#define GPIO_DEVICE_ID  \tXPAR_XGPIOPS_0_DEVICE_ID\nXGpioPs Gpio;\n\n\nvoid Gpio_Init(void){\n\tXGpioPs_Config *ConfigPtr;\n\n\tConfigPtr = XGpioPs_LookupConfig(GPIO_DEVICE_ID);\n\tXGpioPs_CfgInitialize(&amp;Gpio, ConfigPtr,ConfigPtr-&gt;BaseAddr);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED1, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED1, 1);\n\n\tXGpioPs_SetDirectionPin(&amp;Gpio, LED2, 1);\n\tXGpioPs_SetOutputEnablePin(&amp;Gpio, LED2, 1);\n\n\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n\tXGpioPs_WritePin(&amp;Gpio, LED2, 0);\n}\n\n\n#define LED_DELAY     10000000\nvolatile int Delay;\n\nint main(void)\n{\n\tGpio_Init();\n\n\twhile(1){\n\n\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 0);\n\t\tXGpioPs_WritePin(&amp;Gpio, LED2, 1);\n\t\t\n\t\tfor (Delay = 0; Delay &lt; LED_DELAY; Delay++);\n\n\t\tXGpioPs_WritePin(&amp;Gpio, LED1, 1);\n\t\tXGpioPs_WritePin(&amp;Gpio, LED2, 0);\n\n\t\tfor (Delay = 0; Delay &lt; LED_DELAY; Delay++);\n\n\t};\n\n\treturn 0;\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">4.\u4e0b\u8f7d\u5230\u677f\u5b50\u4e0a\u8fdb\u884c\u9a8c\u8bc1<\/h2>\n\n\n\n<p>\u9009\u4e2d\u5de5\u7a0b\u4e2d\u7684\u786c\u4ef6\u5e73\u53f0\uff0c\u5e76\u70b9\u51fb\u53f3\u952e\u2192Program FPGA\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u9009\u62e9\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cprogram\u201d\uff0c\u5b8c\u6210FPGA PL\u90e8\u5206\u7684Program\u5de5\u4f5c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"519\" height=\"598\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-42.png\" alt=\"\" class=\"wp-image-237\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-42.png 519w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-42-260x300.png 260w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/figure>\n\n\n\n<p>2\uff09\u9009\u4e2d\u6211\u4eec\u751f\u6210\u7684GPIO\u5de5\u7a0b \u5c55\u5f00\u7eff\u8272\u7bad\u5934\uff08RUN\uff09\u53f3\u8fb9\u7684\u56fe\u6807\uff0c\u9009\u62e9Run As\u21921 Launch on Hardware\uff08System Debugger\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"191\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-50.png\" alt=\"\" class=\"wp-image-1071\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-50.png 986w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-50-300x58.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-50-768x149.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u677f\u5b50\u4e0a\u7684\u4e24\u4e2aLED\u706f\u5728\u4ea4\u66ff\u7740\u95ea\u70c1<\/p>\n\n\n\n<p>\u5907\u6ce8 \uff1a\u5982\u679c RUN \u7684\u65f6\u5019\u5f39\u51fa\u9519\u8bef \u53ef\u4ee5\u6309\u7167\u4e0b\u9762\u7684\u64cd\u4f5c \u8fdb\u884c\u8bbe\u7f6e \u518d\u8fdb\u884cDEBUG<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"644\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-51.png\" alt=\"\" class=\"wp-image-1072\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-51.png 781w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-51-300x247.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-51-768x633.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"432\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-39.png\" alt=\"\" class=\"wp-image-1052\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-39.png 604w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-39-300x215.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u70b9 APPLY \u7136\u540e \u518d\u9009\u62e9Run As\u21921 Launch on Hardware\uff08System Debugger\uff09\u770b\u662f\u5426\u4e0b\u8f7d\u6210\u529f\uff08\u5982\u679c\u4ecd\u7136\u4e0d\u884c\uff0c\u8bf7\u5bf9\u677f\u5b50\u8fdb\u884c\u65ad\u7535\u540e\u91cd\u8bd5\uff0c\u4e00\u822c\u53d1\u751f\u8fd9\u79cd\u95ee\u9898\u7684\u539f\u56e0\u662f\u56e0\u4e3adebug\u7684\u65f6\u5019\u8ddf\u4e4b\u524d\u8fd0\u884c\u7684\u7a0b\u5e8f\u4ea7\u751f\u51b2\u7a81\u5bfc\u81f4\u7684\uff09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5. \u521b\u5efaTF\u5361\u7684 \u955c\u50cf\u6587\u4ef6<\/strong><\/h2>\n\n\n\n<p>\u521b\u5efa\u955c\u50cf\u6587\u4ef6\u5206\u4e24\u6b651. \u521b\u5efaFSBL\u6a21\u5757\uff0c2.\u521b\u5efaimage\uff08boot.bin\uff09\u6587\u4ef6<\/p>\n\n\n\n<p>\u5728zynq\u4e0a\u8fd0\u884c\u7a0b\u5e8f\u7684\u65f6\u5019\uff0c\u52a0\u8f7d\u8fc7\u7a0b\u4e2d\u80af\u5b9a\u9700\u8981\u7528\u5230\u4e00\u4e2a\u6587\u4ef6\uff0c\u90a3\u5c31\u662ffsbl\uff0c\u662fzynq\u542f\u52a8\u7b2c\u4e00\u9636\u6bb5\u7684\u52a0\u8f7d\u7a0b\u5e8f\uff0c\u7ecf\u8fc7\u4e86fsbl\u8fd9\u4e00\u9636\u6bb5\uff0c\u540e\u9762\u7cfb\u7edf\u624d\u80fd\u591f\u8fd0\u884c\u88f8\u5954\u7a0b\u5e8f\u6216\u8005\u662f\u5f15\u5bfc\u64cd\u4f5c\u7cfb\u7edf\u7684u-boot<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"277\" height=\"268\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-60.png\" alt=\"\" class=\"wp-image-1098\"\/><\/figure>\n\n\n\n<p><strong>1\uff09\u521b\u5efaFSBL:<\/strong>\u5728SDK\u4e2d\u65b0\u5efa\u5de5\u7a0b\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"137\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61.png\" alt=\"\" class=\"wp-image-1099\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61.png 669w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-61-300x61.png 300w\" sizes=\"auto, (max-width: 669px) 100vw, 669px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u7f6e\u5de5\u7a0b\u540dfsbl\uff0c\u70b9next\u9009\u62e9FSBL\u6a21\u677f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"260\" height=\"190\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-62.png\" alt=\"\" class=\"wp-image-1100\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"484\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2.png\" alt=\"\" class=\"wp-image-411\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2.png 495w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-2-300x293.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/figure>\n\n\n\n<p><strong>2\uff09\u521b\u5efaTF\u5361\u955c\u50cf\u6587\u4ef6<\/strong><\/p>\n\n\n\n<p>BOOT.bin\u7531 fsbl.elf\u6587\u4ef6 vivado\u751f\u6210\u7684fpga \u7684bit\u6587\u4ef6 app\u5de5\u7a0b\u7684elf\u6587\u4ef6\uff08\u8fd9\u91cc\u4e3aled\u5de5\u7a0b\u7684elf\uff09\u4e09\u4e2a\u6587\u4ef6\u7ec4\u6210\u3002\u5728\u751f\u6210image\u7684\u65f6\u5019\u8981\u5206\u522b\u586b\u5165\u4e09\u4e2a\u6587\u4ef6\u7684\u8def\u5f84\uff0c \u8fd9\u91cc\u4e5f\u6709\u4e2a\u5077\u61d2\u7684\u65b9\u6cd5\uff0c\u5c31\u662f\u5728\u70b9 create boot image\u4e4b\u524d\u5148\u9009\u4e2d \u6211\u4eec\u7684APP\u5de5\u7a0b\uff0c\u8fd9\u6837\u7cfb\u7edf\u4f1a\u81ea\u52a8\u4e3a\u6211\u4eec\u6dfb\u52a0\u8def\u5f84\u3002\u5982\u4e0b\u6240\u793a<\/p>\n\n\n\n<p>a) \u5148\u9009\u4e2d \u6211\u4eec\u7684APP\u5de5\u7a0b\u76ee\u5f55\uff0c\u8fd9\u91cc\u662fLED_CODE( \u4e0d\u662fFSBL \u4e5f\u4e0d\u662fBSP \u548c platform)<strong>&nbsp;\u5982\u679c\u4e00\u5f00\u59cb\u5df2\u7ecf\u88ab\u9009\u4e2d\u4e86\uff0c\u8bf7\u5148\u7528\u9f20\u6807\u9009\u62e9\u4e0a\u4e0b\u4efb\u610f\u4e00\u4e2a\u76ee\u5f55\uff0c\u518d\u9009\u62e9\u56deAPP\u76ee\u5f55\uff0c\u5426\u5219\u8def\u5f84\u53ef\u80fd\u4e0d\u81ea\u52a8\u52a0\u8f7d<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"257\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-63.png\" alt=\"\" class=\"wp-image-1101\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-63.png 314w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-63-300x246.png 300w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/figure>\n\n\n\n<p>b) \u70b9xilinx \u2013&gt;create boot image<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"329\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3.png\" alt=\"\" class=\"wp-image-412\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3.png 384w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/12\/image-3-300x257.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/figure>\n\n\n\n<p>\u5728\u754c\u9762\u91cc\u5206\u522b\u8bbe\u7f6e boot.bin\u7684\u8f93\u51fa\u8def\u5f84\uff0c\u4ee5\u53ca\u751f\u6210boot.bin\u9700\u8981\u7684\u4e09\u4e2a\u6587\u4ef6\u7684\u8def\u5f84(\u8fd9\u91cc\u6709\u4e00\u4e2a\u5077\u61d2\u7684\u65b9\u6cd5\uff0c\u5c31\u662f\u5728\u70b9\u4e0bCreate Boot Image \u4e4b\u524d\u5148\u9009\u4e2d\u6211\u4eec\u7684APP\u5de5\u7a0b)\uff0c<strong>\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5982\u679c\u6ca1\u6709\u51fa\u73b0\u4e09\u4e2a\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u8bf7\u91cd\u8bd5\u4e0a\u4e00\u6b65\u3002 \u5982\u679c\u6709\u4e09\u4e2a\u6587\u4ef6\u8def\u5f84\uff0c\u5219\u76f4\u63a5\u70b9create image\u751f\u6210\u955c\u50cf<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"537\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-78.png\" alt=\"\" class=\"wp-image-2564\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-78.png 972w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-78-300x166.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-78-768x424.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6. \u9a8c\u8bc1SD TF \u5361\u542f\u52a8<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1\uff09\u5728\u521a\u624dcreate boot image \u4e2d\u7684 ouput bif\u4e2d \u548cboot.bin\u6587\u4ef6\u7684\u5bfc\u51fa\u6587\u4ef6\u5939\u4e2d\uff0c\u590d\u5236\u51fa\u8fd9\u4e24\u4e2a\u6587\u4ef6\u5230\u7a7a\u7684TF\u5361\u4e2d \uff08\u5207\u8bb0 \u9700\u8981\u683c\u5f0f\u5316\u6210FAT32\u683c\u5f0f\uff09<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"270\" height=\"154\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-71.png\" alt=\"\" class=\"wp-image-1125\"\/><\/figure>\n\n\n\n<p>2. \u5c06TF \u5361\u63d2\u5165\u5230 \u4e3b\u677f\u7684\u5361\u69fd\u4e2d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"329\" height=\"285\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-73.png\" alt=\"\" class=\"wp-image-1127\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-73.png 329w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-73-300x260.png 300w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/><\/figure>\n\n\n\n<p>3. \u5c06\u677f\u5b50\u8bbe\u7f6e\u6210 TF\u5361\u542f\u52a8\u6a21\u5f0f \u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-77.png\" alt=\"\" class=\"wp-image-2562\" width=\"275\" height=\"276\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-77.png 381w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-77-298x300.png 298w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-77-150x150.png 150w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-77-100x100.png 100w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/figure>\n\n\n\n<p>4.\u91cd\u65b0\u65ad\u7535\u518d\u4e0a\u7535\uff08<strong>\u6216\u8005\u6309\u4e0bPOR_RST\u952e<\/strong>\uff09\uff0c \u6b63\u5e38\u60c5\u51b5\u4e0b \u7cfb\u7edf\u7684\u4e24\u4e2a\u6307\u793a\u706f\u5f00\u59cb\u4ea4\u66ff\u95ea\u70c1\uff0c\u8bf4\u660eTF\u5361\u542f\u52a8\u6210\u529f\u4e86<\/p>\n\n\n\n<p><strong>\u5982\u679c\u542f\u52a8\u4e0d\u6210\u529f\uff0c\u6709\u53ef\u80fd\u662f\u4ee5\u4e0b\u51e0\u79cd\u60c5\u51b5<\/strong><\/p>\n\n\n\n<p>a. TF\u5361\u7684 \u683c\u5f0f\u4e0d\u5bf9 \u5fc5\u987b\u662fFAT32\u683c\u5f0f<\/p>\n\n\n\n<p>b. TF\u5361\u6709\u591a\u4e2a\u5206\u533a\uff0c\u9700\u8981\u7edf\u4e00\u6210\u4e00\u4e2a\u518d\u8fdb\u884c\u683c\u5f0f\u5316,\uff08\u7528\u8001\u6bdb\u6843\u7b49\u5de5\u5177\u505a\u8fc7\u542f\u52a8\u76d8\u7684\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\uff09<\/p>\n\n\n\n<p>c. TF\u5361\u4e0d\u652f\u6301\uff0c\u5c1d\u8bd5\u66f4\u6362\u4e0d\u540c\u54c1\u724c \u4e0d\u540c\u5bb9\u91cf\u5927\u5c0f\u7684TF\u5361\uff0c \u5927\u5bb9\u91cf\uff0c\u8d8a\u9ad8\u901f\u7684TF\u5361\u7684\u517c\u5bb9\u6027\u8d8a\u5dee\uff08PS \u6211\u8fd9\u8fb9\u6d4b\u8bd5 128g\u7684\u95ea\u8fea\u9ad8\u901f\u76d8\u4e5f\u80fd\u652f\u6301\uff09<\/p>\n\n\n\n<p><strong>\u5b8c\u6574\u7684\u5de5\u7a0b\u5982\u4e0b<\/strong><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-a71bceab-a219-419e-b38e-7bbdc3ef85fc\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/09_TF_BOOT_TEST_XC7Z010_1.zip\">09_TF_BOOT_TEST_XC7Z010_1<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/09_TF_BOOT_TEST_XC7Z010_1.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-a71bceab-a219-419e-b38e-7bbdc3ef85fc\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-b7783fc3-4b5f-4aee-b903-8f497effb29b\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/09_TF_BOOT_TEST_XC7Z020_1.zip\">09_TF_BOOT_TEST_XC7Z020_1<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/09_TF_BOOT_TEST_XC7Z020_1.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-b7783fc3-4b5f-4aee-b903-8f497effb29b\">\u4e0b\u8f7d<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>ZYNQ \u6709\u591a\u79cd\u542f\u52a8\u65b9\u5f0f\u53ef\u4ee5\u9009\u62e9\uff0c\u9664\u4e86\u4e4b\u524d\u4ecb\u7ecd\u7684\u4eceQSPI FLASH \u7684\u65b9\u5f0f\u6765\u542f\u52a8\u5916\uff0c\u8fd8\u53ef\u4ee5\u8ba9\u7cfb\u7edf\u4eceTF \u5361\u7684\u65b9\u5f0f\u6765\u542f\u52a8\uff0c\u672c\u6587\u5c06\u901a\u8fc7\u4e00\u4e2aEMIO \u70b9LED \u706f\u7684\u65b9\u5f0f\u6765\u6f14\u793a TF \u5361\u7684\u542f\u52a8\u8fc7\u7a0b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2551","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-board"],"views":785,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/comments?post=2551"}],"version-history":[{"count":10,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2551\/revisions"}],"predecessor-version":[{"id":2569,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/2551\/revisions\/2569"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=2551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=2551"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=2551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}