Custom SAMD51 board

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
afox
 
Posts: 13
Joined: Sat Aug 30, 2014 5:31 am

Custom SAMD51 board

Post by afox »

Hi!

I prototype a lot with Metro M4 and Grand Central boards and now I designed my own board based on the PyPortal (but only with an ATSAMD51J20 no ESP32).
My only difference is, that i use a crystal at PA00 / PA01.
VSW i left floating.
I wanted to use the same bootloader used for the PyPortal board, the MetroM4 bootloader.
In the build.extra_flags i removed -DCRYSTALLESS.
So i am using Atmel Studio and JLink to program it like the following:
- unset boot lock
- flashing the MetroM4 bootloader.bin
- locking 16kb
- flashing the Arduino program hex to the SAMD51
- ... it doesn't run the program. (it's just a simple pin on / off program)

I also got no errors from Atmel Studio...
At the PA00/PA01 pin i can see a clock on my scope.
What am i doing wrong?
Have i forgotten something or am i doing something which even just might not work?

It would be so great if someone could give me a hint.


Thanks in advance!
Kind regards,
Alex

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”