S32K144: IAR SW issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144: IAR SW issue

683件の閲覧回数
Alex28
Contributor I

Under IAR, debugging can still be done when the interrupt vector table is not at position 0. What are the specific principles and processes?

ラベル(1)
0 件の賞賛
返信
1 返信

18件の閲覧回数
yisey
Contributor I

In IAR Embedded Workbench, debugging works with a relocated interrupt vector table because the CPU supports vector table relocation (e.g., via a VTOR register on ARM Cortex-M). The debugger reads the current vector table base address from the CPU, maps the interrupt vectors to the corresponding ISR symbols, and uses the linker-generated symbol table to resolve addresses. Similar to how a USA paint estimator helps calculate coverage and cost accurately, the debugger aligns with the relocated vector table at startup, allowing breakpoints and step-through debugging to function normally even when the table is not at address 0.

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2183450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K144%3A%20IAR%20%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%E3%81%AE%E5%95%8F%E9%A1%8C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EIAR%20%E3%81%A7%E3%81%AF%E3%80%81%E5%89%B2%E3%82%8A%E8%BE%BC%E3%81%BF%E3%83%99%E3%82%AF%E3%82%BF%E3%83%BC%20%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%8C%E4%BD%8D%E7%BD%AE%200%20%E3%81%AB%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88%E3%81%A7%E3%82%82%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%E5%85%B7%E4%BD%93%E7%9A%84%E3%81%AA%E5%8E%9F%E5%89%87%E3%81%A8%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%AF%E4%BD%95%E3%81%A7%E3%81%99%E3%81%8B%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2183450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%20RT%20%E5%90%91%E3%81%91%20eIQ%20%E6%A9%9F%E6%A2%B0%E5%AD%A6%E7%BF%92%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E