Categories

Infineon TriCore
Infineon TriCore: How to measure time between two functions 09-Dec-2024
With the TriCore plugin core window Counters, y ou can measure the time between two functions, e.g. between main, which starts counters, and startOS, which stops counters. Solution Refer to the how-to guide in winIDEA Help.
Infineon AURIX: Accessing variables in cached memory 29-Nov-2024
Possible causes The variable is changing, but Real-time Memory access still shows the initial value. In this case, the variable may be cached, which makes Real-time Memory access impossible. The variable value is not updated in the Watch and Memory windows Note that using any of these solu...
Infineon AURIX TC3xx: Programming DFLASH1 when configured as HSM exclusive memory 26-Nov-2024
By default, Data Flash (DFLASH), which is divided into two banks DFLASH0 and DFLASH1, is programmed through the regular debug download (fast flash programming based on flash programming monitor) via Hardware | Infineon device | Configure. DFLASH can be split and used separately by the user...
Infineon AURIX: Disable interrupts when CPU is stopped during single stepping 22-Nov-2024
Solution Enable option Clear ICR.IE when CPU stopped in Hardware | CPU Options | SoC Advanced .
Infineon AURIX TC2xx, TC3xx: How to configure DAP over CAN (DXCPL)? 06-Nov-2024
DAP over CAN Physical Layer Converter (DXCPL) enables debugging via the regular CAN pins of the ECU connector without opening its housing. This connection is electrically robust due to the nature of the CAN bus. The DXCPL Converter translates Infineon AURIX™ SPD (Single Pin DAP) encoded DA...
Infineon AURIX TC2xx / TC3xx: HSM application is not running / HSM core is stopped 06-Nov-2024
When the AURIX is reset with the debugger connected and the Hardware Security Module (HSM) is enabled in the User Configuration Block (UCB), the boot code of TC2xx / TC3xx sets a breakpoint to HSM’s first instruction. This stops the HSM core from running and if the primary core expects the...
Infineon TriCore: Synchronization between On-Chip trace and external sources (ADIO, CAN/LIN) 06-Nov-2024
On-Chip trace logic monitors the CPU execution inside the SoC. O btained data is compressed using trace protocols and either: Streamed out through the trace port, where BlueBox debugger is capturing the data on the trace port. Each sample is time-stamped by the BlueBox timer. Captured in t...
Infineon AURIX: Suspending peripherals 22-Oct-2024
How to avoid unneeded issues with peripheral devices when debugging the application? Possible solutions Suspend peripherals while stopped Use the Hardware | CPU Options | Reset | At Initialization | Suspend peripherals while stopped option and select the peripheral functions you want to be...
Infineon AURIX: How to find a problematic function in a narrow range if AGBT FIFO overflowed? 22-Oct-2024
Error message AGBT FIFO overflow indicates that TriCore’s internal FIFO overflowed, which means that in a short time too many trace messages were written into FIFO. The below steps explain in the TC3xx example how to define custom triggers, use an algorithmic approach, halving the range to...
Infineon AURIX TC2xx: Application misbehaves, exception is triggered, "Step in" does not work for some functions, Verify ERROR 19-Oct-2024
This topic applies only to winIDEA versions up to 9.21.126 . For HSM flash sector security in newer winIDEA versions the code which goes to those sectors is already checked by the Image checker. For more information refer to the Infineon AURIX: Prevent locking . On the first generation, Tr...
Infineon TriCore: Failed to initialize debug session / DAP Initialization failed 19-Oct-2024
Possible causes Faulty hardware: Target, Debug Adapter, or Active Probe. CPU is always in reset or the debugger cannot reset the CPU. Bad contact if the CPU is in a socket. External watchdog resets the chip periodically. DAP Wide mode is selected in Hardware |CPU Options |SoC , however, on...
Infineon AURIX: How to find two or more problematic functions in a wider range if AGBT FIFO has overflowed? 17-Oct-2024
Error message AGBT FIFO overflow indicates that TriCore’s internal FIFO overflowed, which means that in a short time too many trace messages were written into FIFO. The below steps explain on the TC3xx example how to define custom triggers and use an algorithmic approach to find two or mor...
Infineon AURIX: How to configure general CPU settings? 16-Oct-2024
These configuration steps are required to connect BlueBox to the Target and perform a CPU Reset, which establishes an initial Debug connection. Solution 1. Create a new winIDEA Workspace via File |Select Workspace. 2. Open Hardware |CPU Options |SoC . 3.Select JTAG, DAP Standard, DAP Wide,...
Infineon AURIX: How to release Watchdog from the suspend mode? 16-Oct-2024
When AURIX devices are in debug mode, Watchdog is enabled by default , but the Watchdog Timer is unconditionally suspended (stopped), which means that the Watchdog never resets the chip. To use the Watchdog during debugging, you have to disable the Watchdog Timer suspended logic (or enable...
Infineon TriCore: License error 15 16-Oct-2024
After trying to flash your device winIDEA displays the following error message: License error 15: These licenses are not present on FNet_1 - TC1xx/TC2xx . Possible solutions Proper debug licence is required Check if you are using or have purchased a suitable license for your device. For ex...
Infineon TriCore: Algorithmic function search approach 16-Sep-2024
This topic visualisessteps on how to define custom triggers and use an algorithmic approach to find two or more problematic functions that generate too many trace messages in a wider range which are described in the topic How to find two or more problematic functions in a wider range if AG...
Infineon AURIX: How to unlock ENDINIT protected SFRs? 23-Aug-2024
Solution To disable ENDINIT protection and be able to change the registers, add this line to any initialization file: A CBS_OCNTRL L 0x000000C0 // Disable ENDINIT More resources in winIDEA Help Initialization sequence Internal Flash programming
Multi-SoC Synchronization between two BlueBox Debuggers 14-Aug-2024
The FNet Bridge Multi SoC synchronization enables the coordination of two separate BlueBox Debuggers via the FNet communication network. This setup facilitates synchronous debugging and tracing across multiple systems, achieving low latency synchronization typically within a few microsecon...
Infineon AURIX How to program UCB and boot CPU? 31-Jul-2024
Programming User Configuration Block ( UCB ) memory is essential otherwise the CPU does not have the information from which address to boot. Refer to the Infineon documentation to determine which UCB sectors need to be programmed. The number of writes to UCB is limited. Refer to your TriCo...
Failed to initialize debug session / Emulation start failed 30-Jul-2024
The error means that the debugger failed to connect to the target CPU. This can be for different reasons. When troubleshooting the initial debug connection to the target CPU, it is recommended to use the CPU Reset instead of Download. Possible causes and solutions BlueBox is not properly c...
Infineon AURIX: Attaching to password-protected devices after an Application or System reset 30-Jul-2024
Since AURIX is a highly security-oriented device, it is by default not possible to apply the debug password at any time, but rather only in a very short period of time after a Power on, Application or System reset. This fact is very important when dealing with Application and System resets...
Infineon AURIX: How to allocate trace buffer for tracing? 22-Jul-2024
First check, whether your CPU supports trace - refer to the topic Trace is not licensed . Possiblesolutions Trace Buffer is configured in Hardware | CPU Options | SoC. Default The option Use all available memory for trace buffer should work in most cases assuming that complete TCM memory i...
Infineon TriCore: Unknown trap (exception) is causing problems during application development 11-Jul-2024
TriCore architecturally does not have a mechanism that would allow the CPU to be stopped when a trap (in some other architectures known as an exception) occurs.Various mechanisms can trigger traps on the core, such as null pointer dereference or data alignment errors. Possible solutions Sc...
Infineon AURIX: Prevent locking 03-Jul-2024
AURIX devices have several sensitive modules/areas (BMHDs, HSM, UCBs), which could lock the device permanently when configured incorrectly. To prevent locking your device follow these recommendations: Image checker Use theImage checker during UCB or HSM code programming. A separate license...
Synchronizing multiple cores 01-Jul-2024
Multiple cores are hardware-wise not synchronized by default after reset. Possible solutions Enabling multi-core synchronization 1. Enable option S ynchronize selected cores (stop/run) when possiblein Hardware |CPU Options |Debugging. 2. Option Synchronize this core option in Hardware |CPU...
Infineon AURIX: How to enable or disable debug password protection? 04-Jun-2024
The UCB Flash must be writable to configure the debug password protection. Using this procedure you may lock the device! Possible solution 1. Configure winIDEA to use a password via Hardware | CPU Options | SoC. 2. S et a password. Refer to the winIDEA Help Password protection chapter for ...
Hot Attach 18-Apr-2024
Hot Attach functionality allows you to attach the BlueBox development system to a running target system without affecting its operation and have all debug functions available. Refer to the winIDEA Help Hot Attach chapter for more information.
Infineon AURIX TC2xx/TC3xx: HSM programming 29-Mar-2024
The HSM (Hardware Security Module) is an optional module available on selected AURIX devices. Through winIDEA, you can program an HSM application and configure the UCB (User Configuration Block) which is required to enable the HSM on your AURIXdevice. More information in winIDEA Help: TC2x...
Infineon AURIX TC3xx: Do not use Fill Memory to clear UCB section 28-Mar-2024
Filling the whole block of memory with any value using function Fill Memory in the Memory Window in order to clear UCB section of AURIX devices will LOCK the chip. More resources in winIDEA Help Storage programming Memory window
Infineon AURIX: "Step" or "Step in" do not work on TC3xx devices 14-Mar-2024
Debugging (step in, step over...) a target application is working until the StartOS function is called. This function initializes the System timer (STM). On TC3xx devices usually that is the STM0 timer. The timer is used by the scheduler to switch between the tasks. If you want to debug su...
Infineon AURIX: How to use SOTA in winIDEA? 14-Mar-2024
winIDEA supports SOTA (Software Over The Air) solution for Infineon AURIX 2nd generation TC3xx devices. Possible solutions Before configuring the SOTA mechanism on your chip, it is essential to read and understand the Infineon-related documentation and details about the content of the UCB_...
Infineon TriCore: SCR Debugging 28-Jul-2023
Standby Controller (SCR) is an 8-bit microcontroller that can continue to run during standby mode. It is based on the XC800 Core which is compatible with the industry standard 8051 processor and is available on selected TC3xxx devices. SCR core is selectable in winIDEA as any other core. S...