MQX_ROM_VECTORS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX_ROM_VECTORS

713 Views
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 Kudos
1 Reply

274 Views
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 Kudos