よくある質問
- M051 ベースシリーズ(95)
- M0518シリーズ(97)
- M0519シリーズ(43)
- M0564 シリーズ(1)
- ミニ 51 ベースシリーズ(90)
- ナノ 100/102 ベースシリーズ(101)
- Nano103 ベースシリーズ(10)
- ナノ 110/112 LCD シリーズ(100)
- ナノ 120 USB シリーズ(111)
- ナノ 130 アドバンストシリーズ(110)
- NUC029 シリーズ(94)
- NUC100/200 アドバンストシリーズ(102)
- NUC120/122/123/220 USB シリーズ(116)
- NUC121/125シリーズ(1)
- NUC126 USB シリーズ(2)
- NUC130/230 CAN シリーズ(103)
- NUC131/NUC1311 CAN シリーズ(98)
- NUC140/240 コネクティビティシリーズ(114)
製品
機能
+
FAQ
How to add a breakpoint to stop program execution in the Keil development environment when a register or an address in RAM is changed or read? Issue Date:2015-09-09
Please follow the steps below to add a breakpoint in Debug mode:
- Use Ctrl+B to open the Breakpoints dialog box.
- Enter a register address or an address in RAM into the “Expression” field of the Breakpoints dialog box.
- Enable the “Read” or “Write” option, specify the “Size” as 4 for a register, and enable “Bytes” in the “Access” section.
- Click the “Define” button to add a new breakpoint.
Taking the M051 series for example, to see if the value of the UA_THR register of UART0 is written, follow the steps as shown in the figure below:

Note1: The “Count” setting could not be changed to control the hit count of breakpoints.
Note2: Up to two breakpoints can be set for a register.
| Products: | Microcontrollers ,Arm Cortex-M0 MCUs ,M051 Base Series ,M0518 Series ,M0519 Series ,Mini51 Base Series ,Nano100/102 Base Series ,Nano110/112 LCD Series ,Nano120 USB Series ,Nano130 Advanced Series ,NUC029 Series ,NUC100/200 Advanced Series ,NUC120/122/123/220 USB Series ,NUC130/230 CAN Series ,NUC131/NUC1311 CAN Series ,NUC140/240 Connectivity Series ,Arm Cortex-M4 MCUs ,M451 Base Series ,M451M Series ,M452 USB Series ,M453 CAN Series ,NUC442/472 Series ,NUC505 Series |
|---|---|
| Applications: | |
| Function: | Software and Tools,Development-Environment,Keil |