TC224 resets every 5 seconds

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User13133
Level 1
Level 1
Hello,

I am using the SW Framework (containing the demos, packages...). I have uploaded the MultiCAN example and I can see the messagess being sent at the correct cycle time in CANoe. The problem is that the core is reset every 5 seconds. I have read another thread containing info about the TC277 and I had made the changes specified there (remove R128 and place it in the blank space where R127 is supposed to be). Even with this change the core still is reset every 5 seconds. Does anyone know how can I make it work?
0 Likes
4 Replies
User14162
Level 1
Level 1
Hi,

I am facing the same problem. was you abled to solve the problem? if yes, how? Can you guide me please?

Best Regards,

Usman
0 Likes
User13290
Level 5
Level 5
First like received First solution authored
Hi Muhammad,

mrbhinder wrote:
Hi,

I am facing the same problem. was you abled to solve the problem? if yes, how? Can you guide me please?

Best Regards,

Usman


As I no longer have that specific application kit I had to review my notes of the other thread you also posted into. If I read that carefully I did two things. Not only did I remove R128 but also wired a zero Ohm resistor (R127) to +5V. What you seem to've done instead is to move R128 to the position of R127. As in that case the load will be different from a zero Ohm resistor, it could explain why it doesn't work for you. Also note that while I was using a TC277 TFT application kit, you appear to be using a TC2x4 application kit. If you have not done so already, it may be worth your while to check if the PCB wiring of these two boards are the same. Presumably they are, but you can only know for sure if you check.

Note that I offered a different workaround as well at the time. It's the one explained in Infineon's AP32260 application note. It contains debugger scripts for both PLS and Lauterbach that timely disables the external watchdog of TLF35584, before it shuts down your board. These scripts are actually included in the PLS memtool and the starterkit debugger. In practise it turns out that you have to use some of your best gaming skills to both manually reset the board and timely press connect on the starterkit debugger. So sometimes you need a couple of retries before you're in luck and a connection is established. For this purpose you can consider making use of the 'retry after seconds' checkbox of the startkit debugger.

Once you manage to restore your debugger connection you may try flashing the LcdDemo, which works for both AppKit-TC2{2,3}4TFT. The board support package used by this demo automatically disables the external watchdog following reset. The Infineon's iLLD demo examples do the same if I recall correctly, so that is also an option.

Hope you get things running again,

Henk-Piet Glas
Principal Technical Specialist
0 Likes
User13133
Level 1
Level 1
Hello,

If I try to flash the LcdDemo the red led near the display (from the board) stays on red and the device doesn't respond to the POR command anymore. I had to re-download the iLLD demo example to make it at least work again.
What I do not understand is why after I load the iLLD demo on the board and press the POR the device works ok and after I disconnect the device from the UDE Perspective and try only to supply the board in order to make it work I see the same behavior.
0 Likes
lock attach
Attachments are accessible only for community members.
User13133
Level 1
Level 1
Hello,

Based on the AP32260 and the workaround from the UDE that contained all the "SET .. ..." commands I have adapted the following code and it works. Now the board with the TC224 microcontroller is working without being reset every 5 seconds.
I added the code from the attachment in the main function of CPU0 just before the Cpu and Safety watchdog are disabled.

/*
* !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
* Enable the watchdog in the demo if it is required and also service the watchdog periodically
* */
IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword());
IfxScuWdt_disableSafetyWatchdog(IfxScuWdt_getSafetyWatchdogPassword());
0 Likes