beautypg.com
Table of Contents
Chapter 1. Preface .................................................................................................................................................. 3
Chapter 2. Introduction............................................................................................................................................ 4
Chapter 3. Tutorial Project Workspace ................................................................................................................... 5
Chapter 4. Project Workspace ................................................................................................................................ 6
4.1. Introduction................................................................................................................................................... 6
4.2. Creating a new Project Workspace .............................................................................................................. 6
4.3. Build Configurations and Debug Sessions ................................................................................................... 7
4.3.1. Build Configuration ................................................................................................................................ 7
4.3.2. Debug Session....................................................................................................................................... 7
Chapter 5. Building the Tutorial Project .................................................................................................................. 8
5.1. Building Code ............................................................................................................................................... 8
5.2. Connecting the debugger ............................................................................................................................. 9
5.3. Connecting to the target with E8Direct & HMon........................................................................................... 9
5.3.1. Connecting To HMon ........................................................................................................................... 13
Chapter 6. Downloading and Running the Tutorial ............................................................................................... 16
Chapter 7. Project Files......................................................................................................................................... 21
7.1. Standard Project Files ................................................................................................................................ 21
7.1.1. Initialisation code (Resetprg.c / resetprg.h) ......................................................................................... 21
7.1.2. Board initialisation code (Hwsetup.c / hwsetup.h) ............................................................................... 22
7.1.3. Main Tutorial Code (main.c / main.h)................................................................................................... 23
Chapter 8. Additional Information.......................................................................................................................... 24
ii