Hi All,
I do use uvision3 v3.51. i am loading code in RAM.In debug mode i add few varibles in Watch window.These variable are not recovered in watch window when i exit and reenter debug mode.Can anyone help me on this?
Thanks, Dimple
Hi Dimple,
I think it is not possible to get the recover values once exit the debug mode .Suppose if you get ,the data may be junk values .
thanks, Paul
ya.... value can be junk. but variable is not at all remaining in watch window.i need to add it everytime i enter debug mode which is overhead to my work.
can anyone please help me on this??
Dimple,
As i understand you want to add the variable which you have in the watch window with some data !!!(hope i undestood correctly?)
if you dont need to add the value mannually,why dont you try in the program sequence itself?
Thanks, Paul
NB:Dimple,If you share what is your application,it may be helpful to answer question in less time.
One more thing , i tried your question ,always i got zero in watch window(Variable values)
let me write question again..
I have defined a global variable (whatever is the application!). In debug mode, i add this variable in watch window.now i exit debug mode and i renter debug mode. when i reenter, the varible does not remain in watch window at all (here i am not talking about what value the variable contains). here i need to add the same varible again(by pressing F2 and writing its name).
For me this is the case when i use ulink debugger.
but its not d problem when i use simulator as a target.
now did u understand or i m not able to make you understand my problem?
apologise for misunderstanding your question!
Yes! Now Understood your quiery
i have not worked with the debugger still .But i can tell you WRT Visual DSP ++ 3.5(ADSP-2184L Processor). It not possible their because the app is clearing the data before its connecting to the processor . Hope you are also facing the same in Microchip (uVision).i can tell you this authentically by next week ,because my devolopment board & debugger is going to come next week.
Have you selected to restore variables on re-entry to the debug session?
Options for Target->Restore Debug Session Settings->Watchpoints should be checked.
yes its true when i use simulator or debugger (and load code in flash from 0x000000000).
but when i load code in RAM (from 0x40000000) Watchpoint checkbox checked doesnt make any difference!!!
Thanks, Dimple.
Write a .INI file that sets-up the required watches, and specify this to be run whenever you start the debugger.
can you please tell me how exectly i can write .ini file for debugger??? i dont know how to do it!!