Search Results
Search results 1-3 of 3.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Thanks for the hint Alex! It was indeed necessary to reset the target before downloading. To do this, I had to: 1. allow local .gdbinit scripts in my project by adding a `.gdbinit` to my home directory with the following content: Source Code (2 lines) 2. add a hook to the local .gdbinit that resets the target when that hook is reached, by adding the following .gdbinit to the root of my project: Source Code (3 lines)
-
I've attached a zip with two files, one "gdb_log_good.txt" for when the flash succeeded and "gdb_log_bad.txt" for when the flash did not succeed. I've also tried running JLinkGDBServerCL with the -singlerun flag but that didn't help unfortunately.
-
Hi, I'm trying to use JLink debugging with CLion, so far so good. I managed to connect the GDB Server, flash the device, debug, read registers etc.. wonderfully. However, when I make a change and want to start debugging again, the JLink flash download erases the flash, but doesn't seem to program the device. When the flash&erase fails:(Hidden Content) GDB ends with the following output: Source Code (5 lines) For reference, the diff between a success and a failure log is the following: (Hidden Co…