Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:keil:debugging [2017/05/08 11:07] – [Upload to target] kjaz | software:keil:debugging [2020/02/07 16:20] (current) – [4) Breakpoints] akdi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Compiling | + | ====== Compiling |
This page describes how you compile, link and debug a project in Keil [[uvision|uVision]]. \\ | This page describes how you compile, link and debug a project in Keil [[uvision|uVision]]. \\ | ||
- | ===== Compiling and Linking ===== | + | ===== 1) Compiling and Linking ===== |
To compile and link a project use the build buttons as shown bellow. | To compile and link a project use the build buttons as shown bellow. | ||
Line 13: | Line 13: | ||
\\ | \\ | ||
- | ===== Upload to target ===== | + | ===== 2) Upload to target ===== |
- | Turn on the target system and connect it with a USB cable to the host computer. \\ | + | Turn on the target system and connect it with a USB cable to the host computer.\\ |
- | Start the remote debugger with the debug button. | + | Now click the “Download” button and after that, press the black reset button on the CT Board. The programm is now completly downloaded to the board.\\ |
+ | Start the remote debugger with the “Debug” | ||
- | \\ {{keil_menu_std.png}} \\ \\ | + | \\ {{keil_menu_std_2.png}} \\ \\ |
- | * {{keil_button_load.png}} **Download**, | + | * {{keil_button_load.png}} **Download**, |
- | * {{keil_button_debug.png}} **Debug**, | + | * {{keil_button_debug.png}} **Debug**, |
\\ | \\ | ||
- | ===== Run the Program in Single Steps ===== | + | ===== 3) Run the Program in Single Steps ===== |
With the following buttons you can step through the program. | With the following buttons you can step through the program. | ||
- | \\ {{keil_menu_dbg.png}} \\ \\ | + | \\ {{keil_menu_std_3.png}} \\ \\ |
* {{keil_button_dstep.png}} **Single Step**, executes the program instruction after instruction. | * {{keil_button_dstep.png}} **Single Step**, executes the program instruction after instruction. | ||
Line 39: | Line 40: | ||
\\ | \\ | ||
- | ===== Breakpoints ===== | + | ===== 4) Breakpoints ===== |
To insert a breakpoint use the following buttons. | To insert a breakpoint use the following buttons. | ||
- | \\ {{keil_menu_dbg.png}} \\ \\ | + | \\ {{keil_menu_std_4.png}} \\ \\ |
* {{keil_button_bset.png}} **Insert/ | * {{keil_button_bset.png}} **Insert/ | ||
* {{keil_button_btoggle.png}} **Enable/ | * {{keil_button_btoggle.png}} **Enable/ | ||
* {{keil_button_bdisall.png}} **Disable All**, disables all breakpoints. | * {{keil_button_bdisall.png}} **Disable All**, disables all breakpoints. | ||
- | * {{keil_button_bdelete.png}} **Kill All**, deletes all breakpoints. | + | * {{keil_button_bdelete.png}} **Kill All**, deletes all breakpoints. |
+ | \\ \\ \\ \\ | ||
+ | //**Back to [[software: | ||
+ | |||
+ |