I am currently working on a new board design with Atmel SAM S70 Cortex M7 and I am trying to figure out what is the best way to program and debug it.
The development kit with SAM V71 has EDBG chip based on Atmel UC3 MCU. It's convenient because it can be directly connected to USB. However, its connection looks rather complicated and honestly I don't understand what all the SPI and I2C connections are there for.
Also where could I get the EDBG chip programmed and functional? I haven't seen it on Atmel's website at all.
On the other hand, there is the Serial Wire Debug protocol supported by every ARM. If I understand it correctly, I can simply use a debugger such as Segger J-Link and via 20-pin connector connect it directly to SAM. This allows me to flash and also debug the the SAM. Would it also allow me to print message to a console over serial port like EDBG allows?
What are other and main differences between the two programming/debugging approaches?
Thanks.