Hi ,
I want to debug my code onto the board. What all things are required to debug? How shall I place gdb and where shall we put our codebase?
Regards,
Vineet
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,
I want to debug my code onto the board. What all things are required to debug? How shall I place gdb and where shall we put our codebase?
Regards,
Vineet
Vineet said:What all things are required to debug?
From a hardware perspective all you need to do basic debug is a Linux host PC, that has a network and UART connection to the target board. From a software perspective you can use a GUI like DDD to do the actual debugging, there is an application note written here that was done for Davinci but much still applies the same to the OMAP debugging. The actual gdbserver executable can be found within your Code Sourcery tools install, somewhere like opt\omap3evm\toolchain\arm-2007q3\arm-none-linux-gnueabi\libc\usr\bin.
Vineet said:How shall I place gdb and where shall we put our codebase?
Typically your code is stored on the host pc, and you simply mount a shared NFS directory with the target board on the host pc to get the files across. The document mentioned above discusses how to run the gdbserver.