Tessy can't enter 'switch' statement

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tessy can't enter 'switch' statement

852 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

647 Views
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 Kudos