Getting stuck in HALT();while configure the UART in xml

Hi All,

I'm working on PK- S5D9 dev kit, I have added the UART configuration Once properly configured just call the uart_main(); in main_thread_entry.c.

Most of the time it gets stuck in HALT(); in MallocLock(). Sometimes  I'm able to see the output in the terminal. I have no idea what's happening in my code. Even though I have deleted the project and import again facing the same issue.

What's the issue? If I want to test uart do I have to create a new thread in the main file or just call the uart main in main_thread_entry();?

I have attached the latest code which includes uart configuration.

Kindly help me out with this issue.

Thanks in advance,

UART_7.5.zip

Issue:- Getting HALT in this function

Regards,

SD

Parents Reply Children