Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
吴二导
Level 1
Level 1
10 sign-ins First question asked First reply posted

Z3ZCT6UY_1FF}Y}1N()09NL.pngVector table numbers are not allowed for TriCore "tc1.3"

0 Likes
1 Solution
User13836
Level 6
Level 6
50 likes received 50 solutions authored 100 sign-ins

The cause of the error message

Vector table numbers are not allowed for TriCore "<name>"

is a misconfiguration related to the --core C compiler option. If you define an ISR using a vector table number, this requires to use an AURIX or AURIX 2G CPU which may include more than one TriCore CPU core. If the core option

--core=tc1.3 

is applied, this will provoke the error.

But I've no ides why this error does show up when you use the ADS software since this is for AURIX CPUs only (TC1.6.x, TC1.6.2 core) and not for older TriCore CPUs with a TC1.3 core. 

Best regards,

Ulrich Kloidt
TASKING tools support

View solution in original post

0 Likes
7 Replies
Jeremy_Z
Moderator
Moderator
Moderator
250 sign-ins 100 likes received 750 replies posted

Hi @吴二导 ,

我感到好奇的是为什么174行代码没有error提示啊,我知道你用的IDE是什么以及版本号。

BR,

Jeremy

0 Likes
吴二导
Level 1
Level 1
10 sign-ins First question asked First reply posted

174行是在173行的地方报错了。请问这个问题由遇到过吗?

能否留一个联系方式呢?向你这边请教一下。

0 Likes
吴二导
Level 1
Level 1
10 sign-ins First question asked First reply posted

C:\Infineon\AURIX-Studio-1.6.0\launch-tool

0 Likes
吴二导
Level 1
Level 1
10 sign-ins First question asked First reply posted

C:\Infineon\AURIX-Studio-1.6.0\launch-tool  是这个版本

0 Likes
Jeremy_Z
Moderator
Moderator
Moderator
250 sign-ins 100 likes received 750 replies posted

Hi @吴二导 ,

感觉是个软件问题,编译器无法找到ISR_PRIORITY_xx的值,跟编译器没有关系,我建议你基于英飞凌的iLLD例程,添加或修改尽可能少的代码复现问题,或者直接告诉我复现地步骤也行,这样方便我找到原因。 

BR,

Jeremy          

0 Likes
Jeremy_Z
Moderator
Moderator
Moderator
250 sign-ins 100 likes received 750 replies posted

Hi @吴二导 ,

我简单在STM_Interrupt_1_KIT_TC397_TFT例程中测试了一下,添加IFX_INTERRUPT(isrSTM_1, 1, ISR_PRIORITY_STM);后并没有出现上述编译错误,我的ADS版本是Version: 1.9.16,你可以下载最新的ADS试试。

Jeremy_Z_0-1702881211649.png

 

BR,

Jeremy

0 Likes
User13836
Level 6
Level 6
50 likes received 50 solutions authored 100 sign-ins

The cause of the error message

Vector table numbers are not allowed for TriCore "<name>"

is a misconfiguration related to the --core C compiler option. If you define an ISR using a vector table number, this requires to use an AURIX or AURIX 2G CPU which may include more than one TriCore CPU core. If the core option

--core=tc1.3 

is applied, this will provoke the error.

But I've no ides why this error does show up when you use the ADS software since this is for AURIX CPUs only (TC1.6.x, TC1.6.2 core) and not for older TriCore CPUs with a TC1.3 core. 

Best regards,

Ulrich Kloidt
TASKING tools support

0 Likes