Debug and Program Traveo II MCU with J-Link - KBA228450
Employee
Jan 17, 2021
09:46 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Jan 17, 2021
09:46 PM
Japanese version: Traveo II MCU を J-Link でデバッグ、プログラムをする方法 - KBA22845... - Cypress Developer Community
Author: HongyanW_86 Version: **
The J-Link driver V6.48a or later version has added support for Traveo II devices. With the updated J-Link driver, Traveo II programming in J-Flash and debugging in IAR Embedded Workbench or Ozone J-Link debugger software work as expected for both CM0+ and CM4 core.
1. Debug Traveo II in IAR Embedded Workbench
- Download J-Link software V6.48a or later version from Segger website:
https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack - Install JLink_Windows_Vxxx.exe on your PC and update the JLink driver (JLinkARM.dll) in IAR Embedded Workbench IDE.
- Delete old cm0plus_Debug.jlink at tools\iar\flash\cm0plus_sc\settings and cm4_Debug.jlink at \tools\iar\flash\cm4_sc\settings if they are present in your IAR project folder.
- Open CM0+ and CM4 IAR project separately in two IAR Embedded Workbench windows and configure J-Link as the debugger in IAR Embedded Workbench Project > Options.
- Click Download and Debug. Select the Traveo II device as the target when prompted in the J-Link window.
- Download and debug the CM0+ project first. Stop debugging CM0+ project and then start CM4 project debugging.
Optionally, you can use Ozone J-Link debugger software from Segger to do multi-core debugging.
2. Multi-core debug Traveo II in Ozone
- Download latest version of Ozone software from Segger website:
https://www.segger.com/downloads/jlink/#Ozone - Install Ozone software at local disk.
- Create Traveo II CM0+ and CM4 debug projects respectively in Ozone.
Note that cm0plus.out or cm4.out file generated in IAR Embedded Workbench can be configured as the Program File when creating an Ozone debug project. Therefore, the CM0+ and CM4 IAR projects need to be configured and built before running Ozone. - Start CM0+ project debugging first and then CM4 project in Ozone.
Labels
- Tags:
- CYT2B7
- CYT2B7x
- CYT2B9x
- CYT2BFx
- iar
- j-link
- Multi-core debugging
- Ozone
- program
- Program and Debug IF
- traveo ii
Rate this article: