MQX_ROM_VECTORS

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

MQX_ROM_VECTORS

1,183件の閲覧回数
master_szumi
Contributor III

I definied MQX_ROM_VECTORS = 0

 

after execute my mqx project I stopped in debugger and look into memory.

 

Rom vector (at adress 0x0) is different than ram vector (at start of ram).

They shouldnt be the same?

 

 

0 件の賞賛
返信
1 返信

744件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Master_szumi,

It depends on how the application is implementing the interrupts.  MQX can build a interrupt table so that the MQX master inerrupt routine can determine if a valid user interrupt was registered and then jump to it.  Interrupts can be setup such that they are added directly to the vector table so if the vector table is in RAM is would be different from the ROM version.  But in general it should be mostly the same.

Read up on the various interrupt registering methods in the MQXUG.pdf in the MQX/doc/mqx path/ called "Handling Interrupts and Exceptions".

Hope this helps.

Regards,

David

 

0 件の賞賛
返信