Hello,
I'm using MDK 4.14 for an LPC2478. Trying to catch a presumed data corruption, I'm want to halt my program when some variable (or preferably memory address?) contains a value larger than a certain constant. Now that works when the constant (=variable value) is a power of 2 and the conditional used is either "==" or "<" or "<=" but never ">" (I need that!). It complains about alignment, but nothing changed in the expression but the sign. Even a comparison with 0 (> 0, >= 0) fails, while <, <= works !
what happening here? Is there a workaround? can I compare the contents of a memory address with a constant rather than a global variable with a constant?