Apr 13, 2020
10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2020
10:11 AM
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
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
- Tags:
- IFX
5 Replies
Apr 13, 2020
11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2020
11:34 AM
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.
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.
Apr 13, 2020
11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2020
11:46 AM
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
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
Apr 14, 2020
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2020
04:40 AM
UCB_BMHD0 contains a valid confirmation code (0x43211234) at 0xAF4001F0?
Apr 14, 2020
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2020
05:33 AM
Hello,
Yes valid confirmation code (0x43211234) is present at 0xAF4001F0.
Yes valid confirmation code (0x43211234) is present at 0xAF4001F0.
Apr 14, 2020
11:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2020
11:48 PM
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.
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.