You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 - stlink-org/stlink#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).
The text was updated successfully, but these errors were encountered:
HrMitrev
changed the title
Could you include stlink-org / stlink project as submodule?
Could you include stlink-org / stlink project as a submodule?
May 28, 2020
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 - stlink-org/stlink#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
[!] send_recv 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).
The text was updated successfully, but these errors were encountered: