I started to play with DesignStart FPGA and implemented example design to a Xilinx Arty board. I successfully imported BSP to Keil, did some changes there and generated a new bitstream. Now I would like to start debug session in Keil, but I don't have DAP Link board. So, I have several questions...
1. Is it possible to start debug session directly to Arty board with another debugger (e.g. ST-Link)?
2. Where can I find the required pins on Arty board for ST-Link debugger? (SWDIO, SWCLK)
3. Do I even need a DAPLink_to_Arty_shield IP in my design if I want to connect ST-Link debugger to the Cortex-M1 processor?
Thank you for your help!
This is mentioned in Chapter 4 of the user guide:
You can use the optional Arm V2C-DAPLink board with theseheaders to use Cortex‑M1 for easy debug and software development. If you do not use the V2CDAPLinkboard, you can still connect a Serial Wire Debug (SWD) probe (Arm Keil® ULINK orsimilar) to J4 (nSRST on I/O, SWDIO on I/O, and SWCLK on I/O).
Yes, ST-Link can be connected directly to the debug pins with no adaptor board. We only tested with ULINK however.
Thank you Sean for reply.
I already managed to debug my design. I didn't use Keil uVision and ST-Link for debugging, but I connected a debug probe from iSystem and have used their IDE (WinIdea). It works too.