Skip to content

Question About Debugging A Direct Boot Application over JTAG #481

Answered by stnolting
mericozturk asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @mericozturk!

Does this mean that I can't debug applications over JTAG if I'm using Direct Boot? Or is it only speaking to the ability to upload code through gdb, and breakpoint debugging is still supported in Direct Boot mode? Are there any caveats besides code upload when JTAG debugging in Direct Boot mode?

You can also debug applications when using the direct boot setup. The problem here is that the debugger cannot insert arbitrary breakpoints. When using a RAM-based setup, the debugger temporarily (and transparently for the user) replaces instructions by "break" instructions for triggering the actual breakpoints. Obviously, this is not possible when running code from ROM.

Howeve…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@mericozturk
Comment options

@stnolting
Comment options

Comment options

You must be logged in to vote
6 replies
@stnolting
Comment options

@mericozturk
Comment options

@stnolting
Comment options

@mericozturk
Comment options

@stnolting
Comment options

Answer selected by mericozturk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants