AnsweredAssumed Answered

Tessy can't enter 'switch' statement

Question asked by patng on Nov 12, 2013
Latest reply on Nov 13, 2013 by Pascal Irrle


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)?