| Details |
Message |
|
Read-Only
Author Dimple Bhana
Posted 22-Aug-2007 09:29 GMT
Toolset ARM
|
 uvision3 debug mode
Dimple Bhana
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
|
|
|
Read-Only
Author S Paul
Posted 23-Aug-2007 10:27 GMT
Toolset ARM
|
 RE: uvision3 debug mode
S Paul
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
|
|
|
Read-Only
Author Dimple Bhana
Posted 25-Aug-2007 10:42 GMT
Toolset ARM
|
 RE: uvision3 debug mode
Dimple Bhana
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.
Thanks,
Dimple
|
|
|
Read-Only
Author Dimple Bhana
Posted 30-Aug-2007 05:52 GMT
Toolset ARM
|
 RE: uvision3 debug mode
Dimple Bhana
can anyone please help me on this??
Thanks,
Dimple
|
|
|
Read-Only
Author S Paul
Posted 31-Aug-2007 11:20 GMT
Toolset ARM
|
 try in program sequence
S Paul
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)
|
|
|
Read-Only
Author Dimple Bhana
Posted 31-Aug-2007 12:53 GMT
Toolset ARM
|
 RE: try in program sequence
Dimple Bhana
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?
Thanks,
Dimple
|
|
|
Read-Only
Author S Paul
Posted 31-Aug-2007 14:05 GMT
Toolset ARM
|
 RE: try in program sequence
S Paul
Dimple,
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.
thanks,
Paul
|
|
|
Read-Only
Author Patrick Noonan
Posted 31-Aug-2007 15:01 GMT
Toolset ARM
|
 RE: try in program sequence
Patrick Noonan
Have you selected to restore variables on re-entry to the debug
session?
Options for Target->Restore Debug Session
Settings->Watchpoints should be checked.
|
|
|
Read-Only
Author Dimple Bhana
Posted 1-Sep-2007 14:10 GMT
Toolset ARM
|
 RE: try in program sequence
Dimple Bhana
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.
|
|
|
Read-Only
Author Andy Neil
Posted 2-Sep-2007 08:17 GMT
Toolset None
|
 Write a .INI file
Andy Neil
Write a .INI file that sets-up the required watches, and specify
this to be run whenever you start the debugger.
|
|
|
Read-Only
Author Dimple Bhana
Posted 13-Sep-2007 10:54 GMT
Toolset None
|
 RE: Write a .INI file
Dimple Bhana
can you please tell me how exectly i can write .ini file for
debugger??? i dont know how to do it!!
Thanks,
Dimple
|
|