Closed
Description
Problem
Currently tizenrt-artik05x does not support longjmp/setjmp
correctly.
I tried to use longjmp/setjmp
implementation from nuttx-stm32f4 port.
But it shows following error:
System Information:
Verarm_undefinedinsn:
Undefined instruction at 0x4130b58
up_assert: Assertion failed at file:armv7-r/arm_undefinedinsn.c line: 107 task: appmain
Looking for Solution
Since artik05x is cortex-r4, not cortex-m4, I looked for vstm
and vldm
in Cortex R4 Technical Manual. And I found vldm
in this manual, however, there is no vstm
. So I removed vstm
from nuttx-stm32f4 longjmp/setjmp
and it escapes me from above error. ( vldm
does not cause the undefined instruction error. ) So I will expand the vstm
instruction on tizenrt-artik05x and run some tests in order to make sure it is correct.