-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't reset using reset button, and communicate via JTAG after flashing hello-world example #18750
Comments
Hi, |
I'm using gdb I'm using same gdb script for both:
And command lines:
then:
or
|
It looks like running I tried to flash now using telnet connection with openocd, which seems more low-level. I can flash
But after I run the binary with
I can flash multiple times running it in between using both telnet and gdb with |
With #19050 it should already be possible to flash again with OpenOCD (when using the release candidate or a recent build from OpenOCD's Regarding the issue with the reset button on the nRF5x: Try flashing the app in It may be that the CC13xx / CC26xx also have the reset pin configurable similar to the nRF5x. If so, it would be quite feasible to provide a similar tool to restore the reset config - or maybe even just an OpenOCD script. |
19167: boards/common/cc26xx cc13xx: clean up and fix flash configs [backport 2023.01] r=kaspar030 a=maribu # Backport of #19050 ### Contribution description - Add support for XDS110 debugger via `OPENOCD_DEBUG_ADAPTER=xds110` - Clean up OpenOCD configs in `boards/common/cc26xx_cc13xx` - No longer hardcode the debugger to xds110, but use `OPENOCD_DEBUG_ADATER ?= xds110` - Add support for cc13x0, cc13x2, cc26x0 - `boards/cc2650*`: drop custom OpenOCD config in favor of shared one - add variables needed to support flashing with `PROGRAMMER=jlink` - allow specifying a custom OpenOCD command to bring the device to a halt state, as the default `reset halt` (which causes a second reset) is causing issues with the ICEPick JTAG routers in the CC26xx - CC13xx devices - Use `halt` instead of `reset halt` for CC26xx / CC13xx boards in OpenOCD to avoid issues in flashing ### Testing procedure ``` make BOARD=cc2650-launchpad -C examples/default flash ``` Should now work. The same should still work for other cc26xx cc13xx boards. ### Issues/PRs references Partially fixes: #18750 Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Hi,
I'm playing with RIOT, and I'm experiencing strange behavior after flashing RIOT binary onto LAUNCHXL-CC1352R1.
After flashing hello-world example I can't connect via openocd (JTAG) with the board anymore. I can recover using uniflash tool from TI to erase the flash. Also physical reset button present on the board stops working - board continues to run despite button being pressed.
Is this expected behavior? Does RIOT-OS reconfigure JTAG and reset button in runtime so it is no longer operational?
Reset button behavior is also present for the nRF52840-DK development board.
Flashing the board for the first time:
After first flash:
The text was updated successfully, but these errors were encountered: