Skip to content
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

stlink_usb Assertion `handle != NULL' failed #3

Closed
AlefeFelipe opened this issue Jul 20, 2020 · 1 comment
Closed

stlink_usb Assertion `handle != NULL' failed #3

AlefeFelipe opened this issue Jul 20, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AlefeFelipe
Copy link

In src/jtag/drivers/stlink_usb.c:1169 - stlink_usb_mode_leave: Assertion `handle != NULL' failed.

This happen when I try execute a mass erase command using flash erase_sector or stm32l4x mass_erase.

The null pointer is passed hardcode to the stlink_dap_arp_init function when there's a STLINK_SWD_AP_STICKY_ERROR

Target: stm32wbx
Interface: stlink

@tarek-bochkati
Copy link
Contributor

Thanks for reporting this behavior
This answer might be late, the issue was fixed in this branch:
https://github.com/STMicroelectronics/OpenOCD/tree/openocd-cubeide-r2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants