#pragma CODE_SEG __NEAR_SEG NON_BANKED

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

#pragma CODE_SEG __NEAR_SEG NON_BANKED

407 次查看
boy_seoul
Contributor I

 

#CW : 10.

##MCU : S12

 

CW's gen code is being used.

Isr in CPU.c are not located in the specified NON_BANK.

boy_seoul_1-1714149971546.pngboy_seoul_2-1714150079754.png

 

The others are located at NON_BANKED.

boy_seoul_3-1714150101220.png

Why is this like this?

0 项奖励
回复
1 回复

381 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

in the case of these MCUs it does not matter where the interrupt routine is placed because there is no unbanked memory (the prm file is heritage from previous families).

S12Z devices vectors are 24bits (3bytes) length.

 

Best regards,

Ladislav

0 项奖励
回复