- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
I am having trouble when debug SW in TC3X7(IDE: ADS). the SW debug process will trap in function Ifx_Fifo_write(),like:
I tried some modify, but none seem to work. Can someone please help me?
Thank you very much.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kelejichi ,
Thanks for your reply.
In the ASCLIN_UART_1_KIT and ASCLIN_Shell_UART_1_KIT demos, they also call the Ifx_Fifo_write() function without triggering any traps. Maybe you can try.
Back to your issue, I'd highly recommend you follow the application note (AP32568) to locate the assembly instruction that triggered the trap, meanwhile, find out the difference in assembly instructions of this function between the ADS and BIFACES IDEs.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kelejichi ,
Thank you for your interest in Infineon's products and for the opportunity to serve you.
I think I need more information about the issue prior to sharing advice directly, so I hope you can clarify the following inquiries.
1) Has this function ever worked well?
2) What has changed recently? (Software or Hardware)
3) What kind of types of the Trap happens?
4) Can you introduce the environment you test with? like hardware platform, demo code, etc.
Looking forward to your feedback.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thanks for your support!
1) Has this function ever worked well?
Reply: Yes
2) What has changed recently? (Software or Hardware)
Reply: we have change the IDE from BIFACES to ADS.
3) What kind of types of the Trap happens?
Reply: the trap type is IfxCpu_Trap_internalProtectionError and IfxCpu_Trap_busError(the next).
4) Can you introduce the environment you test with? like hardware platform, demo code, etc.
Reply: the hardware platform is TC387; demo code is relate Motor-Control;
thank you and Looking forward to your feedback.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kelejichi ,
Thanks for your reply.
In the ASCLIN_UART_1_KIT and ASCLIN_Shell_UART_1_KIT demos, they also call the Ifx_Fifo_write() function without triggering any traps. Maybe you can try.
Back to your issue, I'd highly recommend you follow the application note (AP32568) to locate the assembly instruction that triggered the trap, meanwhile, find out the difference in assembly instructions of this function between the ADS and BIFACES IDEs.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jeremy_Zhou,
Thank you for your reply.
I run the demo ASCLIN_Shell_UART_1_KIT in local, it's sure that they also call the Ifx_Fifo_write() function without triggering any traps.
I will check the difference in assembly instruction of this function.
one question: I can't find the application note (AP32568) could you send it to me? this link can't find it.
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kelejichi ,
Thanks for your reply.
Actually, please follow the below figure to download it.
BR,
Jeremy