Jan 16, 2019
09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 16, 2019
09:03 PM
Hi everyone,
Am trying to run the demo code of Ethernet on TC234 with the help of Aurix Free tricore entry toolchain. For this I have downloaded the latest version of Infineon Demo code, ehich is of version 9. and basic software framework of version "SWFramework_3v1r0_p1".
The problem which am facing is that after debugging the code in UDE the programme is getting stuck in "debugging memory" i.e. "asm ::: memory" part, it's not printing the output as shown in PDF of migrating the software.
The UDE is stuck in this function of IfxCpu_IntrinsicsGnuc.h the code is
Am trying to run the demo code of Ethernet on TC234 with the help of Aurix Free tricore entry toolchain. For this I have downloaded the latest version of Infineon Demo code, ehich is of version 9. and basic software framework of version "SWFramework_3v1r0_p1".
The problem which am facing is that after debugging the code in UDE the programme is getting stuck in "debugging memory" i.e. "asm ::: memory" part, it's not printing the output as shown in PDF of migrating the software.
The UDE is stuck in this function of IfxCpu_IntrinsicsGnuc.h the code is
/** \defgroup IfxLld_Cpu_Intrinsics_Gnucsingle_assembly Insert Single Assembly Instruction
The next table provides an overview of the intrinsic functions that you can use to insert a single assembly
instruction.You can also use inline assembly but these intrinsics provide a shorthand for frequently used
assembly instructions.
* \ingroup IfxLld_Cpu_Intrinsics_Gnuc
* \{
*/
/** Insert DEBUG instruction
*/
IFX_INLINE void Ifx__debug(void)
{
__asm__ volatile ("debug" : : : "memory");
} [\CODE]
There are some changes which I have done for the programm to build the "elf" file in CMD, the changes are done in port mapping of "ethdemo.c"void EthDemo_init(void)
{
/* configure Ethermac */
{
const IfxEth_RmiiPins pins = {
&IfxEth_CRSDVA_P11_11_IN,
&IfxEth_REFCLK_P11_12_IN,
&IfxEth_RXD0A_P11_10_IN,
&IfxEth_RXD1A_P11_9_IN,
&IfxEth_MDC_P21_2_OUT,
&IfxEth_MDIO_P21_3_INOUT,
&IfxEth_TXD0_P11_3_OUT,
&IfxEth_TXD1_P11_2_OUT,
&IfxEth_TXEN_P11_6_OUT
};
The code in BOLD are my changes.
- Tags:
- IFX
3 Replies
Jan 07, 2020
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 07, 2020
03:28 AM
vivekrsingh20 wrote:
Hi everyone,
Am trying to run the demo code of Ethernet on TC234 with the help of Aurix Free tricore entry toolchain. For this I have downloaded the latest version of Infineon Demo code, ehich is of version 9. and basic software framework of version "SWFramework_3v1r0_p1".
The problem which am facing is that after debugging the code in UDE the programme is getting stuck in "debugging memory" i.e. "asm ::: memory" part, it's not printing the output as shown in PDF of migrating the software.
The UDE is stuck in this function of IfxCpu_IntrinsicsGnuc.h the code is/** \defgroup IfxLld_Cpu_Intrinsics_Gnucsingle_assembly Insert Single Assembly Instruction
The next table provides an overview of the intrinsic functions that you can use to insert a single assembly
instruction.You can also use inline assembly but these intrinsics provide a shorthand for frequently used
assembly instructions.
* \ingroup IfxLld_Cpu_Intrinsics_Gnuc
* \{
*/
/** Insert DEBUG instruction
*/
IFX_INLINE void Ifx__debug(void)
{
__asm__ volatile ("debug" : : : "memory");
} [\CODE]
There are some changes which I have done for the programm to build the "elf" file in CMD, the changes are done in port mapping of "ethdemo.c"void EthDemo_init(void)
{
/* configure Ethermac */
{
const IfxEth_RmiiPins pins = {
&IfxEth_CRSDVA_P11_11_IN,
&IfxEth_REFCLK_P11_12_IN,
&IfxEth_RXD0A_P11_10_IN,
&IfxEth_RXD1A_P11_9_IN,
&IfxEth_MDC_P21_2_OUT,
&IfxEth_MDIO_P21_3_INOUT,
&IfxEth_TXD0_P11_3_OUT,
&IfxEth_TXD1_P11_2_OUT,
&IfxEth_TXEN_P11_6_OUT
};
The code in BOLD are my changes.
Hi, did you solve this problem? I encountered exactly the same problem。
Jul 09, 2021
03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 09, 2021
03:27 AM
Hi there, I have the exact same problem when running the MultiCAN demo. Whenever IfxMultican_MsgObj_clearRxPending() or IfxMultican_MsgObj_readMessage() is called the debugger jump to Ifx__debug(). Really appreciated if any one can provide some direction. At least what will trigger debugger to jump to Ifx__debug()?
Jul 09, 2021
03:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 09, 2021
03:34 AM
Sorry neverminded I mixed something up, now it work
Still really interested what will cause debugger to jump to Ifx__debug(), much appreciated to any anwser
Still really interested what will cause debugger to jump to Ifx__debug(), much appreciated to any anwser