之前已安裝Assist 2502的SDK,並且更換韌體,現在來試試最基本的範例程式:閃爍LED。
記得板子的MS/UART開關切回UART。板子連接電腦後,應該出現兩個序列埠。
11:23:59(INFO) Pack tag items done.
11:23:59(INFO) Begin to upload application.
11:23:59(INFO) ["D:\linkit\assist2502_sdk\LINKIT_ASSIST_SDK\tools\PushCmdShell.exe", "D:/linkit/eclipse/BlinkLed\ARM\BlinkLed_default.vxp"]
11:24:01(INFO) "D:\linkit\assist2502_sdk\LINKIT_ASSIST_SDK\tools\\pushtool.exe"
11:24:01(INFO) -t arduino -clear -port COM10 -app "D:/linkit/eclipse/BlinkLed\ARM\BlinkLed_default.vxp"
11:24:04(INFO) Done
11:24:04(INFO) Application is uploaded successfully.
若最後出現「Application is uploaded successfully」,代表程式已經放進板子裡了,標示著「RX」的LED應會閃爍。
No comments:
Post a Comment