Liste des Groupes | Revenir à ca embedded |
pozz <pozzugno@gmail.com> wrote:I always used visual debuggers. I know they generally uses gdb internally, but I don't know how.>With STM devices I use Linux 'stlink' program and gdb. That is
How do you debug your projects without a full-features and ready-to-use
IDE from the silicon vendor?
command line debugging. I can set breakpoints, single step,
view and and modify device registers, those are main things
that I need. I also use debugging UART. For debugging I
normally load code into RAM which means that I can have
unlimited number of breakpoints without writning to flash
(I am not sure if that is really important, but at least
makes me feel better).
I have also used stlink with some non-STM devices (IIRC LPC),
but that required modification to 'stlink' code and IIUC
use of of non-STM devices is blocked in new firmware for
the debugging dongle.
'gdb' can be used with many other debugging dongles.
Visual tools may be nicer and automatically do some extra
things. But I got used to gdb.
Les messages affichés proviennent d'usenet.