I can't debug Arduino Zero compatible board , help me

i bought this arduino zero compatible board

https://www.aliexpress.com/item/1005001374721253.html?spm=a2g0o.order_list.0.0.4b68140fRZJev3&gatewayAdapt=glo2kor

when i press start debug button,
error happens.
like this

error : unable to find CMSIS-DAP device

notifications says failed to launch
OpenOCD GDB server: Timeout

when i try to upload sketch, then

uploading fails.

i don't set any breakpoint.
because somebody says it is the reason of this happenings.

i try to change board setting.
like this

i change arduino zero (native USB port) to arduino zero(programming port)

then ,
it says no valid jtag interface configured...

and now do i need jtag interface?

board i bought have SWD(EDBG) 10 pins..

i think , maybe,
if i buy debug tools(usb to serial) and then
i connect PC USB1 to my zero's micro USB,
and another PC USB2 to debug tools(usb to serial)
and connect debug tools(usb to serial) to SWD(DEBUG) of arduino zero compatible board i bought

can i debugging this board with arduino ide 2.0.1 ?

uploading is only possible at arduino zero (native USB PORT )
but i can't see any thing in serial monitor.
???

i find the CN2 is connected to
ARM® Cortex®-M0+ SAM D21G Microcontroller

what is purpose of Using CN2 ?
is CN2 for debugging ?

please help me

that board doesn't have the debugger chip.

original Zero:
do you see the second USB connector for the EDBG chip?

I visited arduino zero site of arduino.cc,
i understand what you said to me,

as what you said, my board doesn't have 2 USB port (native , programming),,,,
i didn't know about this fact that zero board has t=2 USB port.
but , my board has swd(edbg) pins.
is this solution to debugging issue ?

For SWD debug you will need the swd adapter, for example ST-LINK and debugger, compatible with the adapter

is there 2 debugging solution ?
one is using programming port and EDBG chip on Arduino Zero
the other is using SWD connector that is connected to SWD Adapter,
in other words, using D21G18
ARM® Cortex®-M0+ SAM D21G Microcontroller's EDBG.

which chip has EDBG ?
SAMD21G ? or 1791_AT32UC3A4256HHB-C1UR
ATMEL 32-bit AVR Microcontroller - VFBGA100 ?

is EDBG on SAMD21G ?
or is EDBG on 1791 ATMEL 32 AVR ?

WHAT Is the purpose of 1791 ATMEL 32AVR ?

I think the purpose of ATMEL 32AVR is USB TO Serial converting .

We worked very hard to explain it to you before you bought the board:

Yes.

It is the 1791_AT32UC3A4256HHB-C1UR

It does both:

https://onlinedocs.microchip.com/pr/GUID-43D69EB5-28C5-4F23-97B7-43CD3961DC33-en-US-3/index.html?GUID-FF1CD485-20CC-40A7-829E-91622F9A47F1

  • On-board programming and debugging through SWD, JTAG, and PDI
  • Virtual COM Port interface to target via UART

EDBG is the name of the Atmel debugger, but you can use other SWD debuggers/programmers for ARM MCU. most of them have the SWD connector cable.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.