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

Instable DAPLink on ESP32-S2 evalboard? #41

Open
rena2019 opened this issue Jun 2, 2023 · 2 comments
Open

Instable DAPLink on ESP32-S2 evalboard? #41

rena2019 opened this issue Jun 2, 2023 · 2 comments

Comments

@rena2019
Copy link

rena2019 commented Jun 2, 2023

Seems that the DAPLink interface is not stable on my Muselab  NanoESP32 S2 evalboard even if I set the adapter speed down to 1kHz, openocd log:

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x303a:0x4002, serial=DAP_7CDFA105F2D6
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Serial# = 7CDFA105F2D6
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 1 kHz
Info : SWD DPIDR 0x2ba01477
Info : [STM32F401CEUx.cpu] Cortex-M4 r0p1 processor detected
Info : SWD DPIDR 0x2ba01477
Error: Failed to read memory at 0xe000ee00
Info : SWD DPIDR 0x2ba01477
Error: Failed to read memory and, additionally, failed to find out where
Info : [STM32F401CEUx.cpu] target has 0 breakpoints, 0 watchpoints
Info : SWD DPIDR 0x2ba01477
Info : SWD DPIDR 0x2ba01477
Error: Failed to read memory and, additionally, failed to find out where
Error: read_memory: read at 0xe0042004 with width=32 and count=1 failed
Error executing event examine-end on target STM32F401CEUx.cpu:
Info : starting gdb server for STM32F401CEUx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : SWD DPIDR 0x2ba01477
Polling target STM32F401CEUx.cpu failed, trying to reexamine
Info : SWD DPIDR 0x2ba01477
Info : [STM32F401CEUx.cpu] Cortex-M4 r0p1 processor detected
Info : SWD DPIDR 0x2ba01477
Error: Failed to read memory and, additionally, failed to find out where
Examination failed, GDB will be halted. Polling again in 100ms

Maybe an STM32-only issue because communication with RP2040 and nRF52 devices is working

@skotopes
Copy link
Member

Try to check cables first. If you have oscilloscope check data exchange.

@KondratokGK
Copy link

Same issue. It`s not working with stm32cubeide via wifi or usb. But Flipper Zero as Daplink working perfectly/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants