Gal Sasi
Gal Sasi

Reputation: 11

How to compile a program in C with IAR for msp430x5438A when i get the following error?

i am using IAR for msp430xf5438A and when i am trying to compile my program i get an the following error: Internal Error: [TaInstr::Validate]: Instruction does not match requirement. what can i do to solve the this error? thanx!

Upvotes: 1

Views: 273

Answers (1)

Lindydancer
Lindydancer

Reputation: 26114

This is an internal error in the compiler, it is issued when one part of the compiler emits an instruction that it shouldn't have.

If you have the latest version of the compiler, make sure you report this to IAR so that they can fix it. If not, I suggest that you upgrade the compiler.

If you need to continue with the compiler you have, you could try to change the optimization levels or other settings. Alternatively, try to figure out which code triggers the problem and rewrite it.

If you can reduce the problem to a small sample, add it to your question and I'll try to suggest ways to rewrite the code.

Upvotes: 1

Related Questions