Application doesn't run standalone on TC387 starter kit

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

cross mob
User19262
Level 1
Level 1
Hello,

I am working on developing an application using Infineon MCAL and 3rd part BSW stack.
I currently have a project where MCAL, BSW is integrated and CAN communication is up and running when debugger is connected and "Start program" is pressed.

But when the debugger is not connected, the application stays in RESET. This is verified by the RESET LED lit on the starter kit. When I attach the debugger back, I can see the program stuck at address 0xA0000020.

The start address of my application is 0xA0000000 and Reset address is 0xA0000020.

I have referred to this following post [AURIX2G] [Power On Reset] TC387QP Start -Up Issue in this forum. But I am currently using PLS UDE debugger to debug this issue and couldn't find the way to disable WDG and verify.

Please let me know any suggestions or solutions to solve this issue.

Thank you
Chethan
0 Likes
5 Replies
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
Hi Chethan. Sounds like you're probably missing a Boot Mode Header. That's part of the MCAL infrastructure in this file:

DemoWorkspace/McalDemo/TC38A/0_Src/AppSw/Tricore/Cfg_Ssw/TC38A/Ifx_Cfg_SswBmhd.c

Could it be you just didn't program the UCB? Check UCB_BMHD0_ORIG at 0xAF400000.
0 Likes
User19262
Level 1
Level 1
Hello UC_wrangler,

After changing the reset address to 0xA0000000, I don't see the RESET Led on but the application doesn't run(I don't see CAN message on the bus)
With USb debugger connected and Start program pressed, the application works fine.

I have Ifx_Cfg_SswBmhd.c file included in my project.
The UCB_BMHD0 at 0xA4F00000 is B35900FE A0000000 31795570 CE86AA8F
0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored
UCB_BMHD0 contains a valid confirmation code (0x43211234) at 0xAF4001F0?
0 Likes
User19262
Level 1
Level 1
Hello,

Yes valid confirmation code (0x43211234) is present at 0xAF4001F0.
0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored
What you mean with:
The start address of my application is 0xA0000000 and Reset address is 0xA0000020
The reset address of your application must be 0xA0000000 with the used BMHD.
Also check HWCFG3, 4 and 5. They can overrule a valid BMHD.
0 Likes