I'm new to EE OS and I've got a problem to get an EE OS running on a Infineon TriCore TC277TE.
The EE OS Version is 2.3.0 running on Ubuntu. As Debugger I use Lauterbach "TRACE32 PowerView for TriCore" Version S.2013.06.000045171.
I'm referring to the "ee/examples/tricore/tc2Yx" examples e.g. "schedule_tables". The building of the example goes without any errors.
But when I open the TRACE32 debugger, load the Output/t32.mm file and try to execute EE OS, the debugger states "unable to read on-chip trace state".
It seams there is something wrong with the clock init of the TriCore.
When I take out following lines in file "ee/pkg/mcu/infineon_common_tc2Yx/inc/ee_tc2Yx_internal.h" the example runs fine through the debugger (LEDs blinking):
Code: Select all
/* Disable the VCO Bypass Mode */
SCU_PLLCON0.B.VCOBYP = 0U;
while ( SCU_PLLSTAT.B.VCOBYST == 1U ) {
; /*Wait until normal mode is entered */
}
/* Automatic oscillator disconnect enabled */
SCU_PLLCON0.B.OSCDISCDIS = 0U;
Thanks in advance.
Patrick.