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/04/10 11:53] – [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 10: | Line 10: | ||
| * {{keil_button_build.png}} **Build**, compiles and links the current source file. | * {{keil_button_build.png}} **Build**, compiles and links the current source file. | ||
| - | * {{keil_button_buildall.png}} **Build All**, compiles and links all source files. | + | * {{keil_button_buildall.png}} **Rebuild**, compiles and links all source files. |
| \\ | \\ | ||
| - | ===== 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}} **Upload**, uploads | + | * {{keil_button_load.png}} **Download**, downloads |
| - | * {{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: | ||
| + | |||
| + | |||