reset handler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

reset handler

1,415 次查看
PINKMAN
Contributor III

hello:

i have a question about reset handler.

in the ld file i learnd that the address from 0x00000000 to 0x000000C0 is VECTOR_TABLE, address from 0x00000000 to 0x00000003 is __StackTop,the mcu i used is #S32K116,  so the__StackTop is 0x20003800,it is consistent with the .s19 file and map file.

for reset handler ,vector address is 0x00000004,in the .s19 file ,the value is 0x0411,but i find that reset handler address is 0x0410 in the .map file. i want to know why?  the same is that NMI_Handler address is 0x046D, but in the .map file,it is 0x046C1706145149359_0F8434F1-C8AE-454b-A5D5-C42E5D39CEB3.png1706145193099_1B1FFBCE-DC3D-4fb9-B440-F0526A182616.png

0 项奖励
回复
1 回复

1,380 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @PINKMAN 

Cortex M4 core supports Thumb instruction set only. The LSB bit in those vectors is used to inform the core that it's Thumb code. See please Generic User Guide for Cortex M4 for more details.

Regards,

Lukas

0 项奖励
回复