Zilog EZ80F91GA Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 127
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
The ZGATE Embedded Security Development Kit UM024502-1012
22
ZGATE Embedded Security Development Kit
User Manual
9. Copy the source files from the ZTP project folder for which ZGATE protection is
desired into the folder that you created in Step 2
.
10. In the ZDS II IDE, right-click the Standard Project Files folder in the Workspace panel
and select
Add Files To Project….
11. Add the source files copied in Step 9
by holding down the Ctrl key while clicking each
of the files to be added to the project. After all files are highlighted, click the
Add but-
ton.
12. Double-click the source file listed under Standard Project Files in the Workspace
panel that contains your application’s
ZTPAppEntry() function. This file will typi-
cally be named
main.c.
13. At the end of the include directive at the start of this file, add the following directive:
#include "ZGATE.H".
14. At the end of the
ZTPAppEntry routine, add the following function call:
ZGATE_initialize();
15. If your application links a custom library (e.g., a modified website library), choose
Settings from the Project menu, navigate to the Objects and Libraries option, and
click the
Edit button.
16. From the
Build menu, choose Set Active Configuration to open the Select Configu-
ration dialog box. Select the
RAM menu option, then click OK to close the Select Con-
figuration dialog box.
17. From the
Project menu in ZDS II, choose Settings to open the Project Settings dialog
box, and click the Debugger tab.
18. On the Debugger page, select
ZGATE000100ZCOG_RAM from the Target list, and
select
USB Smart Cable from the Debug Tool drop-down menu. Click OK to close
the Project Settings dialog box.
19. If you are prompted to rebuild any affected files, click
Yes. Otherwise, choose Build
from the menu bar, then click
Rebuild All.
20. To run the application, choose
Go from the Debug menu.
The above procedure ensures that all of the ZDS II project settings required for ZGATE
support are automatically used in your application. In particular please be aware that ZTP
projects that use ZGATE must use the ZDS II target files included in the ZGATE_Demo
folder. This target files defines the ZGATE memory layout which must not be altered by
your application. To learn more, refer to the chapter titled ZGATE Memory Layout
, on
page 44.
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 126 127

Commentaires sur ces manuels

Pas de commentaire