Standard SDK: Getting Started with RTL8710
IAR開發環境架設
在開發過程我們使用IAR Embedded Workbench IDE環境來進行 code building, downloading 及 debugging。如果還沒有安裝IAR Embedded Workbench IDE,請到IAR 官方網站下載試用版。Build Project & Download to Board
請先參考下一章節 CMSIS-DAP 將板子連接到電腦後,再依照以下步驟將project下載到板子: Step 1: 請先打開 IAR Embedded Workbench IDE Step 2: 點選 File -> Open -> Workspace

Debug
以下分別介紹如何設定CMSIS-DAP及J-Link/JTAG的Debug環境,以及如何利用IAR IDE來進行Debug。 注:SDK默認使用debug環境為CMSIS-DAP。CMSIS-DAP
RTL8710 可支援CMSIS-DAP debugger。首先,必須先安裝“serial to USB driver” (可以在SDK的tools\serial_to_usb\mbedWinSerial_16466找到安裝檔)。 安裝後,用micro-USB線將板子連接到PC。

J-Link/JTAG
板子預設使用CMSIS-DAP mode,如果要改用J-Link debugger,請依照以下步驟設定。


Log message
如果需要看程式的log訊息,請打開terminal tool (例如: putty/tera term),Buad rate設定在38400。
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved. Terms of Use