.


:




:

































 

 

 

 


2.




: ; AVR Studio; .

( ) . , .

() ( -). , , . . , . . , , .

(. 7).

 

. 7.

 

 

.

. , - (. ). :

- -, ;

- , .

(In-Circuit Emulator, ICE) , . , , (. 8). . . - : - , , , , .

 

. 8.

 

N

 

(On-Chip Emulator) . ,

 

, . IEEE 1149.1, JTAG (Joint Test Action Group ). JTAG , (. 9). . , [12].

. 9.

 

 

. : .

(Starter Kit) . , , , . , . , , , . . .

(Evaluation Board) . , . , , , . PCI.

.

(simulator) , . .

(debugger) , . .

1. . , , .

2. . .

3. . , .

4. . () .

, . , . . . (profiler).

AVR-. AVR - ICE50, JTAG ICE, STK500.

AVR - , AVR Studio. AVR Studio (, ), ( , ). Disassembler View Goto Disassembly . Goto Source Disassembler.

AVR Studio ICE50, JTAG ICE, STK500 . . AVR Studio . AVR Studio .

AVR Studio. AVR Studio Debug.

AVR Studio Build and Run Start Debugging Debug Build. Stop Debugging Debug.

Step Into, Step Over Debug. Step Into ( ). Step Out. Step Over , , . (, ) . Reset.

( ) Run. Break.

- : , .

Toggle Breakpoint Debug . . Breakpoints Output; ( ) ( ). . . Remove Breakpoints Debug Remove all Breakpoints Breakpoints Output. Breakpoint Condition, Breakpoints Properties . Iterations ( ) . Watchpoint . Iterations Watchpoint . Show message Breakpoints Output. Breakpoints Output.

. (, ). AVR Studio ; .

Add to Watch . , . Add Watch Watches, : Name ( ), Value (), Type (), Location (). Name Watches Quickwatch ( ). , Value, . Watches.

AVR Studio : ( Run to Cursor Debug) ( Auto Step Debug).

(. 2).

 

2

Run F5 Step Into F11
Break Ctrl+F5 Step Out Shift+F11
Reset Shift+F5 Step Over F10
Run to Cursor Ctrl+F10 Toggle Breakpoint F9

 

Registers, Memory, Memory 1, Memory 2, Memory 3 View.

Registers Registers, . () . , I/O Workspace. Register 0-15
Register 16-31 +.

Memory, Memory 1, Memory 2, Memory 3 Memory, , , - . , Memory, , (Data , Eeprom , I/O -, Program , Register ).

Processor I/O Workspace. : (Program Counter); (Stack Pointer), , (Cycle Counter); 16- - X, Y Z; (Frequency); (Stop Watch).

- I/O * I/O Workspace, * . -, I/O, .

, .

1 - AVR Studio, .

1. , . . , .

2. . .

3. . . . . . .

4. . , .

ר

: , ; ; ( , -); AVR Studio .

1. .

2. .

3. .

4. .

5. .

6. : , , .

 





:


: 2016-11-23; !; : 5757 |


:

:

, , .
==> ...

1732 - | 1437 -


© 2015-2024 lektsii.org - -

: 0.032 .