MC56F83789 使用 freeMASTER API 操作流程

Step1:將「FreeMASTER」資料夾複製到專案內。




Step2:修改專案設定。



Step3:設定 freeMASTER 連線方式 (SCI / JTAG)



Step4:#Include “ freemaster.h



Step5:調用 freeMASTER 函數:「FMSTR_Poll()」。



Step6:燒錄並運行程序



Step7(A):使用 SCI 通訊則 MCU 外部需要有 SCI to USB 的線路。 



Step7(B):使用 JTAG 通訊則 MCU 外部需要連接 JTAG 的線路。



Step8:開啟 freeMASTER 工具,使用 online debug 功能。


參考文獻:

<1>FreeMASTER Usage Serial driver implementation

Document Number: AN4752 Rev. 0, 5/2013

<2>FreeMASTER Serial Communication Driver

Document Number: FMSTERSCIDRVUG Rev. 3.0, 08/2016

★博文內容均由個人提供,與平台無關,如有違法或侵權,請與網站管理員聯繫。

★博文作者未開放評論功能