Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM4376: why the B/BL assembly instruction "setpping over" execution exception in TI-RTOS?

$
0
0

Part Number:AM4376

Tool/software: TI-RTOS

My project requires that the original machine code instruction be replaced dynamically with a BL machine code instruction while is dynamically loaded also, and that a specific operation be performed by jumping to a fixed code segment by executing this dynamic insertion instruction. But when I execute this BL instruction, the system always jumps to exception handling. like as follow:

at the address 0x8d007f94, I patched a BL assembly instruction, and then run to line. now, if I press F5(step into) or Ctrl+Shift+F5(Assembly step into), the program can jump to 0x8d000000; but if I press F6(step over) or Ctrl+Shift+F6(Assembly step over), the program jumps to exception handling(if I run free, it also jumps to  exception handling) which seems that the whole program is dead.

CCS7.4, processor_sdk_rtos_am437x_4_03_00_05, pdk_am437x_1_0_10, NIMU_BasicExample_skAM437x_armExampleproject.

what's wrong? Is there any difference between step into with step over for a Assembly instruction?

Please help me!


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>