Sparkfun Redboard Artemis: SWD port for J-link?

Hey,

what is the orientation of the SWD J-link ports?

Pin 1 has the little white line next to it.

Thanks.

No problem! :slight_smile:

Does anyone have a working setup / configuration for connecting over JTAG / SWD? Tried JLinkExe, but none of the AmbiqMicro devices work.

Hi @gauteh,

I have had Segger Ozone working with the Artemis - I was using it to investigate some strange behavior on OpenLog Artemis with v2 of Apollo3. Please see this link - the screenshots come from Ozone: https://github.com/sparkfun/Arduino_Apo … -860016907

I was using a J-Link with Segger’s 50-Mil 10-Pin Patch Adapter. I soldered a 2x5 0.05" header onto the OpenLog Artemis SWD port to make it easy to connect the ribbon cable. I’ve attached a photo of the jumper configuration.

The Processor was set to: AMA3B1KK-KBR

I hope this helps!

Best wishes,

Paul

Ozone.JPG

Header.png

Adapter.JPG

Just for reference, here are the connections from the 20-way J-Link pins to the 10-way SWD pins:

J-Link - SWD

1 - 1 VTREF (3.3V)

7 - 2 SWDIO

9 - 4 SWCLK

13 - 6 SWO

15 - 10 RESET

4/6/8/10/12/14/16/18/20 - 9 GND

SWD pins 3 and 5 are also GND

Thanks a lot! I managed to start a debugger using JLinkGdbServerEXE and gdb-multiarch, so things are working. I haven’t managed to use pyocd, seems like there might not be support in openocd for the ambig apollo’s.