2126 views|2 replies

20

Posts

0

Resources
The OP
 

GDB debugging and DSP [Copy link]

I would like to ask if anyone has used GDB to debug DSP bare-metal programs. I am not referring to the traditional Debug function provided on CCS, but running the GDB program on the PC and debugging the program on the DSP through a JTAG emulator with an Internet port, such as reading and writing registers, memory, setting breakpoints, single-stepping, etc.

Because I think this is not feasible. If anyone is familiar with the principles of GDB, they know that this is a program developed based on Unix and can be used to debug arm, because arm can run the Linux operating system, thereby running the corresponding gdbserver program, and then debugging the arm program through system calls.

However, since I don't know much about DSP and have little contact with it, I think that if it is a separate DSP architecture, the operating system should not be able to run on it, so gdbserver will not be able to debug the program through system calls.

But I have another idea, which is to have an arm-controlled network port emulator with a JTAG interface in front of the DSP. I run gdbserver on this emulator, complete the command conversion, and then pass it to the DSP through the JTAG interface to realize DSP debugging. I just don't know if this idea is feasible.

Because I don't know much about the DSP architecture, nor do I know how to debug DSP, so I would like to ask in the forum if there is anyone familiar with DSP who can answer my questions!

Thank you very much!

This post is from DSP and ARM Processors

Latest reply

I am not familiar with this area. o(︶︿︶)o Alas, I have thrown all the useless things I learned to the teacher. I learned DSP when I was in school, but now it seems that he doesn't know me and I don't know him.   Details Published on 2020-6-26 07:15
 

1w

Posts

204

Resources
2
 

I am not familiar with this area. o(︶︿︶)o Alas, I have thrown all the useless things I learned to the teacher. I learned DSP when I was in school, but now it seems that he doesn't know me and I don't know him.

This post is from DSP and ARM Processors
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 

20

Posts

0

Resources
3
 

He may still know you, but you may not know him.

This post is from DSP and ARM Processors
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list