1 / 28

AEG-200 實作教學

AEG-200 實作教學. 財團法人資訊工業策進會 吳耀庭. AEG-200. Software Developer's Kit. SDK Toolchain Installation JN-SW-4041-SDK-Toolchain-v1.1.exe SDK Libraries Installation JN-SW-4040-SDK-Libraries-v1.6.exe Flash Programmer GUI Unzip JN-SW-4007-Flash-Programmer_v1.8.9 to C:/jennic/. Console 連接 AEG-200.

Download Presentation

AEG-200 實作教學

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AEG-200 實作教學 財團法人資訊工業策進會 吳耀庭 1

  2. AEG-200 2

  3. Software Developer's Kit • SDK Toolchain Installation • JN-SW-4041-SDK-Toolchain-v1.1.exe • SDK Libraries Installation • JN-SW-4040-SDK-Libraries-v1.6.exe • Flash Programmer GUI • Unzip JN-SW-4007-Flash-Programmer_v1.8.9 to C:/jennic/ 3

  4. Console連接AEG-200 4

  5. AEG-200 初始設定 • 登入Aeg200(帳號 :root)

  6. 設定IP • cd /etc/rc.d • vi rc.conf 6

  7. 修改rc.conf • export IPADDR0=192.168.11.xxx • export GATEWAY0=192.168.11.1 7

  8. 啟動sshd(修改rcS) • vi rcS 8

  9. 設定root密碼 • passwd • root 9

  10. 重新開機 • reboot 10

  11. ssh登入AEG-200 11

  12. 登入AEG-200 • 帳號/密碼 : root/root 12

  13. 修改channel與PAN ID • 將” JN-AN-1134-ZigBee-PRO-Serial-Cable-Replacement.rar”解壓縮後放到”C:\Jennic\Application\”下 • 編輯”\Coordinator\Source\crd_coordinator.c” • 355 : uint8 u8Channel = 17; • 358 : u64ExtPanId = 0x0000000000000001ULL; • 編輯”\Router\Source\rtc_router.c” • 290 : uint8 u8Channel = 17; • 293 : u64ExtPanId = 0x0000000000000001ULL; 13

  14. Build • make clean 14

  15. Build • make 15

  16. 幫AEG-200脫殼 : 螺絲起子 : 老虎鉗 16

  17. 17

  18. 18

  19. 燒錄程式 • “C:\Jennic\Application\JN-AN-1134-ZigBee-PRO-Serial-Cable-Replacement\Coordinator\Build\Coordinator_JN5148.bin” • “C:\Jennic\Application\JN-AN-1134-ZigBee-PRO-Serial-Cable-Replacement\Router\Build\Router_JN5148.bin” 19

  20. Using the Flash Programmer GUI .BIN file Program 20

  21. Program mode 21

  22. 登入AEG-200 • 帳號/密碼 : root/root 22

  23. 更改baud rate • stty 115200 23

  24. 開啟Terminal+.exe 24

  25. 從coordinator傳送封包 • echo 1234 > /dev/ttymxc2 25

  26. 接收端查看封包 26

  27. Coding… 27

  28. LED 閃爍 • vAppMain • Coordinator • OS_TASK(CRD_ZpsEventsTask) • 建立網路相關 • OS_TASK(CRD_AppEpEventsTask) • 接收資料相關 • Router • OS_TASK(RTR_ZpsEventsTask) • 加入網路相關 • OS_TASK(RTR_AppEpEventsTask) • 接收資料相關

More Related