infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 5 of 5

Thread: TC224 resets every 5 seconds

  1. #1
    New Member New Member lucian.popa is on a distinguished road
    Join Date
    Mar 2017
    Posts
    3
    Points
    45

    TC224 resets every 5 seconds

    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?

  2. #2
    Beginner Beginner mrbhinder is on a distinguished road
    Join Date
    Nov 2017
    Posts
    5
    Points
    55
    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

  3. #3
    Advanced Advanced HIGHTEC.henk-piet.glas is on a distinguished road
    Join Date
    May 2017
    Posts
    46
    Points
    782.5
    Hi Muhammad,

    Quote Originally Posted by mrbhinder View Post
    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 <n> 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

  4. #4
    New Member New Member lucian.popa is on a distinguished road
    Join Date
    Mar 2017
    Posts
    3
    Points
    45
    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.

  5. #5
    New Member New Member lucian.popa is on a distinguished road
    Join Date
    Mar 2017
    Posts
    3
    Points
    45
    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_getCpuWatch dogPassword());
    IfxScuWdt_disableSafetyWatchdog(IfxScuWdt_getSafet yWatchdogPassword());
    ?????

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.