Tessy can't enter 'switch' statement

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Tessy can't enter 'switch' statement

1,426 次查看
admin
Specialist II

Hi,

I am using Tessy 3.0 to unit test C code from CodeWarrior 5.9 for SPC5602P. When Tessy gets to a 'switch' statement, it goes to the wrong address in the program instead of arriving at the right 'case' block (or program counter is pointing to the wrong place). If I replace the 'switch' with 'if', it arrives at the correct code. Is there a way to ensure 'switch' statement sends my program pointer to the correct 'case' block? Is there a vector/lookup table 'switch' is using, where I can select a mode in CW (to be copied to Tessy config)?

Thanks!

Pat

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

1,221 次查看
trytohelp
NXP Employee
NXP Employee

Hi Patrick,

To investigate the problem we need more information regarding the tool version used.

You're using MCP5602P device with CodeWarrior development tool and Tessy.

Sorry but I don't know Tessy tool.

Please can you provide us more info of the problem ?

      is it linked to Tessy or CodeWarrior ?

what is the Version of CodeWarrior ?

To do that you must:

  Under CodeWarrior IDE (classic)

      Start the IDE and click on Help | About Freescale CodeWarrior.

      Click on Installed Products 

      Provide us all info displayed.

      Or you can save them in a txt file.

Do you have an example code, project showing the problem ?

Regards

Pascal

0 项奖励
回复