Debug Log shows "CPU status - LOCKUP" when calling Mfs_Uart_EnableIrq with enIrqSel==UartTxIrq.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WoEt_2958696
Level 1
Level 1
First reply posted First question asked

High, I'm using IDE: IAR ARM 8.10.1, Controller: Cypress S6E2CCaj0a with PDL library.

When I used the _RAM.icf, everything works fine, now I switch to _ROM.icf memory configuration and I get a few problems with this.

LOCKUP ARM Cortex M4.png

0 Likes
1 Solution

Hi,

Thanks for your answer, I solved the problem in our team:

I forgot to clear the checkmark for macrofiles in Options-->Debug-->Setup. So interrupt vector table was shiftet. In the linker options, vector table was set at adress 0x00000000. When Uart interrupt was enabled, immediately the interrupt was called and sent the controller to the desert.

View solution in original post

0 Likes
2 Replies
AchimE_41
Employee
Employee
10 sign-ins 5 sign-ins First comment on KBA

Hi,

Can you share a project that can reproduce the issue?

How does the lockup look like, where does the core jump/get stuck?

Edit:

Did you make sure that the TDRE bit is set to '0'?

pastedImage_0.png

regards,

Achim

0 Likes

Hi,

Thanks for your answer, I solved the problem in our team:

I forgot to clear the checkmark for macrofiles in Options-->Debug-->Setup. So interrupt vector table was shiftet. In the linker options, vector table was set at adress 0x00000000. When Uart interrupt was enabled, immediately the interrupt was called and sent the controller to the desert.

0 Likes