Tessy can't enter 'switch' statement

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

Tessy can't enter 'switch' statement

1,410件の閲覧回数
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,205件の閲覧回数
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 件の賞賛
返信