-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
cc26x2r1_launchxl build passed, but can't flash #21372
Comments
@happymili Could you double-check you have jumpers on TDO and TDI on the board, which are necessary for JTAG connections? |
@vanti I can use TI UniFlash to download hex file, and I can also use IAR & CCS to debug the development board. So, I think the hardware connection is OK. |
@happymili Sorry for the delay, just got back from vacation. Which version of OpenOCD are you using? Are you using the one from Zephyr SDK 0.10.3 (Refer to https://docs.zephyrproject.org/latest/getting_started/installation_linux.html for installation instructions)? I tried to reproduce your issue using this setup:
Using the command you used to build, I was successful in loading to my cc2652R1 board with "west flash" (the error messages are a known issue - the code runs fine afterwards):
|
@happymili , I am seeing the same issue as you. On zephyr revision We have very similar versions of the Emulator pack firmware on the XDS110.
|
This post seems to confirm the suspicion that it is related to the emupack f/w differences from TI. Until openocd is updated to support this new f/w, is there a way to modify the CLI args that west uses when invoking openocd? |
@seanmlyons22 I think the post you are referring to is on the right track. @happymili, as a workaround, could you try to add the following line at the bottom of boards/arm/cc26x2r1_launchxl/support/openocd.cfg:
I upgraded to firmware 3.0.0.5 and the above allows me to flash successfully with 'west flash'. |
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes zephyrproject-rtos#21372 Signed-off-by: Vincent Wan <[email protected]>
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes zephyrproject-rtos#21372 Signed-off-by: Vincent Wan <[email protected]>
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes #21372 Signed-off-by: Vincent Wan <[email protected]>
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes #21372 Signed-off-by: Vincent Wan <[email protected]>
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes zephyrproject-rtos#21372 Signed-off-by: Vincent Wan <[email protected]>
Newer XDS firmware fails to flash correctly with higher adapter clock speed. Using a slower speed for now to prevent errors. Fixes zephyrproject-rtos#21372 Signed-off-by: Vincent Wan <[email protected]>
build
output
flash
output
The text was updated successfully, but these errors were encountered: