Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:keil:debugging [2017/05/08 11:07] – [Upload to target] kjazsoftware:keil:debugging [2020/02/07 16:20] (current) – [4) Breakpoints] akdi
Line 1: Line 1:
-====== Compiling and Debugging ======+====== Compiling Debugging ======
  
 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” button.
  
-\\ {{keil_menu_std.png}} \\ \\+\\ {{keil_menu_std_2.png}} \\ \\
  
-  * {{keil_button_load.png}} **Download**, uploads the compiled binary to the target. +  * {{keil_button_load.png}} **Download**, downloads the compiled binary to the target. 
-  * {{keil_button_debug.png}} **Debug**, uploads the compiled binary to the target and starts the debugger.+  * {{keil_button_debug.png}} **Debug**, downloads the compiled binary to the target and starts the debugger.
 \\ \\
  
-===== 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/Remove**, inserts or removes a breakpoint on current row.   * {{keil_button_bset.png}} **Insert/Remove**, inserts or removes a breakpoint on current row.
   * {{keil_button_btoggle.png}} **Enable/Disable**, enables or disables breakpoint on current row.   * {{keil_button_btoggle.png}} **Enable/Disable**, enables or disables breakpoint on current row.
   * {{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:start:getting_started|Getting Started]]**// 
 + 
 + 
  • software/keil/debugging.1494241635.txt.gz
  • Last modified: 2017/05/08 11:07
  • by kjaz