Fernando Silva

56F8357 CW8/ProcessorExpert Debug Problem

Discussion created by Fernando Silva on Sep 28, 2007
Latest reply on Oct 5, 2007 by Pascal Irrle
I have a problem in Debug. I debuged the project and after i clcked in RUN, in first debug that's all right, my code functinally. I modify my code events.c, make project, go to second debug and RUN, the new code didi not operation, the result in demoBoard is ever first code events.
The first code is:
Code:
void AD1_OnEnd(void){ word AD_Result;   AD1_GetValue16(&AD_Result);      if(AD_Result > 0x7FFF)   {    LED1_ClrVal();   //OFF LED1                LED2_NegVal();   }}

 Result is two Leds OFF, second code is:

Code:
void AD1_OnEnd(void){ word AD_Result;   AD1_GetValue16(&AD_Result);      if(AD_Result > 0x07FF)   {    LED1_ClrVal();   }   else   {    LED2_NegVal();   }}

 Result is equal to result one, off two leds. This is impossible, my second, third .... debug did not function. I have delete first debug?? How? Help -me please, Thank you!

OBS: I have programming in sdm external memory!




Message Edited by how determine pwm frequency on 2007-09-28 08:07 PM

Outcomes