This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uVision2: WinXP - Home edition problem.

Hello,

When I use the uVision 2 (v. 2.31) under WinXP - Home Edition, then from time to time some files cannot be compiled by the C51 compiler (v. 7.01). The OS is then telling me that the C51/CX51 compiler has caused an error and that the program (the compiler, not uVision2) has to be ended.

Mostly, it's related to a macro 'ASSERT()' with the following definition:

#define ASSERT(expr)  if (expr) { ; }   else  {    printf("Assert failed: " #expr " (file %s line %d)\n", __FILE__, (int) __LINE__ );     while (1);  }

The problem can be solved (???) by telling the OS that uVision2 has to be run with the compatibility mode set to WinNT 4.0 - Service Pack 5.

Anyone ever had the same problem?

Rgds,

Geert

Parents Reply Children
No data