Skip to main content
Santhamurthy R
Associate III
May 5, 2017
Solved

problem in finding reent.c

  • May 5, 2017
  • 1 reply
  • 841 views
Posted on May 05, 2017 at 16:24

Hello All,

I am using SPC560B54L5 board along with SPC5studio 5.2.1 and UDE 4.2

In my application I am trying to receive 256 bytes of data/packet and sending 30 bytes(max.) of response to the sender. The application starts working initially, but after sometime(most of the time after 274 packets)  it blocks somewhere. The status in UDE shows ''core running'' but failing to send or receive data through UART.

If I try to break the execution explicitly in UDE, UDE prompts to select the source file''reent.c''.

No other interrupts except UART and PIT(PIT0 for syswaitmilliseconds()) , are in my application.

Prompting for reent.c:

0690X00000606KiQAI.png

Kindly provide your valuable suggestion to resolve the issue.

    This topic has been closed for replies.
    Best answer by Erwan YVIN
    Posted on May 09, 2017 at 09:54

    Hello ,

    it is maybe a coredump in libc.

    you should check your your full stack with function calls with PLS UDE and put a breakpoint before entering in libc.

         Best regards

                          Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    May 9, 2017
    Posted on May 09, 2017 at 09:54

    Hello ,

    it is maybe a coredump in libc.

    you should check your your full stack with function calls with PLS UDE and put a breakpoint before entering in libc.

         Best regards

                          Erwan