FAQ
- M051 Base Series(95)
- M0518 Series(97)
- M0519 Series(43)
- M0564 Series(1)
- Mini51 Base Series(90)
- Nano100/102 Base Series(101)
- Nano103 Base Series(10)
- Nano110/112 LCD Series(100)
- Nano120 USB Series(111)
- Nano130 Advanced Series(110)
- NUC029 Series(94)
- NUC100/200 Advanced Series(102)
- NUC120/122/123/220 USB Series(116)
- NUC121/125 Series(1)
- NUC126 USB Series(2)
- NUC130/230 CAN Series(103)
- NUC131/NUC1311 CAN Series(98)
- NUC140/240 Connectivity Series(114)
常見問答
如何使用System Viewer檢查與調整暫存器的設定? 日期:2019-10-01
功能介紹:
在KEIL的除錯模式(Debug Mode)中,System Viewer是一個很有幫助的工具,能夠協助使用者檢查與調整暫存器的設定
(1) 即時監控暫存器的值
(2) 調整暫存器的值,並即時生效
使用場景:
(1) 當硬體周邊(peripheral)的動作不符合預期時,System View能夠幫助使用者檢查暫存器狀態
(2) 使用者想要調整暫存器的設定,又不想重新編譯並燒錄程式碼
System Viewer 的使用方式:
(1) 使用組合鍵“Alt + F7” 開啟 “Options for Target”視窗,並選擇“Target” 標籤頁
(2) 勾選“Use Custom File”後即可選擇SFR檔案,並確認SFR檔案與目標晶片型號一致

(3) 進入除錯模式(Debug Mode)
(4) 選擇欲檢查與調整的硬體周邊,有三種方式可以打開System Viewer的欄位
| 1. | Peripherals/System Viewer | ||
|
|
|||
| 2. | 圖示 | ||
![]() |
|||
| 3. | View/System Viewer | ||
![]() |
(5) 找到使用者欲確認或調整的暫存器,以HCLKSEL為例,當暫存器的值改變時,欄位會自動被綠色標註

(6) 選擇暫存器 HCLKSEL其他設定值

(7) 暫存器 HCLKSEL 設定值已經被修改成選項3 – Clock source from LIRC.

| 產品: | 微控制器 ,8 位元 8051 微控制器 ,Arm Cortex-M0 微控制器 ,Arm Cortex-M23 微控制器 ,Arm Cortex-M4 微控制器 |
|---|---|
| 應用: | |
| 功能: | Software and Tools,Development-Environment,Keil,ICE & Downloader,Nu-Link Driver |


