Difference between revisions of "Infineon Traveo T2G"

From SEGGER Wiki
Jump to: navigation, search
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
   
This article describes device specifics of the Cypress Traveo II device family.
+
This article describes device specifics of the Infineon Traveo II device family.
   
 
== Read Work Flash ==
 
== Read Work Flash ==
Line 10: Line 10:
   
 
== Flash breakpoints ==
 
== Flash breakpoints ==
For Cypress Traveo II series devices the flash breakpoint feature may lead to hard-faults.
+
For Infineon Traveo II series devices the flash breakpoint feature may lead to hard-faults.
 
This is due to the reason that it is mandatory to activate interrupts for flash programming on these devices.
 
This is due to the reason that it is mandatory to activate interrupts for flash programming on these devices.
 
As a result interrupts like Systick timer can disrupt the flash programming routine and try to access flash areas themselves, which can lead to hard-faults.
 
As a result interrupts like Systick timer can disrupt the flash programming routine and try to access flash areas themselves, which can lead to hard-faults.
   
  +
== Reset ==
== Flash programming with M4 core ==
 
   
  +
J-Link does not perform a reset for the non-M0 cores since this may lead to core disabling.
Currently, when using the Cortex-M4, flash programming with J-Flash is not possible. Programming with the J-Link Commander utility is however possible.
 
   
 
== Sub families ==
 
== Sub families ==
 
The Traveo II device family has the following sub families:
 
The Traveo II device family has the following sub families:
* [[Cypress CYT2B6‎]]
+
* [[Infineon CYT2B6‎]]
* [[Cypress CYT2B7‎]]
+
* [[Infineon CYT2B7‎]]
* [[Cypress CYT2B9]]
+
* [[Infineon CYT2B9]]
* [[Cypress CYT2BL‎]]
+
* [[Infineon CYT2BL‎]]
* [[Cypress CYT3BB‎]]
+
* [[Infineon CYT3BB‎]]
* [[Cypress CYT4BB‎]]
+
* [[Infineon CYT4BB‎]]
* [[Cypress CYT4BF‎]]
+
* [[Infineon CYT4BF‎]]
  +
  +
== Device Codes / Ordering Codes ==
  +
For the Traveo II family, there are two different name schemes used:
  +
*Device Codes (e.g. CYT2B63BAS)
  +
*Ordering Codes (e.g. CYT2B63BAD)
  +
  +
From J-Link perspective, the important difference is that the ordering code contains the silicon revision at the last position while the device code does not. The last position of the device code represents the temperature grade instead. Depending on the silicon revision, the J-Link software has to behave slightly different because the behavior of the flash ROM API has been changed between the silicon revisions. For the latest version, it does not matter if the device code or ordering code is selected as "device name" in the J-Link software because the ordering code always behaves compatible to the latest silicon revision. However, when using an older silicon revision, we recommend to use the ordering code instead of the device code as "device name".
  +
  +
====Example CYT2B6 family====
  +
#Device Code: CYT2B63BAS / CYT2B63BAE (temperature grade S and E / revision unknown)
  +
#Ordering Code: CYT2B63BAD (revision D)
   
 
== FAQ ==
 
== FAQ ==

Revision as of 10:17, 11 August 2022

This article describes device specifics of the Infineon Traveo II device family.

Read Work Flash

Reading from work flash that is still in erased state will result in an error message, because of the nature of differential flash. Normal usage of work flash is as follows:

  1. Erase entire sector.
  2. Program word(s).
  3. Read 32-bit word.

Flash breakpoints

For Infineon Traveo II series devices the flash breakpoint feature may lead to hard-faults. This is due to the reason that it is mandatory to activate interrupts for flash programming on these devices. As a result interrupts like Systick timer can disrupt the flash programming routine and try to access flash areas themselves, which can lead to hard-faults.

Reset

J-Link does not perform a reset for the non-M0 cores since this may lead to core disabling.

Sub families

The Traveo II device family has the following sub families:

Device Codes / Ordering Codes

For the Traveo II family, there are two different name schemes used:

  • Device Codes (e.g. CYT2B63BAS)
  • Ordering Codes (e.g. CYT2B63BAD)

From J-Link perspective, the important difference is that the ordering code contains the silicon revision at the last position while the device code does not. The last position of the device code represents the temperature grade instead. Depending on the silicon revision, the J-Link software has to behave slightly different because the behavior of the flash ROM API has been changed between the silicon revisions. For the latest version, it does not matter if the device code or ordering code is selected as "device name" in the J-Link software because the ordering code always behaves compatible to the latest silicon revision. However, when using an older silicon revision, we recommend to use the ordering code instead of the device code as "device name".

Example CYT2B6 family

  1. Device Code: CYT2B63BAS / CYT2B63BAE (temperature grade S and E / revision unknown)
  2. Ordering Code: CYT2B63BAD (revision D)

FAQ

(Q1) What is the expected method for IDE to connect with M0 core and M4 or M7 core?

For M0 no special handling is needed. For M4 and M7 core avoid resets before connecting to the core as this might disable M4/M7 core.

(Q2) Is it possible to connect CYT2B63BAD_M4 only from J-Link Commander without connection to CYT2B63BAD_M0?

Yes connecting directly to M4/M7 is possible, as during our connect sequence J-Link connects to the M0 to enable M4/M7 core before connecting to M4/M7.