Hi,
I'm running a bootloader in a debug session and jumping to an application. I'd like to load symbols for the application so that I can step through the application's code. Is there a way that I can do this?
The application and the bootloader are two separate projects.
I'm using the LinkServer debugger
Thanks
解決済! 解決策の投稿を見る。
See an article I wrote here: https://mcuoneclipse.com/2020/11/03/debugging-bootloader-and-application-with-one-debug-session/
Same principle works with LinkServer connection.
I hope this helps,
Erich
See an article I wrote here: https://mcuoneclipse.com/2020/11/03/debugging-bootloader-and-application-with-one-debug-session/
Same principle works with LinkServer connection.
I hope this helps,
Erich
Hi Erich,
Thank you for the article, it was helpful. I have the bootloader running on the target and was able to connect with the application's debug configuration and see the bootloader code. It worked well a couple of times but now I'm consistently getting the attached error. Is this something you've experienced before?
Yes, I have seen these in other contexts. To my understanding, it indicates a problem between the debug probe and the target. It could be the cable or some noise on the connection line.
What helped on my case was using a different debug probe, e.g. J-Link or P&E.
Great, thank you for the help. I'll see if switching up the debug probe helps with the issue.