TC4xx promo banner Banner_Aurix_Competition Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_DevelopmentStudio


+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30

Thread: TC377TP controller up issue

  1. #1
    Intermediate Intermediate mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    327.5

    TC377TP controller up issue

    Hi,

    i am using tc377tp, i am fusing the program from trace32 software, it is running properly from trace32 software but when i remove and reset the controller program is not executing.

    i am using TLF35584 PMIC to power the micro controller up.

    kindly help me to sort this out.


    Regards
    Mohamed Rahmathulla

  2. #2
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    270
    Points
    5449.375
    In the most cases that a software runs with Debugger but not without debugger is that any of the watchdogs are going to timeout if no debugger connected. If a debugger is connected then the watchdogs are automatically switched off and there occurs no timeout, If there is no debugger connected then the watchdogs are working as expected.
    You should make sure that your watchdogs are switched off or serviced in time.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Intermediate Intermediate mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    327.5
    i disabled the watchdog in my code, here my code is

    void core0_main(void)
    {
    IfxCpu_enableInterrupts();

    /* !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
    * Enable the watchdogs and service them periodically if it is required
    */
    IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatch dogPassword());
    IfxScuWdt_disableSafetyWatchdog(IfxScuWdt_getSafet yWatchdogPassword());

    /* Wait for CPU sync event */
    IfxCpu_emitEvent(&g_cpuSyncEvent);
    IfxCpu_waitEvent(&g_cpuSyncEvent, 1);

    initTime(); /* Calculate iLLDs time constants */
    initLED(); /* Initialize the LED port pin */

    while(1)
    {
    blinkLED(); /* Make the LED blink */
    }
    }


    i am disabling cpu watchdog and safety watchdog.

    still i am facing the issue

  4. #4
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    270
    Points
    5449.375
    What is the controller is doing if you start without debugger? You use an own board or a TriBoard? Is there a reset indicator with LED?
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Intermediate Intermediate mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    327.5
    i Tried the same code with Tri-board, it is working, but the same software i am fusing in my custom board but it is working only in trace32 software, if i remove the jtag and press the reset button it is not in reset mode, but in some system down mode.

    current cusumption of reset mode is 70mA, but i am getting 80mA, if i long press the reset button it is going to 70mA as expected.

  6. #6
    Intermediate Intermediate JensM is on a distinguished road JensM's Avatar
    Join Date
    Feb 2018
    Location
    Hamburg / Germany
    Posts
    99
    Points
    1895
    Hi Mohamed,

    did you also try to flash your program manually into the chip?
    I am not aware what trace32 software really does in terms of program location, but it could be that the program is not located where the Bootloader expect it to be after reset.

    Regards,

    Jens
    TBench.Solutions UG
    Preferred Design House of Infineon Technologies AG

    www.tbench-solutions.com
    TBS, TBench.Solutions UG, Preferred Design House of Infineon Technologies AG

  7. #7
    Advanced Advanced
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    270
    Points
    5449.375
    I expect that the device is in Generic Bootstrap Loader Mode because you don't program the BMHD0 with the startaddress. Program also UCB BMHD0 with your used reset address. Please note to avoid problems after UCB programming don't program the BMHDx_COPY together with BMHDx_ORIG
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  8. #8
    Intermediate Intermediate JensM is on a distinguished road JensM's Avatar
    Join Date
    Feb 2018
    Location
    Hamburg / Germany
    Posts
    99
    Points
    1895
    Hi MoD,

    that makes sense. But the question here is what the Trace32 tool does. Mohamed stated that his program is only working during Trace32 tool session, and not anymore afterwards.
    The idea was not to manipulate any of the UCBs. The idea was to flash the program and see what happens. I mean this is actually no problem here, because Mohamed is able to debug
    but somehow wondering why the program is not starting anymore without Trace32 tool session. Just flash it, and you can run it.

    Regards,

    Jens
    TBench.Solutions UG
    Preferred Design House of Infineon Technologies AG

    www.tbench-solutions.com
    TBS, TBench.Solutions UG, Preferred Design House of Infineon Technologies AG

  9. #9
    Intermediate Intermediate JensM is on a distinguished road JensM's Avatar
    Join Date
    Feb 2018
    Location
    Hamburg / Germany
    Posts
    99
    Points
    1895
    Hi MoD again,

    sorry I did not get it right. Mohamed claimed that the program is working with the Triboard, but not directly with its custom board. In this case you are right.
    Mohamed should use the Memtool directly where all the basics are already done for him.

    Regards,

    Jens
    TBench.Solutions UG
    Preferred Design House of Infineon Technologies AG

    www.tbench-solutions.com
    TBS, TBench.Solutions UG, Preferred Design House of Infineon Technologies AG

  10. #10
    Intermediate Intermediate mohamed rahmathulla is on a distinguished road
    Join Date
    Sep 2020
    Posts
    37
    Points
    327.5
    i programmed and checked the memory of both tri-board and my custom board.

    program flashed in PF0 for both the tri-board as well as my custom board.. but still facing the same problem,.

    What is purpose of BMHDx_ORIG and BMHDx_COPY here?


    Thanks & Regards
    Mohamed Rahmathulla
    Last edited by mohamed rahmathulla; Mar 14th, 2021 at 11:00 PM.

+ 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.