56F8357 CW8/ProcessorExpert Debug Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

56F8357 CW8/ProcessorExpert Debug Problem

1,375 Views
howdeterminepwm
Contributor I
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
Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

244 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
may be the second program was not loaded on board.
There are some option to manage this in the target settings panel.
Please check in the Remote debug options the Program download option fields.
 
Else can you please :
 - provide us the application ?
 - what is the board used ?
 
Pascal
0 Kudos
Reply