Open Oozlum opened 1 year ago
Ok, I manually hacked the files to remove the Keil PDSC from the list, pyOCD found and installed the Microchip PDSC and everything works now.
There seems to be two related issues:
I'm going to raise this with cmsis-pack-manager, but if it is fixed there then presumably a change will be needed to support it here also.
Any update on this.? I'm trying to use ATSAMV71Q21 board, when I give the command pyocd list, I see that target is n/a, even after installing the pack, I tried installing both Microchip specific pack and also Keil.SAM-V_DFP, but doesn't help. Probe/Board Unique ID Target 0 Atmel Corp. EDBG CMSIS-DAP ATMLxxxxxxxxxxxxxxxx n/a
Is this EDBG supported by pyocd, or do I need to convert it to st-link.? PS, I also tried by setting the option 'cmsis_dap.prefer_v1' to True
Problem I'm trying to use pyOCD with an ATSAMD21G18A connected to an nEDBG CMSIS-DAP, but any command I try results in the following error:
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received
Possibly useful info
Connected to ATSAMD21G18A [Lockup]: MCHP3313031800000599
. I'm not sure what [Lockup] means in this context.Background The Curiosity Nano board has a built-in nEDBG adaptor and an ATSAMD21G17D target MCU on-board. I was able to connect to this chip fine using pyOCD, however I now want to use the nEDBG adaptor to program an ATSAMD21G18A chip on a different board. I cut the SWD traces on the development board, as described in the user guide, and connected it to my target processor, but pyOCD refuses to play.
Atmel (Microchip) Studio running on the same machine with no change to the hardware setup works perfectly, so I'm confident it isn't a hardware issue.
I'm using a MacBook Pro (Ventura), running pyOCD natively. I run Atmel Studio using Parallels.