PICDEM.net? 1 and dsPICDEM.net 2 Connectivity Dev Board User’s Guide
2.7.2
Step the Program
1. Press <F7> to single step the code. The green arrow moves to line 129, _reset
mov.w #0x850,w15 , as shown in Figure 2-21.
This code comes from a library (archive) file, libpic30.a , which is
automatically linked into C30 compiler projects. This code line initializes the stack
pointer and is part of the initialization code that the C30 compiler uses to set up
the stack and initialize data. Notice line 135, call main . This instruction calls
the main() routine from the dsPICDEMnet Tutorial.c source file.
FIGURE 2-21:
PROGRAM SINGLE STEPPED
2. Open the dsPICDEMnet Tutorial.c source file. Double click on the file name
in the Project Window if the file is not already open.
3. Select and right click line TMR1 = 0;, then choose Run to Cursor ., as shown
FIGURE 2-22:
RUN TO CURSOR COMMAND
Right-click TMR1 = 0
and select
Run to Cursor
The code runs briefly until it reaches the specified line. It then halts with the green
arrow pointing to the next line, as shown in Figure 2-23.
DS51471A-page 28
? 2004 Microchip Technology Inc.
相关PDF资料
DM300014 BOARD DEMO DSPICDEM 1.1 GEN PURP
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
DM320002 BOARD EXPANSION PIC32 I/O
DM320003-2 KIT EVAL PIC32 USB II STARTER
相关代理商/技术参数
DM300014 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 1.1 GP RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300015 功能描述:KIT DESIGN W/DM300014 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:*
DM300016 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 28P Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 制造商:Microchip Technology Inc 功能描述:Microcontroller Development To
DM300018 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 2 Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300018 制造商:Microchip Technology Inc 功能描述:DEMO BOARD ((NW))
DM300019 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 80L Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: