Vector Table on Kinetis K60

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

Vector Table on Kinetis K60

ソリューションへジャンプ
2,701件の閲覧回数
NoeSerres
Contributor II

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.

タグ(3)
1 解決策
1,549件の閲覧回数
DavidS
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,550件の閲覧回数
DavidS
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,549件の閲覧回数
dingo
Contributor III

I use MQX3.7 and IAR6.1 the vector table for TWR 60N512 still can't be moved to RAM, I 'm right ?

0 件の賞賛
返信
1,549件の閲覧回数
DavidS
NXP Employee
NXP Employee

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

1,549件の閲覧回数
NoeSerres
Contributor II

Thank you for your answer.

Let's just wait then... :smileyhappy:

0 件の賞賛
返信