Hi!
I'm using your project with nrf52840 + stlink + openocd as debugger. If I adjust manually the SRAM size it kind of works but it is unstable and crashes.
One of the problems is related to this one I think - https://github.com/stlink-org/stlink/issues/780
the debug log from stlink when it crashes is:
and the program is terminated even before the whole log is printed.
I tried to replace the libstlink.a with the latest release but it seems that it is not compiled for the correct toolchain and I'm not sure how to recompile it. Since you have compiled it successfully once could you add the whole souce as git submodule and readjust the makefile to compile it accordingly?
PS I'm quite interested in this project and would like to contribute if I can(obviously I'm a newbie). I'm thinking of adding dialog box to ask for SRAM size(and possibly the address) if the target ID is not recognized by the stlink driver. Also I'm trying to setup the project in Eclipse CDT so I can debug it properly(to the best of my abilities).
Hi! I'm using your project with nrf52840 + stlink + openocd as debugger. If I adjust manually the SRAM size it kind of works but it is unstable and crashes. One of the problems is related to this one I think - https://github.com/stlink-org/stlink/issues/780 the debug log from stlink when it crashes is:
[!] send_recv send request failed: LIBUSB_ERROR_TIMEOUT [!] send_recv send request failed: LIBUSB_ERROR_TIMEOUT [!] send_recv STLINK_DEBUG_READMEM_32BIT [!] sendrecv send request failed: LIBUSB
and the program is terminated even before the whole log is printed.
I tried to replace the libstlink.a with the latest release but it seems that it is not compiled for the correct toolchain and I'm not sure how to recompile it. Since you have compiled it successfully once could you add the whole souce as git submodule and readjust the makefile to compile it accordingly?
PS I'm quite interested in this project and would like to contribute if I can(obviously I'm a newbie). I'm thinking of adding dialog box to ask for SRAM size(and possibly the address) if the target ID is not recognized by the stlink driver. Also I'm trying to setup the project in Eclipse CDT so I can debug it properly(to the best of my abilities).