How to Debug the code?


#1

Hi,
I am unable to debug my code its giving error GDB hardware error .
what is the problem .
for debugging purpose i have to install any other software?
please reply.
i am waiting for u r reply…

thanks
kiran


#2

Hi,

Do you connect the hardware (Wireless CPU) to PC?

BR,
ttt


#3

yes i connected my hardware to pc.i am able to run application on target system. i am unable to debug .
can u tell me procedure how to debug code i read cheat sheet samething i did i got error
gdb hardware error…
Thanks & Regards
kiran


#4

i don’t think you should debug using the GDB hardware debugger, unless you have the the appropriate hardware to debug with. (eg. an external jtag device connected to your wavecom module)
to debug your code i would reccomend to use the TRACE and DUMP macro’s and use the traces view provided in the target management view


#5

kiranreddysingareddy,

In your project you must use the RTE configuration for Debug purposes. In Win32 when you run it, the ‘Remote Tasks Monitor’ application is launched, then clicking the ‘Start’ button starts your application for debugging.


#6

You can also debug in Target mode - using the Traces.


#7

ya i got it thank you for u r replies.
thank you…
kiran


#8

I have a related question!

I used DUMP to show short-sized buffers, like 100, 200 bytes, maximum 1024; but now I want to see the contents of PCMbuffer, in sample “PCM speak Play”

so its size is about 258000= 80,000, so the page refresh isn’t so fast to show it, just the same 1024bytes can be shown.

I also tried another way, I mean I divided the size into shorter packets and just use DUMP in IrqLowLevelInterrupt of PCM, i.e each 20msec it should show me 320bytes; but it doesn’t work :confused:

I don’t know what to do now, because I really need to check the received values, byte by byte, not by listening to them!!!

any idea?