Advertisement

Quick Links

Traveo II Entry Family Starter Kit - Getting
Started

About this document

Scope and purpose
This document explains how to setup and use Traveo™ II Body Entry Family Starter Kit. The document also
explains how to debug with single core and dual core environment in IAR Embedded Workbench for ARM
(EWARM). The document uses the Traveo™ II Body Entry starter kit board with the Sample Driver Library (SDL).
Intended audience
This document is intended for software and hardware engineers integrating Traveo II Body Entry device into
their application.

Table of contents

About this document ....................................................................................................................... 1
Table of contents ............................................................................................................................ 1
1
Getting started ...................................................................................................................... 2
1.1
Connection setup .................................................................................................................................... 2
1.2
Power up .................................................................................................................................................. 2
1.3
Installing kit driver .................................................................................................................................. 3
2
SDL and IAR EWARM setup ....................................................................................................... 4
2.1
SDL environment setup ........................................................................................................................... 4
2.2
IAR EWARM setup ..................................................................................................................................... 4
2.3
Connection setup .................................................................................................................................... 5
2.3.1
Debugging with single core CM0+ workspace ................................................................................... 6
2.3.2
Debugging with single core CM4 workspace ................................................................................... 10
2.3.3
Debugging with dual core CM0+ and CM4 workspaces .................................................................. 14
3
Troubleshooting ................................................................................................................... 19
3.1
Connection troubleshooting ................................................................................................................. 19
3.2
Driver troubleshooting .......................................................................................................................... 19
3.3
Debugger troubleshooting .................................................................................................................... 19
3.4
Key points .............................................................................................................................................. 19
Glossary ....................................................................................................................................... 20
References .................................................................................................................................... 21
Revision history............................................................................................................................. 22
User Guide
www.infineon.com
Please read the Important Notice and Warnings at the end of this document
page 1 of 23
002-32910 Rev.**
2021-04-08

Advertisement

Table of Contents
loading

Summary of Contents for Infineon Traveo II Entry Family Starter Kit

  • Page 1: Table Of Contents

    Traveo II Entry Family Starter Kit – Getting Started About this document Scope and purpose This document explains how to setup and use Traveo™ II Body Entry Family Starter Kit. The document also explains how to debug with single core and dual core environment in IAR Embedded Workbench for ARM (EWARM).
  • Page 2: Getting Started

    Traveo II Entry Family Starter Kit – Getting Started Getting started Getting started This section explains the hardware set up. Table 1 lists the pre-requisites for the set up. Table 1 Pre-requisites Quantity Description Remarks CYTVII-B-E-1M-SK Traveo II Body Entry Series Starter Kit...
  • Page 3: Installing Kit Driver

    Traveo II Entry Family Starter Kit – Getting Started Getting started Note: To indicate that the starter kit is powered ON and the USB controller is starting in the correct mode, the amber colored status LED3 must be permanently ON. But, LED3 does not indicate a successful USB driver installation.
  • Page 4: Sdl And Iar Ewarm Setup

    Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup SDL and IAR EWARM setup This section explains how to run an example from the SDL on the Traveo II Starter Kit using the IAR C-SPY debugger.
  • Page 5: Connection Setup

    Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup Figure 5 Registering IAR for evaluation (based on v. 8.42) Connection setup There are two debugging methods with IAR EWARM: 1. Debugging with code downloaded on to RAM 2.
  • Page 6: Debugging With Single Core Cm0+ Workspace

    Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup Application Number of Workspace Details core cores supported as master workspace in multicore configuration. Note: Both CM0+ and CM4 can do normal code execution, but from an architectural point only CM4 is considered as the application core.
  • Page 7 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 2. Select the workspace revision starter_kit from drop-down list under Workspace, as shown in Figure Note: Ignore other workspace revisions for this Starter kit. The other revisions constitute the MCU assembled on other evaluation boards (CPU board).
  • Page 8 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup Figure 8 Rebuilding workspace revision 4. The rebuild process starts. Check for errors and warnings in the Build log. Figure 9 Checking build status in build log 5.
  • Page 9 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup Figure 10 Downloading and debugging 6. Now, click the Go icon to start execution. Note: You can also use the function keys in the Debug window: Go (F5), F10 (Step Over), F11 (Step into), Ctrl+D (Download and Debug).
  • Page 10: Debugging With Single Core Cm4 Workspace

    Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup LED1 should start blinking. Figure 12 Blinking LED1 2.3.2 Debugging with single core CM4 workspace 1. Start IAR EWARM and open the SDL template workspace file:...
  • Page 11 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 2. Select the workspace revision starter_kit from drop-down list under Workspace, as shown in Figure Figure 14 Selecting workspace revision 3. For the build, right-click the cm4 – starter_kit and select Rebuild All...
  • Page 12 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 4. The rebuild process starts. Check for errors and warnings in the Build log. Figure 16 Checking build status in build log 5. To load the program to the FLASH region of CM0+ core, click the green Download and Debug icon.
  • Page 13 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 6. Now, click the Go icon to start execution. Figure 18 Debugging with CM4 core LED4 should start blinking. Figure 19 Blinking LED4 User Guide 13 of 23 002-32910 Rev.**...
  • Page 14: Debugging With Dual Core Cm0+ And Cm4 Workspaces

    Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 2.3.3 Debugging with dual core CM0+ and CM4 workspaces 1. Start IAR EWARM and open the SDL template workspace file: tviibe1m\tools\iar\flash\tviibe1m_flash_cm0plus_cm4 _template Figure 20 Selecting CM0+ and CM4 dual core template...
  • Page 15 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 2. Select the workspace revision starter_kit from drop-down list under Workspace, as shown in Figure Figure 21 Selecting workspace revision 3. For the build, right-click the cm0plus – starter_kit and select Rebuild All...
  • Page 16 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 4. The rebuild process starts. Check for errors and warnings in the Build log. Figure 23 Checking build status in build log 5. To load the program to the FLASH region of CM0+ and CM4 cores, click the green Download and Debug icon.
  • Page 17 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup 6. Place a break point in the API in the CM4 core workspace. CM4 core will start executing after SystemInit() being enabled by CM0+ core. You can debug both cores simultaneously.
  • Page 18 Traveo II Entry Family Starter Kit – Getting Started SDL and IAR EWARM setup Figure 26 Debugging with CM0+ and CM4 cores LED1 and LED4 should start blinking once both the cores are running. Figure 27 Blinking LED1 and LED4...
  • Page 19: Troubleshooting

    Traveo II Entry Family Starter Kit – Getting Started Troubleshooting Troubleshooting This section explains possible issues and the workarounds. Connection troubleshooting Error: Starter kit is not detected on the target system. Connect the USB cable that comes with the Starter kit. Other USB cables may not connect data lines.
  • Page 20: Glossary

    Traveo II Entry Family Starter Kit – Getting Started Glossary Glossary Terms Description CM0+ Arm Cortex-M0 plus Arm Cortex-M4 Sample Driver Library Starter Kit Universal Serial Bus EWARM Embedded Workbench for ARM C-SPY High Level Debugger Language for Embedded System...
  • Page 21: References

    Traveo II Entry Family Starter Kit – Getting Started References References KitProg3 User Guide Traveo II Starter Kit User Guide User Guide 21 of 23 002-32910 Rev.** 2021-04-08...
  • Page 22: Revision History

    Traveo II Entry Family Starter Kit – Getting Started Revision history Revision history Document Date of release Description of changes version 2021-04-08 Initial release User Guide 22 of 23 002-32910 Rev.** 2021-04-08...
  • Page 23 With respect to any examples, hints or any typical values stated herein and/or any information 81726 Munich, Germany WARNINGS regarding the application of the product, Infineon Technologies hereby disclaims any and all Due to technical requirements products may contain warranties and liabilities of any kind, including dangerous substances.

Table of Contents