Hi,
I'm trying to connect to the Metro M0 Express (ATSAMG18A) via SWD but I keep getting 'cannot get debug register'.
I am not a beginner and have used lots of other arm core processors. The Metro M0 Express boards were bought just to verify some of the peripherals before I finish the pcb design.
So is there anything in particular I need to know about the Metro M0 Express boards in order to use the SWD conector? Is there something disabling it or has a write/read/program protect fuse been set or what?
I need to know in order not to waste to much time fault checking on my side.
I'm using Crossstudio and a Crossconnect. I can use my Segger JLink if that would make a difference.
Best regards,
Anders
Metro M0 Express via SWD
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Metro M0 Express via SWD
Shouldn't be any different than connecting to any other board via SWD. The Metro M0 is a ATSAMD21G18 (fixed), so just need to make sure to select that. Maybe try JLink as another way to just test if you can make a basic connection.
- User_UMjT7KxnxP8YN8
- Posts: 323
- Joined: Tue Jul 17, 2018 1:28 pm
Re: Metro M0 Express via SWD
Perhaps something in my post on debugging the Metro M4 Express will contain something that will help you. viewtopic.php?f=63&t=140725&hilit=+debug
- Anders2
- Posts: 3
- Joined: Thu Sep 02, 2021 3:45 am
Re: Metro M0 Express via SWD
We both wrote ATSAMG18A, but it is ATSAMD21G18A, right?
(Checking just in case.)
(Checking just in case.)
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Metro M0 Express via SWD
Sorry. Fixed my post above. Correct - ATSAMD21G18
- Anders2
- Posts: 3
- Joined: Thu Sep 02, 2021 3:45 am
Re: Metro M0 Express via SWD
Another very annoying problem is that the downloadable pdf adafruit-metro-m0-express-designed-for-circuitpython.pdf is blank.
There is an index but the rest of the pdf is blank. Could you update this. Please. The downloaded pdf is attached in case there is a difference between your pdf and the uploaded one.
There is an index but the rest of the pdf is blank. Could you update this. Please. The downloaded pdf is attached in case there is a difference between your pdf and the uploaded one.
- Attachments
-
- adafruit-metro-m0-express-designed-for-circuitpython.pdf
- (616.73 KiB) Downloaded 6 times
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Metro M0 Express via SWD
I'm seeing same thing. Sorry about that. This has happened before. I'll pass this on to get it looked at.
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Metro M0 Express via SWD
The PDF should be fixed now.
Please be positive and constructive with your questions and comments.