ZiLOG ZMOTION Z8F6481 User Manual page 24

Library development kit
Table of Contents

Advertisement

7. Start ZDS II and open the NP Serial Command project (ZM_NP_Command). This can
be done by starting ZDS II and opening the project by clicking
from the menu or by navigating to the folder in Windows File Explorer and double-
clicking the project file located in:
ZMOTIONL300ZCOG_1.0\Z8F641 ZMOTION Library\Sample
Applications\ZMOTION_NP_Command_R1_0
Two projects are provided – one includes a Bootloader while the other does not. The
projects share the same source code:
ZM_NP_Command.zdsproj - Does not include Bootloader
ZM_NP_Command_BL.zdsproj - Includes Bootloader
When using the project with Bootloader, care must be taken not to set Breakpoints in the
Note:
application code area when starting the application. Setting a Breakpoint modifies the
Flash memory location to a Break instruction which will cause the Bootloader's checksum
test performed after reset to fail.
8. If the Debug icons are not displayed, as in Figure 16, right-click in the empty grey
area under the icons and select
9. Hover the mouse over each icon to display its function. Click the
ZDS II will build the project using the current versions of all source files and generate
the necessary output files. If there were
similar to the one in Figure 18 will be displayed.
UM028901-0318
Z8F6481 ZMOTION
and
Debug
Workbook Mode
Figure 16. Debug Icons
errors detected during the build, a message
no
Using ZDS-II to Download and Debug a Project
®
Library Development Kit
User Manual
File
Open Project
.
icon.
Rebuild All
21

Advertisement

Table of Contents
loading

Table of Contents