Skip to content

reset through SWD interface #4

Answered by rhulme
erikjonkers asked this question in Q&A
Discussion options

You must be logged in to vote

OK. I managed to find replacements for the submodules and have re-built OpenOCD.

I see the same as you. If I comment out the call to initClock() in main(), it seems to work. I'm not entirely sure why yet but the clock initialisation is a cut-down version of the SDK code. The intention was to get the CPU running at full speed to minimise the time it takes to flash any new application but without fiddling with any other clocks that was then pulling in the floating-point library.

The full initialisation is done in the application. Maybe when the processor is reset via gdb, it's not resetting all of the various clocks and because the cut-down code is also not re-initialising everything, we en…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rhulme
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by erikjonkers
Comment options

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

@rhulme
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants