Hi,
I am working with Kinetis K60 microcontroller (TOWER K60N512 Kit + IAR + MQX 3.6)
I would like to implement an interrupt outside MQX. I should achieve that using _int_install_kernel_isr() function.
I switched MQX_ROM_VECTORS to 0 in user_config.h in order to have Vectors Table located in RAM.
I then recompiled both BSP and PSP of MQX.
When debugging the application, it looks like the vector table is still in ROM (address 0x00000000) instead of being in RAM (address 0x20000000).
Is there something I am doing wrong? Is it simply possible to work with vectors in RAM with this microcontroller?
Any advice would be appreciated.
Solved! Go to Solution.
Hi Noe Serres,
The support for Kinetis having vector table in RAM is going to be in the FSLMQX3.7 release in March. FSLMQX3.6 was not setup to enable this.
Regards,
David
Hi Noe Serres,
The support for Kinetis having vector table in RAM is going to be in the FSLMQX3.7 release in March. FSLMQX3.6 was not setup to enable this.
Regards,
David
I use MQX3.7 and IAR6.1 the vector table for TWR 60N512 still can't be moved to RAM, I 'm right ?
Hi Dingo,
Yes this was implemented in MQX3.7.
By default the MQX_ROM_VECTORS is defined "1" in small_ram_config.h that gets included into user_config.h at bottom of header file.
To place the vector table to RAM add"
#define MQX_ROM_VECTORS 0
to your user_config.h to override the default setting.
Note you must recompile the BSP and PSP then your application.
Regards,
David
Thank you for your answer.
Let's just wait then...